| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 bool enable_scroll_animator; | 138 bool enable_scroll_animator; |
| 139 bool visual_word_movement_enabled; | 139 bool visual_word_movement_enabled; |
| 140 bool css_sticky_position_enabled; | 140 bool css_sticky_position_enabled; |
| 141 bool css_shaders_enabled; | 141 bool css_shaders_enabled; |
| 142 bool css_variables_enabled; | 142 bool css_variables_enabled; |
| 143 bool css_grid_layout_enabled; | 143 bool css_grid_layout_enabled; |
| 144 bool touch_enabled; | 144 bool touch_enabled; |
| 145 bool device_supports_touch; | 145 bool device_supports_touch; |
| 146 bool device_supports_mouse; | 146 bool device_supports_mouse; |
| 147 bool touch_adjustment_enabled; | 147 bool touch_adjustment_enabled; |
| 148 bool touch_drag_drop_enabled; |
| 148 int default_tile_width; | 149 int default_tile_width; |
| 149 int default_tile_height; | 150 int default_tile_height; |
| 150 int max_untiled_layer_width; | 151 int max_untiled_layer_width; |
| 151 int max_untiled_layer_height; | 152 int max_untiled_layer_height; |
| 152 bool fixed_position_creates_stacking_context; | 153 bool fixed_position_creates_stacking_context; |
| 153 bool sync_xhr_in_documents_enabled; | 154 bool sync_xhr_in_documents_enabled; |
| 154 bool deferred_image_decoding_enabled; | 155 bool deferred_image_decoding_enabled; |
| 155 bool should_respect_image_orientation; | 156 bool should_respect_image_orientation; |
| 156 int number_of_cpu_cores; | 157 int number_of_cpu_cores; |
| 157 EditingBehavior editing_behavior; | 158 EditingBehavior editing_behavior; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 178 // the embedder to use the same default value. | 179 // the embedder to use the same default value. |
| 179 WebPreferences(); | 180 WebPreferences(); |
| 180 ~WebPreferences(); | 181 ~WebPreferences(); |
| 181 | 182 |
| 182 void Apply(WebKit::WebView* web_view) const; | 183 void Apply(WebKit::WebView* web_view) const; |
| 183 }; | 184 }; |
| 184 | 185 |
| 185 } // namespace webkit_glue | 186 } // namespace webkit_glue |
| 186 | 187 |
| 187 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 188 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
| OLD | NEW |