cef/patch/patches/prefs_content_1161.patch
Marshall Greenblatt bbcf1b53e6 Merge revision 1645 changes:
- Windows: Fix white flashes during browser initialization (issue #1161).

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1750@1646 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-04-08 19:34:42 +00:00

26 lines
1.2 KiB
Diff

Index: public/common/common_param_traits_macros.h
===================================================================
--- public/common/common_param_traits_macros.h (revision 258314)
+++ public/common/common_param_traits_macros.h (working copy)
@@ -173,6 +173,7 @@
IPC_STRUCT_TRAITS_MEMBER(initialize_at_minimum_page_scale)
IPC_STRUCT_TRAITS_MEMBER(smart_insert_delete_enabled)
IPC_STRUCT_TRAITS_MEMBER(compositor_touch_hit_testing)
+ IPC_STRUCT_TRAITS_MEMBER(base_background_color)
IPC_STRUCT_TRAITS_MEMBER(cookie_enabled)
IPC_STRUCT_TRAITS_MEMBER(spatial_navigation_enabled)
#if defined(OS_ANDROID)
Index: renderer/web_preferences.cc
===================================================================
--- renderer/web_preferences.cc (revision 258314)
+++ renderer/web_preferences.cc (working copy)
@@ -161,6 +161,8 @@
settings->setHyperlinkAuditingEnabled(prefs.hyperlink_auditing_enabled);
settings->setCookieEnabled(prefs.cookie_enabled);
+ web_view->setBaseBackgroundColor(prefs.base_background_color);
+
// This setting affects the behavior of links in an editable region:
// clicking the link should select it rather than navigate to it.
// Safari uses the same default. It is unlikley an embedder would want to