mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Update to Chromium revision 133430.
- Move custom scheme registration to CefApp::OnRegisterCustomSchemes(). This is required by the introduction of ContentClient::AddAdditionalSchemes() and fixes a race condition when registering standard schemes in different processes. - Execute V8 functions using V8Proxy. This is required for inspector instrumentation to work correctly and fixes an assertion in WebCore related to V8RecursionScope. - Enable verbose V8 TryCatch logging. - Mac: Expose UnderlayOpenGLHostingWindow interface that should be used for all CEF windows. - Add CefSettings.remote_debugging_port option. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@602 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -212,24 +212,24 @@ void CEF_CALLBACK frame_load_string(struct _cef_frame_t* self,
|
||||
}
|
||||
|
||||
void CEF_CALLBACK frame_execute_java_script(struct _cef_frame_t* self,
|
||||
const cef_string_t* jsCode, const cef_string_t* scriptUrl,
|
||||
int startLine) {
|
||||
const cef_string_t* code, const cef_string_t* script_url,
|
||||
int start_line) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self)
|
||||
return;
|
||||
// Verify param: jsCode; type: string_byref_const
|
||||
DCHECK(jsCode);
|
||||
if (!jsCode)
|
||||
// Verify param: code; type: string_byref_const
|
||||
DCHECK(code);
|
||||
if (!code)
|
||||
return;
|
||||
// Unverified params: scriptUrl
|
||||
// Unverified params: script_url
|
||||
|
||||
// Execute
|
||||
CefFrameCppToC::Get(self)->ExecuteJavaScript(
|
||||
CefString(jsCode),
|
||||
CefString(scriptUrl),
|
||||
startLine);
|
||||
CefString(code),
|
||||
CefString(script_url),
|
||||
start_line);
|
||||
}
|
||||
|
||||
int CEF_CALLBACK frame_is_main(struct _cef_frame_t* self) {
|
||||
|
Reference in New Issue
Block a user