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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 bool enable_scroll_animator; | 121 bool enable_scroll_animator; |
122 bool css_variables_enabled; | 122 bool css_variables_enabled; |
123 bool region_based_columns_enabled; | 123 bool region_based_columns_enabled; |
124 bool touch_enabled; | 124 bool touch_enabled; |
125 bool device_supports_touch; | 125 bool device_supports_touch; |
126 bool device_supports_mouse; | 126 bool device_supports_mouse; |
127 bool touch_adjustment_enabled; | 127 bool touch_adjustment_enabled; |
128 int pointer_events_max_touch_points; | 128 int pointer_events_max_touch_points; |
129 bool sync_xhr_in_documents_enabled; | 129 bool sync_xhr_in_documents_enabled; |
130 bool deferred_image_decoding_enabled; | 130 bool deferred_image_decoding_enabled; |
| 131 bool image_color_profiles_enabled; |
131 bool should_respect_image_orientation; | 132 bool should_respect_image_orientation; |
132 int number_of_cpu_cores; | 133 int number_of_cpu_cores; |
133 EditingBehavior editing_behavior; | 134 EditingBehavior editing_behavior; |
134 bool supports_multiple_windows; | 135 bool supports_multiple_windows; |
135 bool viewport_enabled; | 136 bool viewport_enabled; |
136 bool viewport_meta_enabled; | 137 bool viewport_meta_enabled; |
137 bool main_frame_resizes_are_orientation_changes; | 138 bool main_frame_resizes_are_orientation_changes; |
138 bool initialize_at_minimum_page_scale; | 139 bool initialize_at_minimum_page_scale; |
139 bool smart_insert_delete_enabled; | 140 bool smart_insert_delete_enabled; |
140 bool spatial_navigation_enabled; | 141 bool spatial_navigation_enabled; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } // namespace content | 191 } // namespace content |
191 | 192 |
192 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 193 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
OLD | NEW |