mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision d483fb77 (#474934)
- CefLifeSpanHandler::OnBeforePopup is now called on the UI thread. - Remove CefBrowserSettings.javascript_open_windows which is no longer supported.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=62ad3894d1548a39b032798d25a7a9b157f8a7bc$
|
||||
// $hash=da690070ed610a81d9f5dcab623ca7822dbd0ac1$
|
||||
//
|
||||
|
||||
#include "include/capi/cef_app_capi.h"
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "include/capi/cef_trace_capi.h"
|
||||
#include "include/capi/cef_v8_capi.h"
|
||||
#include "include/capi/cef_web_plugin_capi.h"
|
||||
#include "include/capi/test/cef_test_helpers_capi.h"
|
||||
#include "include/cef_app.h"
|
||||
#include "include/cef_crash_util.h"
|
||||
#include "include/cef_file_util.h"
|
||||
@@ -41,6 +42,7 @@
|
||||
#include "include/cef_v8.h"
|
||||
#include "include/cef_version.h"
|
||||
#include "include/cef_web_plugin.h"
|
||||
#include "include/test/cef_test_helpers.h"
|
||||
#include "libcef_dll/cpptoc/accessibility_handler_cpptoc.h"
|
||||
#include "libcef_dll/cpptoc/app_cpptoc.h"
|
||||
#include "libcef_dll/cpptoc/browser_process_handler_cpptoc.h"
|
||||
@@ -1102,3 +1104,19 @@ CEF_GLOBAL void CefRegisterWidevineCdm(
|
||||
cef_register_widevine_cdm(path.GetStruct(),
|
||||
CefRegisterCdmCallbackCppToC::Wrap(callback));
|
||||
}
|
||||
|
||||
CEF_GLOBAL void CefExecuteJavaScriptWithUserGestureForTests(
|
||||
CefRefPtr<CefFrame> frame,
|
||||
const CefString& javascript) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: frame; type: refptr_same
|
||||
DCHECK(frame.get());
|
||||
if (!frame.get())
|
||||
return;
|
||||
// Unverified params: javascript
|
||||
|
||||
// Execute
|
||||
cef_execute_java_script_with_user_gesture_for_tests(
|
||||
CefFrameCToCpp::Unwrap(frame), javascript.GetStruct());
|
||||
}
|
||||
|
Reference in New Issue
Block a user