OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 bool visual_word_movement_enabled; | 137 bool visual_word_movement_enabled; |
138 bool css_sticky_position_enabled; | 138 bool css_sticky_position_enabled; |
139 bool css_shaders_enabled; | 139 bool css_shaders_enabled; |
140 bool css_variables_enabled; | 140 bool css_variables_enabled; |
141 bool css_grid_layout_enabled; | 141 bool css_grid_layout_enabled; |
142 bool lazy_layout_enabled; | 142 bool lazy_layout_enabled; |
143 bool touch_enabled; | 143 bool touch_enabled; |
144 bool device_supports_touch; | 144 bool device_supports_touch; |
145 bool device_supports_mouse; | 145 bool device_supports_mouse; |
146 bool touch_adjustment_enabled; | 146 bool touch_adjustment_enabled; |
147 bool touch_drag_drop_enabled; | |
148 bool fixed_position_creates_stacking_context; | 147 bool fixed_position_creates_stacking_context; |
149 bool sync_xhr_in_documents_enabled; | 148 bool sync_xhr_in_documents_enabled; |
150 bool deferred_image_decoding_enabled; | 149 bool deferred_image_decoding_enabled; |
151 bool should_respect_image_orientation; | 150 bool should_respect_image_orientation; |
152 int number_of_cpu_cores; | 151 int number_of_cpu_cores; |
153 webkit_glue::EditingBehavior editing_behavior; | 152 webkit_glue::EditingBehavior editing_behavior; |
154 bool supports_multiple_windows; | 153 bool supports_multiple_windows; |
155 bool viewport_enabled; | 154 bool viewport_enabled; |
156 bool initialize_at_minimum_page_scale; | 155 bool initialize_at_minimum_page_scale; |
157 bool smart_insert_delete_enabled; | 156 bool smart_insert_delete_enabled; |
(...skipping 19 matching lines...) Expand all Loading... |
177 #endif | 176 #endif |
178 | 177 |
179 // We try to keep the default values the same as the default values in | 178 // We try to keep the default values the same as the default values in |
180 // chrome, except for the cases where it would require lots of extra work for | 179 // chrome, except for the cases where it would require lots of extra work for |
181 // the embedder to use the same default value. | 180 // the embedder to use the same default value. |
182 WebPreferences(); | 181 WebPreferences(); |
183 ~WebPreferences(); | 182 ~WebPreferences(); |
184 }; | 183 }; |
185 | 184 |
186 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 185 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |