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:
@ -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()) {
|
||||
|
Reference in New Issue
Block a user