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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 bool should_respect_image_orientation; | 143 bool should_respect_image_orientation; |
144 int number_of_cpu_cores; | 144 int number_of_cpu_cores; |
145 webkit_glue::EditingBehavior editing_behavior; | 145 webkit_glue::EditingBehavior editing_behavior; |
146 bool supports_multiple_windows; | 146 bool supports_multiple_windows; |
147 bool viewport_enabled; | 147 bool viewport_enabled; |
148 bool viewport_meta_enabled; | 148 bool viewport_meta_enabled; |
149 bool main_frame_resizes_are_orientation_changes; | 149 bool main_frame_resizes_are_orientation_changes; |
150 bool initialize_at_minimum_page_scale; | 150 bool initialize_at_minimum_page_scale; |
151 bool smart_insert_delete_enabled; | 151 bool smart_insert_delete_enabled; |
152 bool spatial_navigation_enabled; | 152 bool spatial_navigation_enabled; |
153 bool experimental_websocket_enabled; | |
154 bool pinch_virtual_viewport_enabled; | 153 bool pinch_virtual_viewport_enabled; |
155 int pinch_overlay_scrollbar_thickness; | 154 int pinch_overlay_scrollbar_thickness; |
156 bool use_solid_color_scrollbars; | 155 bool use_solid_color_scrollbars; |
157 bool compositor_touch_hit_testing; | 156 bool compositor_touch_hit_testing; |
158 bool navigate_on_drag_drop; | 157 bool navigate_on_drag_drop; |
159 | 158 |
160 // This flags corresponds to a Page's Settings' setCookieEnabled state. It | 159 // This flags corresponds to a Page's Settings' setCookieEnabled state. It |
161 // only controls whether or not the "document.cookie" field is properly | 160 // only controls whether or not the "document.cookie" field is properly |
162 // connected to the backing store, for instance if you wanted to be able to | 161 // connected to the backing store, for instance if you wanted to be able to |
163 // define custom getters and setters from within a unique security content | 162 // define custom getters and setters from within a unique security content |
(...skipping 26 matching lines...) Expand all Loading... |
190 #endif | 189 #endif |
191 | 190 |
192 // 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 |
193 // 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 |
194 // the embedder to use the same default value. | 193 // the embedder to use the same default value. |
195 WebPreferences(); | 194 WebPreferences(); |
196 ~WebPreferences(); | 195 ~WebPreferences(); |
197 }; | 196 }; |
198 | 197 |
199 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ | 198 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ |
OLD | NEW |