2014-04-08 21:33:48 +02:00
|
|
|
Index: public/common/common_param_traits_macros.h
|
|
|
|
===================================================================
|
2014-07-02 20:25:22 +02:00
|
|
|
--- public/common/common_param_traits_macros.h (revision 280796)
|
2014-04-08 21:33:48 +02:00
|
|
|
+++ public/common/common_param_traits_macros.h (working copy)
|
2014-07-02 20:25:22 +02:00
|
|
|
@@ -175,6 +175,7 @@
|
2014-04-08 21:33:48 +02:00
|
|
|
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(navigate_on_drag_drop)
|
|
|
|
IPC_STRUCT_TRAITS_MEMBER(spatial_navigation_enabled)
|
|
|
|
Index: renderer/web_preferences.cc
|
|
|
|
===================================================================
|
2014-07-02 20:25:22 +02:00
|
|
|
--- renderer/web_preferences.cc (revision 280796)
|
2014-04-08 21:33:48 +02:00
|
|
|
+++ renderer/web_preferences.cc (working copy)
|
2014-06-12 22:28:58 +02:00
|
|
|
@@ -167,6 +167,8 @@
|
2014-04-30 19:14:40 +02:00
|
|
|
|
|
|
|
settings->setJavaEnabled(prefs.java_enabled);
|
2014-04-08 21:33:48 +02:00
|
|
|
|
|
|
|
+ web_view->setBaseBackgroundColor(prefs.base_background_color);
|
|
|
|
+
|
2014-04-30 19:14:40 +02:00
|
|
|
// By default, allow_universal_access_from_file_urls is set to false and thus
|
|
|
|
// we mitigate attacks from local HTML files by not granting file:// URLs
|
|
|
|
// universal access. Only test shell will enable this.
|