OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // A struct for managing webkit's settings. | 5 // A struct for managing webkit's settings. |
6 // | 6 // |
7 // Adding new values to this class probably involves updating | 7 // Adding new values to this class probably involves updating |
8 // blink::WebSettings, content/common/view_messages.h, browser/tab_contents/ | 8 // blink::WebSettings, content/common/view_messages.h, browser/tab_contents/ |
9 // render_view_host_delegate_helper.cc, and browser/profiles/profile.cc. | 9 // render_view_host_delegate_helper.cc, and browser/profiles/profile.cc. |
10 | 10 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 int accelerated_2d_canvas_msaa_sample_count; | 122 int accelerated_2d_canvas_msaa_sample_count; |
123 bool accelerated_filters_enabled; | 123 bool accelerated_filters_enabled; |
124 bool gesture_tap_highlight_enabled; | 124 bool gesture_tap_highlight_enabled; |
125 bool accelerated_compositing_for_plugins_enabled; | 125 bool accelerated_compositing_for_plugins_enabled; |
126 bool memory_info_enabled; | 126 bool memory_info_enabled; |
127 bool fullscreen_enabled; | 127 bool fullscreen_enabled; |
128 bool allow_displaying_insecure_content; | 128 bool allow_displaying_insecure_content; |
129 bool allow_running_insecure_content; | 129 bool allow_running_insecure_content; |
130 bool password_echo_enabled; | 130 bool password_echo_enabled; |
131 bool should_print_backgrounds; | 131 bool should_print_backgrounds; |
| 132 bool should_clear_document_background; |
132 bool enable_scroll_animator; | 133 bool enable_scroll_animator; |
133 bool visual_word_movement_enabled; | 134 bool visual_word_movement_enabled; |
134 bool css_variables_enabled; | 135 bool css_variables_enabled; |
135 bool lazy_layout_enabled; | 136 bool lazy_layout_enabled; |
136 bool region_based_columns_enabled; | 137 bool region_based_columns_enabled; |
137 bool touch_enabled; | 138 bool touch_enabled; |
138 bool device_supports_touch; | 139 bool device_supports_touch; |
139 bool device_supports_mouse; | 140 bool device_supports_mouse; |
140 bool touch_adjustment_enabled; | 141 bool touch_adjustment_enabled; |
141 int pointer_events_max_touch_points; | 142 int pointer_events_max_touch_points; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 #endif | 189 #endif |
189 | 190 |
190 // We try to keep the default values the same as the default values in | 191 // We try to keep the default values the same as the default values in |
191 // chrome, except for the cases where it would require lots of extra work for | 192 // chrome, except for the cases where it would require lots of extra work for |
192 // the embedder to use the same default value. | 193 // the embedder to use the same default value. |
193 WebPreferences(); | 194 WebPreferences(); |
194 ~WebPreferences(); | 195 ~WebPreferences(); |
195 }; | 196 }; |
196 | 197 |
197 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ | 198 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ |
OLD | NEW |