mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 86.0.4240.0 (#800218)
- CefURLRequest::Create is no longer supported in the renderer process (see https://crbug.com/891872). Use CefFrame::CreateURLRequest instead. - Mac platform definitions have been changed from `MACOSX` to `MAC` (see https://crbug.com/1105907) and related CMake macro names have been updated. The old `OS_MACOSX` define is still set in code and CMake for backwards compatibility. - Linux ARM build is currently broken (see https://crbug.com/1123214).
This commit is contained in:
@ -58,15 +58,15 @@ void CefExtensionsClient::FilterHostPermissions(
|
||||
NOTIMPLEMENTED();
|
||||
}
|
||||
|
||||
void CefExtensionsClient::SetScriptingWhitelist(
|
||||
const ScriptingWhitelist& whitelist) {
|
||||
scripting_whitelist_ = whitelist;
|
||||
void CefExtensionsClient::SetScriptingAllowlist(
|
||||
const ScriptingAllowlist& allowlist) {
|
||||
scripting_allowlist_ = allowlist;
|
||||
}
|
||||
|
||||
const ExtensionsClient::ScriptingWhitelist&
|
||||
CefExtensionsClient::GetScriptingWhitelist() const {
|
||||
// TODO(jamescook): Real whitelist.
|
||||
return scripting_whitelist_;
|
||||
const ExtensionsClient::ScriptingAllowlist&
|
||||
CefExtensionsClient::GetScriptingAllowlist() const {
|
||||
// TODO(jamescook): Real allowlist.
|
||||
return scripting_allowlist_;
|
||||
}
|
||||
|
||||
URLPatternSet CefExtensionsClient::GetPermittedChromeSchemeHosts(
|
||||
|
@ -29,8 +29,8 @@ class CefExtensionsClient : public ExtensionsClient {
|
||||
void FilterHostPermissions(const URLPatternSet& hosts,
|
||||
URLPatternSet* new_hosts,
|
||||
PermissionIDSet* permissions) const override;
|
||||
void SetScriptingWhitelist(const ScriptingWhitelist& whitelist) override;
|
||||
const ScriptingWhitelist& GetScriptingWhitelist() const override;
|
||||
void SetScriptingAllowlist(const ScriptingAllowlist& allowlist) override;
|
||||
const ScriptingAllowlist& GetScriptingAllowlist() const override;
|
||||
URLPatternSet GetPermittedChromeSchemeHosts(
|
||||
const Extension* extension,
|
||||
const APIPermissionSet& api_permissions) const override;
|
||||
@ -42,7 +42,7 @@ class CefExtensionsClient : public ExtensionsClient {
|
||||
private:
|
||||
const ChromePermissionMessageProvider permission_message_provider_;
|
||||
|
||||
ScriptingWhitelist scripting_whitelist_;
|
||||
ScriptingAllowlist scripting_allowlist_;
|
||||
|
||||
// Mutable to allow caching in a const method.
|
||||
const GURL webstore_base_url_;
|
||||
|
@ -25,7 +25,7 @@ bool PdfExtensionEnabled() {
|
||||
}
|
||||
|
||||
bool PrintPreviewEnabled() {
|
||||
#if defined(OS_MACOSX)
|
||||
#if defined(OS_MAC)
|
||||
// Not currently supported on macOS.
|
||||
return false;
|
||||
#else
|
||||
|
Reference in New Issue
Block a user