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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 bool device_supports_touch; | 164 bool device_supports_touch; |
165 bool touch_adjustment_enabled; | 165 bool touch_adjustment_enabled; |
166 int pointer_events_max_touch_points; | 166 int pointer_events_max_touch_points; |
167 int available_pointer_types; | 167 int available_pointer_types; |
168 ui::PointerType primary_pointer_type; | 168 ui::PointerType primary_pointer_type; |
169 int available_hover_types; | 169 int available_hover_types; |
170 ui::HoverType primary_hover_type; | 170 ui::HoverType primary_hover_type; |
171 bool sync_xhr_in_documents_enabled; | 171 bool sync_xhr_in_documents_enabled; |
172 bool color_correct_rendering_enabled = false; | 172 bool color_correct_rendering_enabled = false; |
173 bool color_correct_rendering_default_mode_enabled = false; | 173 bool color_correct_rendering_default_mode_enabled = false; |
174 bool true_color_rendering_enabled = false; | |
175 bool should_respect_image_orientation; | 174 bool should_respect_image_orientation; |
176 int number_of_cpu_cores; | 175 int number_of_cpu_cores; |
177 EditingBehavior editing_behavior; | 176 EditingBehavior editing_behavior; |
178 bool supports_multiple_windows; | 177 bool supports_multiple_windows; |
179 bool viewport_enabled; | 178 bool viewport_enabled; |
180 bool viewport_meta_enabled; | 179 bool viewport_meta_enabled; |
181 bool shrinks_viewport_contents_to_fit; | 180 bool shrinks_viewport_contents_to_fit; |
182 ViewportStyle viewport_style; | 181 ViewportStyle viewport_style; |
183 bool always_show_context_menu_on_touch; | 182 bool always_show_context_menu_on_touch; |
184 bool main_frame_resizes_are_orientation_changes; | 183 bool main_frame_resizes_are_orientation_changes; |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 // chrome, except for the cases where it would require lots of extra work for | 291 // chrome, except for the cases where it would require lots of extra work for |
293 // the embedder to use the same default value. | 292 // the embedder to use the same default value. |
294 WebPreferences(); | 293 WebPreferences(); |
295 WebPreferences(const WebPreferences& other); | 294 WebPreferences(const WebPreferences& other); |
296 ~WebPreferences(); | 295 ~WebPreferences(); |
297 }; | 296 }; |
298 | 297 |
299 } // namespace content | 298 } // namespace content |
300 | 299 |
301 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 300 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
OLD | NEW |