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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 webkit_glue::EditingBehavior editing_behavior; | 148 webkit_glue::EditingBehavior editing_behavior; |
149 bool supports_multiple_windows; | 149 bool supports_multiple_windows; |
150 bool viewport_enabled; | 150 bool viewport_enabled; |
151 bool initialize_at_minimum_page_scale; | 151 bool initialize_at_minimum_page_scale; |
152 bool smart_insert_delete_enabled; | 152 bool smart_insert_delete_enabled; |
153 bool spatial_navigation_enabled; | 153 bool spatial_navigation_enabled; |
154 bool experimental_websocket_enabled; | 154 bool experimental_websocket_enabled; |
155 bool pinch_virtual_viewport_enabled; | 155 bool pinch_virtual_viewport_enabled; |
156 int pinch_overlay_scrollbar_thickness; | 156 int pinch_overlay_scrollbar_thickness; |
157 bool use_solid_color_scrollbars; | 157 bool use_solid_color_scrollbars; |
| 158 bool compositor_touch_hit_testing; |
158 | 159 |
159 // This flags corresponds to a Page's Settings' setCookieEnabled state. It | 160 // This flags corresponds to a Page's Settings' setCookieEnabled state. It |
160 // only controls whether or not the "document.cookie" field is properly | 161 // only controls whether or not the "document.cookie" field is properly |
161 // connected to the backing store, for instance if you wanted to be able to | 162 // connected to the backing store, for instance if you wanted to be able to |
162 // define custom getters and setters from within a unique security content | 163 // define custom getters and setters from within a unique security content |
163 // without raising a DOM security exception. | 164 // without raising a DOM security exception. |
164 bool cookie_enabled; | 165 bool cookie_enabled; |
165 | 166 |
166 #if defined(OS_ANDROID) | 167 #if defined(OS_ANDROID) |
167 bool text_autosizing_enabled; | 168 bool text_autosizing_enabled; |
(...skipping 13 matching lines...) Expand all Loading... |
181 #endif | 182 #endif |
182 | 183 |
183 // We try to keep the default values the same as the default values in | 184 // We try to keep the default values the same as the default values in |
184 // chrome, except for the cases where it would require lots of extra work for | 185 // chrome, except for the cases where it would require lots of extra work for |
185 // the embedder to use the same default value. | 186 // the embedder to use the same default value. |
186 WebPreferences(); | 187 WebPreferences(); |
187 ~WebPreferences(); | 188 ~WebPreferences(); |
188 }; | 189 }; |
189 | 190 |
190 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ | 191 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ |
OLD | NEW |