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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 bool enable_scroll_animator; | 168 bool enable_scroll_animator; |
169 bool touch_event_feature_detection_enabled; | 169 bool touch_event_feature_detection_enabled; |
170 bool touch_adjustment_enabled; | 170 bool touch_adjustment_enabled; |
171 int pointer_events_max_touch_points; | 171 int pointer_events_max_touch_points; |
172 int available_pointer_types; | 172 int available_pointer_types; |
173 ui::PointerType primary_pointer_type; | 173 ui::PointerType primary_pointer_type; |
174 int available_hover_types; | 174 int available_hover_types; |
175 ui::HoverType primary_hover_type; | 175 ui::HoverType primary_hover_type; |
176 bool sync_xhr_in_documents_enabled; | 176 bool sync_xhr_in_documents_enabled; |
177 bool color_correct_rendering_enabled = false; | 177 bool color_correct_rendering_enabled = false; |
178 bool color_correct_rendering_default_mode_enabled = false; | |
179 bool should_respect_image_orientation; | 178 bool should_respect_image_orientation; |
180 int number_of_cpu_cores; | 179 int number_of_cpu_cores; |
181 EditingBehavior editing_behavior; | 180 EditingBehavior editing_behavior; |
182 bool supports_multiple_windows; | 181 bool supports_multiple_windows; |
183 bool viewport_enabled; | 182 bool viewport_enabled; |
184 bool viewport_meta_enabled; | 183 bool viewport_meta_enabled; |
185 bool shrinks_viewport_contents_to_fit; | 184 bool shrinks_viewport_contents_to_fit; |
186 ViewportStyle viewport_style; | 185 ViewportStyle viewport_style; |
187 bool always_show_context_menu_on_touch; | 186 bool always_show_context_menu_on_touch; |
188 bool main_frame_resizes_are_orientation_changes; | 187 bool main_frame_resizes_are_orientation_changes; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 // chrome, except for the cases where it would require lots of extra work for | 301 // chrome, except for the cases where it would require lots of extra work for |
303 // the embedder to use the same default value. | 302 // the embedder to use the same default value. |
304 WebPreferences(); | 303 WebPreferences(); |
305 WebPreferences(const WebPreferences& other); | 304 WebPreferences(const WebPreferences& other); |
306 ~WebPreferences(); | 305 ~WebPreferences(); |
307 }; | 306 }; |
308 | 307 |
309 } // namespace content | 308 } // namespace content |
310 | 309 |
311 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 310 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
OLD | NEW |