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:
Marshall Greenblatt
2016-04-27 16:38:52 -04:00
parent 3c957f9257
commit e7ddc933c9
215 changed files with 869 additions and 1537 deletions

View File

@@ -119,18 +119,6 @@ void CefBrowserHostCToCpp::SetFocus(bool focus) {
focus);
}
void CefBrowserHostCToCpp::SetWindowVisibility(bool visible) {
cef_browser_host_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, set_window_visibility))
return;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
_struct->set_window_visibility(_struct,
visible);
}
CefWindowHandle CefBrowserHostCToCpp::GetWindowHandle() {
cef_browser_host_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_window_handle))

View File

@@ -38,7 +38,6 @@ class CefBrowserHostCToCpp
void CloseBrowser(bool force_close) OVERRIDE;
bool TryCloseBrowser() OVERRIDE;
void SetFocus(bool focus) OVERRIDE;
void SetWindowVisibility(bool visible) OVERRIDE;
CefWindowHandle GetWindowHandle() OVERRIDE;
CefWindowHandle GetOpenerWindowHandle() OVERRIDE;
bool HasView() OVERRIDE;

View File

@@ -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(),

View File

@@ -32,8 +32,8 @@ class CefJSDialogHandlerCToCpp
// CefJSDialogHandler methods.
bool OnJSDialog(CefRefPtr<CefBrowser> browser, const CefString& origin_url,
const CefString& accept_lang, JSDialogType dialog_type,
const CefString& message_text, const CefString& default_prompt_text,
JSDialogType dialog_type, const CefString& message_text,
const CefString& default_prompt_text,
CefRefPtr<CefJSDialogCallback> callback,
bool& suppress_message) override;
bool OnBeforeUnloadDialog(CefRefPtr<CefBrowser> browser,