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 // WebKit::WebSettings, content/common/view_messages.h, browser/tab_contents/ | 8 // WebKit::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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 bool visual_word_movement_enabled; | 133 bool visual_word_movement_enabled; |
134 bool css_sticky_position_enabled; | 134 bool css_sticky_position_enabled; |
135 bool css_shaders_enabled; | 135 bool css_shaders_enabled; |
136 bool css_variables_enabled; | 136 bool css_variables_enabled; |
137 bool lazy_layout_enabled; | 137 bool lazy_layout_enabled; |
138 bool region_based_columns_enabled; | 138 bool region_based_columns_enabled; |
139 bool touch_enabled; | 139 bool touch_enabled; |
140 bool device_supports_touch; | 140 bool device_supports_touch; |
141 bool device_supports_mouse; | 141 bool device_supports_mouse; |
142 bool touch_adjustment_enabled; | 142 bool touch_adjustment_enabled; |
| 143 bool pointer_events_max_touch_points_enabled; |
| 144 int pointer_events_max_touch_points; |
143 bool fixed_position_creates_stacking_context; | 145 bool fixed_position_creates_stacking_context; |
144 bool sync_xhr_in_documents_enabled; | 146 bool sync_xhr_in_documents_enabled; |
145 bool deferred_image_decoding_enabled; | 147 bool deferred_image_decoding_enabled; |
146 bool should_respect_image_orientation; | 148 bool should_respect_image_orientation; |
147 int number_of_cpu_cores; | 149 int number_of_cpu_cores; |
148 webkit_glue::EditingBehavior editing_behavior; | 150 webkit_glue::EditingBehavior editing_behavior; |
149 bool supports_multiple_windows; | 151 bool supports_multiple_windows; |
150 bool viewport_enabled; | 152 bool viewport_enabled; |
151 bool initialize_at_minimum_page_scale; | 153 bool initialize_at_minimum_page_scale; |
152 bool smart_insert_delete_enabled; | 154 bool smart_insert_delete_enabled; |
(...skipping 29 matching lines...) Expand all Loading... |
182 #endif | 184 #endif |
183 | 185 |
184 // We try to keep the default values the same as the default values in | 186 // We try to keep the default values the same as the default values in |
185 // chrome, except for the cases where it would require lots of extra work for | 187 // chrome, except for the cases where it would require lots of extra work for |
186 // the embedder to use the same default value. | 188 // the embedder to use the same default value. |
187 WebPreferences(); | 189 WebPreferences(); |
188 ~WebPreferences(); | 190 ~WebPreferences(); |
189 }; | 191 }; |
190 | 192 |
191 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ | 193 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ |
OLD | NEW |