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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 bool device_supports_touch; | 157 bool device_supports_touch; |
158 // TODO(mustaq): Nuke when the new API is ready | 158 // TODO(mustaq): Nuke when the new API is ready |
159 bool device_supports_mouse; | 159 bool device_supports_mouse; |
160 bool touch_adjustment_enabled; | 160 bool touch_adjustment_enabled; |
161 int pointer_events_max_touch_points; | 161 int pointer_events_max_touch_points; |
162 int available_pointer_types; | 162 int available_pointer_types; |
163 ui::PointerType primary_pointer_type; | 163 ui::PointerType primary_pointer_type; |
164 int available_hover_types; | 164 int available_hover_types; |
165 ui::HoverType primary_hover_type; | 165 ui::HoverType primary_hover_type; |
166 bool sync_xhr_in_documents_enabled; | 166 bool sync_xhr_in_documents_enabled; |
167 bool deferred_image_decoding_enabled; | |
168 bool image_color_profiles_enabled; | 167 bool image_color_profiles_enabled; |
169 bool should_respect_image_orientation; | 168 bool should_respect_image_orientation; |
170 int number_of_cpu_cores; | 169 int number_of_cpu_cores; |
171 EditingBehavior editing_behavior; | 170 EditingBehavior editing_behavior; |
172 bool supports_multiple_windows; | 171 bool supports_multiple_windows; |
173 bool viewport_enabled; | 172 bool viewport_enabled; |
174 bool viewport_meta_enabled; | 173 bool viewport_meta_enabled; |
175 bool main_frame_resizes_are_orientation_changes; | 174 bool main_frame_resizes_are_orientation_changes; |
176 bool initialize_at_minimum_page_scale; | 175 bool initialize_at_minimum_page_scale; |
177 bool smart_insert_delete_enabled; | 176 bool smart_insert_delete_enabled; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 // We try to keep the default values the same as the default values in | 227 // We try to keep the default values the same as the default values in |
229 // chrome, except for the cases where it would require lots of extra work for | 228 // chrome, except for the cases where it would require lots of extra work for |
230 // the embedder to use the same default value. | 229 // the embedder to use the same default value. |
231 WebPreferences(); | 230 WebPreferences(); |
232 ~WebPreferences(); | 231 ~WebPreferences(); |
233 }; | 232 }; |
234 | 233 |
235 } // namespace content | 234 } // namespace content |
236 | 235 |
237 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 236 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
OLD | NEW |