| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 bool enable_scroll_animator; | 120 bool enable_scroll_animator; |
| 121 bool css_variables_enabled; | 121 bool css_variables_enabled; |
| 122 bool region_based_columns_enabled; | 122 bool region_based_columns_enabled; |
| 123 bool touch_enabled; | 123 bool touch_enabled; |
| 124 bool device_supports_touch; | 124 bool device_supports_touch; |
| 125 bool device_supports_mouse; | 125 bool device_supports_mouse; |
| 126 bool touch_adjustment_enabled; | 126 bool touch_adjustment_enabled; |
| 127 int pointer_events_max_touch_points; | 127 int pointer_events_max_touch_points; |
| 128 bool sync_xhr_in_documents_enabled; | 128 bool sync_xhr_in_documents_enabled; |
| 129 bool deferred_image_decoding_enabled; | 129 bool deferred_image_decoding_enabled; |
| 130 bool decode_to_yuv_enabled; |
| 130 bool should_respect_image_orientation; | 131 bool should_respect_image_orientation; |
| 131 int number_of_cpu_cores; | 132 int number_of_cpu_cores; |
| 132 EditingBehavior editing_behavior; | 133 EditingBehavior editing_behavior; |
| 133 bool supports_multiple_windows; | 134 bool supports_multiple_windows; |
| 134 bool viewport_enabled; | 135 bool viewport_enabled; |
| 135 bool viewport_meta_enabled; | 136 bool viewport_meta_enabled; |
| 136 bool main_frame_resizes_are_orientation_changes; | 137 bool main_frame_resizes_are_orientation_changes; |
| 137 bool initialize_at_minimum_page_scale; | 138 bool initialize_at_minimum_page_scale; |
| 138 bool smart_insert_delete_enabled; | 139 bool smart_insert_delete_enabled; |
| 139 bool spatial_navigation_enabled; | 140 bool spatial_navigation_enabled; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 // We try to keep the default values the same as the default values in | 183 // We try to keep the default values the same as the default values in |
| 183 // chrome, except for the cases where it would require lots of extra work for | 184 // chrome, except for the cases where it would require lots of extra work for |
| 184 // the embedder to use the same default value. | 185 // the embedder to use the same default value. |
| 185 WebPreferences(); | 186 WebPreferences(); |
| 186 ~WebPreferences(); | 187 ~WebPreferences(); |
| 187 }; | 188 }; |
| 188 | 189 |
| 189 } // namespace content | 190 } // namespace content |
| 190 | 191 |
| 191 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 192 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |