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

@ -89,57 +89,6 @@ void CefRefreshWebPlugins() {
content::PluginServiceImpl::GetInstance()->RefreshPlugins();
}
void CefAddWebPluginPath(const CefString& path) {
// Verify that the context is in a valid state.
if (!CONTEXT_STATE_VALID()) {
NOTREACHED() << "context not valid";
return;
}
if (path.empty()) {
NOTREACHED() << "invalid parameter";
return;
}
// No thread affinity.
content::PluginServiceImpl::GetInstance()->AddExtraPluginPath(
base::FilePath(path));
}
void CefAddWebPluginDirectory(const CefString& dir) {
// Verify that the context is in a valid state.
if (!CONTEXT_STATE_VALID()) {
NOTREACHED() << "context not valid";
return;
}
if (dir.empty()) {
NOTREACHED() << "invalid parameter";
return;
}
// No thread affinity.
content::PluginServiceImpl::GetInstance()->AddExtraPluginDir(
base::FilePath(dir));
}
void CefRemoveWebPluginPath(const CefString& path) {
// Verify that the context is in a valid state.
if (!CONTEXT_STATE_VALID()) {
NOTREACHED() << "context not valid";
return;
}
if (path.empty()) {
NOTREACHED() << "invalid parameter";
return;
}
// No thread affinity.
content::PluginServiceImpl::GetInstance()->RemoveExtraPluginPath(
base::FilePath(path));
}
void CefUnregisterInternalWebPlugin(const CefString& path) {
// Verify that the context is in a valid state.
if (!CONTEXT_STATE_VALID()) {
@ -157,27 +106,6 @@ void CefUnregisterInternalWebPlugin(const CefString& path) {
base::FilePath(path));
}
void CefForceWebPluginShutdown(const CefString& path) {
// Verify that the context is in a valid state.
if (!CONTEXT_STATE_VALID()) {
NOTREACHED() << "context not valid";
return;
}
if (path.empty()) {
NOTREACHED() << "invalid parameter";
return;
}
if (CEF_CURRENTLY_ON_IOT()) {
content::PluginServiceImpl::GetInstance()->ForcePluginShutdown(
base::FilePath(path));
} else {
// Execute on the IO thread.
CEF_POST_TASK(CEF_IOT, base::Bind(CefForceWebPluginShutdown, path));
}
}
void CefRegisterWebPluginCrash(const CefString& path) {
// Verify that the context is in a valid state.
if (!CONTEXT_STATE_VALID()) {