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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 bool touch_adjustment_enabled; | 130 bool touch_adjustment_enabled; |
131 int pointer_events_max_touch_points; | 131 int pointer_events_max_touch_points; |
132 bool sync_xhr_in_documents_enabled; | 132 bool sync_xhr_in_documents_enabled; |
133 bool deferred_image_decoding_enabled; | 133 bool deferred_image_decoding_enabled; |
134 bool should_respect_image_orientation; | 134 bool should_respect_image_orientation; |
135 int number_of_cpu_cores; | 135 int number_of_cpu_cores; |
136 EditingBehavior editing_behavior; | 136 EditingBehavior editing_behavior; |
137 bool supports_multiple_windows; | 137 bool supports_multiple_windows; |
138 bool viewport_enabled; | 138 bool viewport_enabled; |
139 bool viewport_meta_enabled; | 139 bool viewport_meta_enabled; |
140 bool use_expanded_heuristics_for_gpu_rasterization; | |
141 bool main_frame_resizes_are_orientation_changes; | 140 bool main_frame_resizes_are_orientation_changes; |
142 bool initialize_at_minimum_page_scale; | 141 bool initialize_at_minimum_page_scale; |
143 bool smart_insert_delete_enabled; | 142 bool smart_insert_delete_enabled; |
144 bool spatial_navigation_enabled; | 143 bool spatial_navigation_enabled; |
145 bool pinch_virtual_viewport_enabled; | 144 bool pinch_virtual_viewport_enabled; |
146 int pinch_overlay_scrollbar_thickness; | 145 int pinch_overlay_scrollbar_thickness; |
147 bool use_solid_color_scrollbars; | 146 bool use_solid_color_scrollbars; |
148 bool navigate_on_drag_drop; | 147 bool navigate_on_drag_drop; |
149 V8CacheOptions v8_cache_options; | 148 V8CacheOptions v8_cache_options; |
150 | 149 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 // We try to keep the default values the same as the default values in | 185 // We try to keep the default values the same as the default values in |
187 // chrome, except for the cases where it would require lots of extra work for | 186 // chrome, except for the cases where it would require lots of extra work for |
188 // the embedder to use the same default value. | 187 // the embedder to use the same default value. |
189 WebPreferences(); | 188 WebPreferences(); |
190 ~WebPreferences(); | 189 ~WebPreferences(); |
191 }; | 190 }; |
192 | 191 |
193 } // namespace content | 192 } // namespace content |
194 | 193 |
195 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 194 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
OLD | NEW |