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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 bool deferred_filters_enabled; | 119 bool deferred_filters_enabled; |
120 bool container_culling_enabled; | 120 bool container_culling_enabled; |
121 bool gesture_tap_highlight_enabled; | 121 bool gesture_tap_highlight_enabled; |
122 bool allow_displaying_insecure_content; | 122 bool allow_displaying_insecure_content; |
123 bool allow_running_insecure_content; | 123 bool allow_running_insecure_content; |
124 bool password_echo_enabled; | 124 bool password_echo_enabled; |
125 bool should_print_backgrounds; | 125 bool should_print_backgrounds; |
126 bool should_clear_document_background; | 126 bool should_clear_document_background; |
127 bool enable_scroll_animator; | 127 bool enable_scroll_animator; |
128 bool css_variables_enabled; | 128 bool css_variables_enabled; |
129 bool lazy_layout_enabled; | |
130 bool region_based_columns_enabled; | 129 bool region_based_columns_enabled; |
131 bool touch_enabled; | 130 bool touch_enabled; |
132 bool device_supports_touch; | 131 bool device_supports_touch; |
133 bool device_supports_mouse; | 132 bool device_supports_mouse; |
134 bool touch_adjustment_enabled; | 133 bool touch_adjustment_enabled; |
135 int pointer_events_max_touch_points; | 134 int pointer_events_max_touch_points; |
136 bool sync_xhr_in_documents_enabled; | 135 bool sync_xhr_in_documents_enabled; |
137 bool deferred_image_decoding_enabled; | 136 bool deferred_image_decoding_enabled; |
138 bool should_respect_image_orientation; | 137 bool should_respect_image_orientation; |
139 int number_of_cpu_cores; | 138 int number_of_cpu_cores; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 #endif | 183 #endif |
185 | 184 |
186 // We try to keep the default values the same as the default values in | 185 // We try to keep the default values the same as the default values in |
187 // chrome, except for the cases where it would require lots of extra work for | 186 // chrome, except for the cases where it would require lots of extra work for |
188 // the embedder to use the same default value. | 187 // the embedder to use the same default value. |
189 WebPreferences(); | 188 WebPreferences(); |
190 ~WebPreferences(); | 189 ~WebPreferences(); |
191 }; | 190 }; |
192 | 191 |
193 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ | 192 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ |
OLD | NEW |