mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 9cedf753 (#418732)
- Simplify usage of OnBeforePluginLoad (issue #2015) - Switch crash reporting from crashpad to breakpad on Windows and OS X. Adds a new chrome_elf.dll dependency on Windows (issue #1995) - Remove CefTextfield::GetPlaceholderTextColor() method which is no longer supported by Chromium.
This commit is contained in:
@@ -120,15 +120,11 @@ void SetChromePrefs(CefBrowserContext* profile,
|
||||
if (prefs->GetBoolean(prefs::kDisable3DAPIs))
|
||||
web.experimental_webgl_enabled = false;
|
||||
|
||||
web.allow_displaying_insecure_content =
|
||||
prefs->GetBoolean(prefs::kWebKitAllowDisplayingInsecureContent);
|
||||
web.allow_running_insecure_content =
|
||||
prefs->GetBoolean(prefs::kWebKitAllowRunningInsecureContent);
|
||||
|
||||
web.password_echo_enabled = browser_defaults::kPasswordEchoEnabled;
|
||||
|
||||
web.uses_universal_detector =
|
||||
prefs->GetBoolean(prefs::kWebKitUsesUniversalDetector);
|
||||
web.text_areas_are_resizable =
|
||||
prefs->GetBoolean(prefs::kWebKitTextAreasAreResizable);
|
||||
web.hyperlink_auditing_enabled =
|
||||
@@ -147,9 +143,8 @@ void SetChromePrefs(CefBrowserContext* profile,
|
||||
}
|
||||
|
||||
// Make sure we will set the default_encoding with canonical encoding name.
|
||||
web.default_encoding =
|
||||
CharacterEncoding::GetCanonicalEncodingNameByAliasName(
|
||||
web.default_encoding);
|
||||
web.default_encoding = GetCanonicalEncodingNameByAliasName(
|
||||
web.default_encoding);
|
||||
if (web.default_encoding.empty()) {
|
||||
prefs->ClearPref(prefs::kDefaultCharset);
|
||||
web.default_encoding = prefs->GetString(prefs::kDefaultCharset);
|
||||
|
Reference in New Issue
Block a user