cef/patch/patches/prefs_webkit_1161.patch
Marshall Greenblatt 711cfe2ef6 Merge revision 1656 changes:
- Add CefBrowserSettings.background_color for custom background color assignment on a per-browser basis and fix assignment of the default value (issue #1161).

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1916@1657 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-04-15 19:07:45 +00:00

25 lines
1002 B
Diff

Index: common/webpreferences.cc
===================================================================
--- common/webpreferences.cc (revision 261035)
+++ common/webpreferences.cc (working copy)
@@ -121,6 +121,7 @@
use_solid_color_scrollbars(false),
compositor_touch_hit_testing(true),
navigate_on_drag_drop(true),
+ base_background_color(0xFFFFFFFF), // Color::white
cookie_enabled(true),
pepper_accelerated_video_decode_enabled(false)
#if defined(OS_ANDROID)
Index: common/webpreferences.h
===================================================================
--- common/webpreferences.h (revision 261035)
+++ common/webpreferences.h (working copy)
@@ -156,6 +156,7 @@
bool use_solid_color_scrollbars;
bool compositor_touch_hit_testing;
bool navigate_on_drag_drop;
+ uint32_t base_background_color;
// This flags corresponds to a Page's Settings' setCookieEnabled state. It
// only controls whether or not the "document.cookie" field is properly