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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 EditingBehavior editing_behavior; | 172 EditingBehavior editing_behavior; |
173 bool supports_multiple_windows; | 173 bool supports_multiple_windows; |
174 bool viewport_enabled; | 174 bool viewport_enabled; |
175 bool viewport_meta_enabled; | 175 bool viewport_meta_enabled; |
176 bool main_frame_resizes_are_orientation_changes; | 176 bool main_frame_resizes_are_orientation_changes; |
177 bool initialize_at_minimum_page_scale; | 177 bool initialize_at_minimum_page_scale; |
178 bool smart_insert_delete_enabled; | 178 bool smart_insert_delete_enabled; |
179 bool spatial_navigation_enabled; | 179 bool spatial_navigation_enabled; |
180 bool pinch_virtual_viewport_enabled; | 180 bool pinch_virtual_viewport_enabled; |
181 int pinch_overlay_scrollbar_thickness; | 181 int pinch_overlay_scrollbar_thickness; |
182 bool rubber_banding_on_compositor_thread; | |
183 bool use_solid_color_scrollbars; | 182 bool use_solid_color_scrollbars; |
184 bool navigate_on_drag_drop; | 183 bool navigate_on_drag_drop; |
185 V8CacheOptions v8_cache_options; | 184 V8CacheOptions v8_cache_options; |
186 bool slimming_paint_enabled; | 185 bool slimming_paint_enabled; |
187 | 186 |
188 // This flags corresponds to a Page's Settings' setCookieEnabled state. It | 187 // This flags corresponds to a Page's Settings' setCookieEnabled state. It |
189 // only controls whether or not the "document.cookie" field is properly | 188 // only controls whether or not the "document.cookie" field is properly |
190 // connected to the backing store, for instance if you wanted to be able to | 189 // connected to the backing store, for instance if you wanted to be able to |
191 // define custom getters and setters from within a unique security content | 190 // define custom getters and setters from within a unique security content |
192 // without raising a DOM security exception. | 191 // without raising a DOM security exception. |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 // We try to keep the default values the same as the default values in | 229 // We try to keep the default values the same as the default values in |
231 // chrome, except for the cases where it would require lots of extra work for | 230 // chrome, except for the cases where it would require lots of extra work for |
232 // the embedder to use the same default value. | 231 // the embedder to use the same default value. |
233 WebPreferences(); | 232 WebPreferences(); |
234 ~WebPreferences(); | 233 ~WebPreferences(); |
235 }; | 234 }; |
236 | 235 |
237 } // namespace content | 236 } // namespace content |
238 | 237 |
239 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 238 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
OLD | NEW |