mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 6e53600d (#386251)
- Remove |accept_lang| parameter from CefJSDialogHandler::OnJSDialog and CefFormatUrlForSecurityDisplay (see https://crbug.com/336973#c36). - Remove remaining NPAPI-related code including functions from cef_web_plugin.h (see https://crbug.com/493212#c55). - Mac: 10.7+ deployment target is now required for client applications. - Mac: Remove CefBrowserHost::SetWindowVisibility (issue #1375). No replacement is required for windowed rendering. Use WasHidden for off-screen rendering. - Windows: Visual Studio 2015 Update 2 is now required when building CEF/Chromium.
This commit is contained in:
@ -21,10 +21,9 @@ namespace {
|
||||
|
||||
int CEF_CALLBACK jsdialog_handler_on_jsdialog(
|
||||
struct _cef_jsdialog_handler_t* self, cef_browser_t* browser,
|
||||
const cef_string_t* origin_url, const cef_string_t* accept_lang,
|
||||
cef_jsdialog_type_t dialog_type, const cef_string_t* message_text,
|
||||
const cef_string_t* default_prompt_text, cef_jsdialog_callback_t* callback,
|
||||
int* suppress_message) {
|
||||
const cef_string_t* origin_url, cef_jsdialog_type_t dialog_type,
|
||||
const cef_string_t* message_text, const cef_string_t* default_prompt_text,
|
||||
cef_jsdialog_callback_t* callback, int* suppress_message) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
@ -42,8 +41,7 @@ int CEF_CALLBACK jsdialog_handler_on_jsdialog(
|
||||
DCHECK(suppress_message);
|
||||
if (!suppress_message)
|
||||
return 0;
|
||||
// Unverified params: origin_url, accept_lang, message_text,
|
||||
// default_prompt_text
|
||||
// Unverified params: origin_url, message_text, default_prompt_text
|
||||
|
||||
// Translate param: suppress_message; type: bool_byref
|
||||
bool suppress_messageBool = (
|
||||
@ -53,7 +51,6 @@ int CEF_CALLBACK jsdialog_handler_on_jsdialog(
|
||||
bool _retval = CefJSDialogHandlerCppToC::Get(self)->OnJSDialog(
|
||||
CefBrowserCToCpp::Wrap(browser),
|
||||
CefString(origin_url),
|
||||
CefString(accept_lang),
|
||||
dialog_type,
|
||||
CefString(message_text),
|
||||
CefString(default_prompt_text),
|
||||
|
Reference in New Issue
Block a user