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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 ui::HoverType primary_hover_type; | 162 ui::HoverType primary_hover_type; |
163 bool sync_xhr_in_documents_enabled; | 163 bool sync_xhr_in_documents_enabled; |
164 bool image_color_profiles_enabled; | 164 bool image_color_profiles_enabled; |
165 bool should_respect_image_orientation; | 165 bool should_respect_image_orientation; |
166 int number_of_cpu_cores; | 166 int number_of_cpu_cores; |
167 EditingBehavior editing_behavior; | 167 EditingBehavior editing_behavior; |
168 bool supports_multiple_windows; | 168 bool supports_multiple_windows; |
169 bool viewport_enabled; | 169 bool viewport_enabled; |
170 bool viewport_meta_enabled; | 170 bool viewport_meta_enabled; |
171 ViewportStyle viewport_style; | 171 ViewportStyle viewport_style; |
| 172 bool always_show_context_menu_on_touch; |
172 bool main_frame_resizes_are_orientation_changes; | 173 bool main_frame_resizes_are_orientation_changes; |
173 bool initialize_at_minimum_page_scale; | 174 bool initialize_at_minimum_page_scale; |
174 bool smart_insert_delete_enabled; | 175 bool smart_insert_delete_enabled; |
175 bool spatial_navigation_enabled; | 176 bool spatial_navigation_enabled; |
176 int pinch_overlay_scrollbar_thickness; | 177 int pinch_overlay_scrollbar_thickness; |
177 bool use_solid_color_scrollbars; | 178 bool use_solid_color_scrollbars; |
178 bool navigate_on_drag_drop; | 179 bool navigate_on_drag_drop; |
179 V8CacheOptions v8_cache_options; | 180 V8CacheOptions v8_cache_options; |
180 bool inert_visual_viewport; | 181 bool inert_visual_viewport; |
181 bool record_whole_document; | 182 bool record_whole_document; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 // chrome, except for the cases where it would require lots of extra work for | 241 // chrome, except for the cases where it would require lots of extra work for |
241 // the embedder to use the same default value. | 242 // the embedder to use the same default value. |
242 WebPreferences(); | 243 WebPreferences(); |
243 WebPreferences(const WebPreferences& other); | 244 WebPreferences(const WebPreferences& other); |
244 ~WebPreferences(); | 245 ~WebPreferences(); |
245 }; | 246 }; |
246 | 247 |
247 } // namespace content | 248 } // namespace content |
248 | 249 |
249 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 250 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
OLD | NEW |