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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 bool touch_adjustment_enabled; | 142 bool touch_adjustment_enabled; |
143 int pointer_events_max_touch_points; | 143 int pointer_events_max_touch_points; |
144 bool fixed_position_creates_stacking_context; | 144 bool fixed_position_creates_stacking_context; |
145 bool sync_xhr_in_documents_enabled; | 145 bool sync_xhr_in_documents_enabled; |
146 bool deferred_image_decoding_enabled; | 146 bool deferred_image_decoding_enabled; |
147 bool should_respect_image_orientation; | 147 bool should_respect_image_orientation; |
148 int number_of_cpu_cores; | 148 int number_of_cpu_cores; |
149 webkit_glue::EditingBehavior editing_behavior; | 149 webkit_glue::EditingBehavior editing_behavior; |
150 bool supports_multiple_windows; | 150 bool supports_multiple_windows; |
151 bool viewport_enabled; | 151 bool viewport_enabled; |
| 152 bool viewport_meta_enabled; |
| 153 bool main_frame_resizes_are_orientation_changes; |
152 bool initialize_at_minimum_page_scale; | 154 bool initialize_at_minimum_page_scale; |
153 bool smart_insert_delete_enabled; | 155 bool smart_insert_delete_enabled; |
154 bool spatial_navigation_enabled; | 156 bool spatial_navigation_enabled; |
155 bool experimental_websocket_enabled; | 157 bool experimental_websocket_enabled; |
156 bool pinch_virtual_viewport_enabled; | 158 bool pinch_virtual_viewport_enabled; |
157 int pinch_overlay_scrollbar_thickness; | 159 int pinch_overlay_scrollbar_thickness; |
158 bool use_solid_color_scrollbars; | 160 bool use_solid_color_scrollbars; |
159 bool compositor_touch_hit_testing; | 161 bool compositor_touch_hit_testing; |
160 | 162 |
161 // This flags corresponds to a Page's Settings' setCookieEnabled state. It | 163 // This flags corresponds to a Page's Settings' setCookieEnabled state. It |
(...skipping 24 matching lines...) Expand all Loading... |
186 #endif | 188 #endif |
187 | 189 |
188 // We try to keep the default values the same as the default values in | 190 // We try to keep the default values the same as the default values in |
189 // chrome, except for the cases where it would require lots of extra work for | 191 // chrome, except for the cases where it would require lots of extra work for |
190 // the embedder to use the same default value. | 192 // the embedder to use the same default value. |
191 WebPreferences(); | 193 WebPreferences(); |
192 ~WebPreferences(); | 194 ~WebPreferences(); |
193 }; | 195 }; |
194 | 196 |
195 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ | 197 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ |
OLD | NEW |