| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 bool should_clear_document_background; | 124 bool should_clear_document_background; |
| 125 bool enable_scroll_animator; | 125 bool enable_scroll_animator; |
| 126 bool css_variables_enabled; | 126 bool css_variables_enabled; |
| 127 bool lazy_layout_enabled; | 127 bool lazy_layout_enabled; |
| 128 bool region_based_columns_enabled; | 128 bool region_based_columns_enabled; |
| 129 bool touch_enabled; | 129 bool touch_enabled; |
| 130 bool device_supports_touch; | 130 bool device_supports_touch; |
| 131 bool device_supports_mouse; | 131 bool device_supports_mouse; |
| 132 bool touch_adjustment_enabled; | 132 bool touch_adjustment_enabled; |
| 133 int pointer_events_max_touch_points; | 133 int pointer_events_max_touch_points; |
| 134 bool fixed_position_creates_stacking_context; | |
| 135 bool sync_xhr_in_documents_enabled; | 134 bool sync_xhr_in_documents_enabled; |
| 136 bool deferred_image_decoding_enabled; | 135 bool deferred_image_decoding_enabled; |
| 137 bool should_respect_image_orientation; | 136 bool should_respect_image_orientation; |
| 138 int number_of_cpu_cores; | 137 int number_of_cpu_cores; |
| 139 webkit_glue::EditingBehavior editing_behavior; | 138 webkit_glue::EditingBehavior editing_behavior; |
| 140 bool supports_multiple_windows; | 139 bool supports_multiple_windows; |
| 141 bool viewport_enabled; | 140 bool viewport_enabled; |
| 142 bool viewport_meta_enabled; | 141 bool viewport_meta_enabled; |
| 143 bool main_frame_resizes_are_orientation_changes; | 142 bool main_frame_resizes_are_orientation_changes; |
| 144 bool initialize_at_minimum_page_scale; | 143 bool initialize_at_minimum_page_scale; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 #endif | 182 #endif |
| 184 | 183 |
| 185 // 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 |
| 186 // 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 |
| 187 // the embedder to use the same default value. | 186 // the embedder to use the same default value. |
| 188 WebPreferences(); | 187 WebPreferences(); |
| 189 ~WebPreferences(); | 188 ~WebPreferences(); |
| 190 }; | 189 }; |
| 191 | 190 |
| 192 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ | 191 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ |
| OLD | NEW |