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:
@@ -198,24 +198,24 @@ void CefFrameCToCpp::LoadString(const CefString& string_val,
|
||||
url.GetStruct());
|
||||
}
|
||||
|
||||
void CefFrameCToCpp::ExecuteJavaScript(const CefString& jsCode,
|
||||
const CefString& scriptUrl, int startLine) {
|
||||
void CefFrameCToCpp::ExecuteJavaScript(const CefString& code,
|
||||
const CefString& script_url, int start_line) {
|
||||
if (CEF_MEMBER_MISSING(struct_, execute_java_script))
|
||||
return;
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: jsCode; type: string_byref_const
|
||||
DCHECK(!jsCode.empty());
|
||||
if (jsCode.empty())
|
||||
// Verify param: code; type: string_byref_const
|
||||
DCHECK(!code.empty());
|
||||
if (code.empty())
|
||||
return;
|
||||
// Unverified params: scriptUrl
|
||||
// Unverified params: script_url
|
||||
|
||||
// Execute
|
||||
struct_->execute_java_script(struct_,
|
||||
jsCode.GetStruct(),
|
||||
scriptUrl.GetStruct(),
|
||||
startLine);
|
||||
code.GetStruct(),
|
||||
script_url.GetStruct(),
|
||||
start_line);
|
||||
}
|
||||
|
||||
bool CefFrameCToCpp::IsMain() {
|
||||
|
Reference in New Issue
Block a user