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:
@@ -303,7 +303,6 @@ bool ClientDialogHandlerGtk::OnFileDialog(
|
||||
bool ClientDialogHandlerGtk::OnJSDialog(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
const CefString& origin_url,
|
||||
const CefString& accept_lang,
|
||||
JSDialogType dialog_type,
|
||||
const CefString& message_text,
|
||||
const CefString& default_prompt_text,
|
||||
@@ -339,7 +338,7 @@ bool ClientDialogHandlerGtk::OnJSDialog(
|
||||
|
||||
if (!origin_url.empty()) {
|
||||
title += " - ";
|
||||
title += CefFormatUrlForSecurityDisplay(origin_url, accept_lang).ToString();
|
||||
title += CefFormatUrlForSecurityDisplay(origin_url).ToString();
|
||||
}
|
||||
|
||||
GtkWindow* window = GetWindow(browser);
|
||||
@@ -395,7 +394,7 @@ bool ClientDialogHandlerGtk::OnBeforeUnloadDialog(
|
||||
message_text.ToString() + "\n\nIs it OK to leave/reload this page?";
|
||||
bool suppress_message = false;
|
||||
|
||||
return OnJSDialog(browser, CefString(), CefString(), JSDIALOGTYPE_CONFIRM,
|
||||
return OnJSDialog(browser, CefString(), JSDIALOGTYPE_CONFIRM,
|
||||
new_message_text, CefString(), callback, suppress_message);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user