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:
@ -18,9 +18,8 @@
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefJSDialogHandlerCToCpp::OnJSDialog(CefRefPtr<CefBrowser> browser,
|
||||
const CefString& origin_url, const CefString& accept_lang,
|
||||
JSDialogType dialog_type, const CefString& message_text,
|
||||
const CefString& default_prompt_text,
|
||||
const CefString& origin_url, JSDialogType dialog_type,
|
||||
const CefString& message_text, const CefString& default_prompt_text,
|
||||
CefRefPtr<CefJSDialogCallback> callback, bool& suppress_message) {
|
||||
cef_jsdialog_handler_t* _struct = GetStruct();
|
||||
if (CEF_MEMBER_MISSING(_struct, on_jsdialog))
|
||||
@ -36,8 +35,7 @@ bool CefJSDialogHandlerCToCpp::OnJSDialog(CefRefPtr<CefBrowser> browser,
|
||||
DCHECK(callback.get());
|
||||
if (!callback.get())
|
||||
return false;
|
||||
// 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
|
||||
int suppress_messageInt = suppress_message;
|
||||
@ -46,7 +44,6 @@ bool CefJSDialogHandlerCToCpp::OnJSDialog(CefRefPtr<CefBrowser> browser,
|
||||
int _retval = _struct->on_jsdialog(_struct,
|
||||
CefBrowserCppToC::Wrap(browser),
|
||||
origin_url.GetStruct(),
|
||||
accept_lang.GetStruct(),
|
||||
dialog_type,
|
||||
message_text.GetStruct(),
|
||||
default_prompt_text.GetStruct(),
|
||||
|
Reference in New Issue
Block a user