| 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 viewport_meta_enabled; | 168 bool viewport_meta_enabled; |
| 169 bool main_frame_resizes_are_orientation_changes; | 169 bool main_frame_resizes_are_orientation_changes; |
| 170 bool initialize_at_minimum_page_scale; | 170 bool initialize_at_minimum_page_scale; |
| 171 bool smart_insert_delete_enabled; | 171 bool smart_insert_delete_enabled; |
| 172 bool spatial_navigation_enabled; | 172 bool spatial_navigation_enabled; |
| 173 int pinch_overlay_scrollbar_thickness; | 173 int pinch_overlay_scrollbar_thickness; |
| 174 bool use_solid_color_scrollbars; | 174 bool use_solid_color_scrollbars; |
| 175 bool navigate_on_drag_drop; | 175 bool navigate_on_drag_drop; |
| 176 V8CacheOptions v8_cache_options; | 176 V8CacheOptions v8_cache_options; |
| 177 bool slimming_paint_v2_enabled; | 177 bool slimming_paint_v2_enabled; |
| 178 bool inert_visual_viewport; | |
| 179 | 178 |
| 180 // This flags corresponds to a Page's Settings' setCookieEnabled state. It | 179 // This flags corresponds to a Page's Settings' setCookieEnabled state. It |
| 181 // only controls whether or not the "document.cookie" field is properly | 180 // only controls whether or not the "document.cookie" field is properly |
| 182 // connected to the backing store, for instance if you wanted to be able to | 181 // connected to the backing store, for instance if you wanted to be able to |
| 183 // define custom getters and setters from within a unique security content | 182 // define custom getters and setters from within a unique security content |
| 184 // without raising a DOM security exception. | 183 // without raising a DOM security exception. |
| 185 bool cookie_enabled; | 184 bool cookie_enabled; |
| 186 | 185 |
| 187 // This flag indicates whether H/W accelerated video decode is enabled for | 186 // This flag indicates whether H/W accelerated video decode is enabled for |
| 188 // pepper plugins. Defaults to false. | 187 // pepper plugins. Defaults to false. |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 // We try to keep the default values the same as the default values in | 223 // We try to keep the default values the same as the default values in |
| 225 // chrome, except for the cases where it would require lots of extra work for | 224 // chrome, except for the cases where it would require lots of extra work for |
| 226 // the embedder to use the same default value. | 225 // the embedder to use the same default value. |
| 227 WebPreferences(); | 226 WebPreferences(); |
| 228 ~WebPreferences(); | 227 ~WebPreferences(); |
| 229 }; | 228 }; |
| 230 | 229 |
| 231 } // namespace content | 230 } // namespace content |
| 232 | 231 |
| 233 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 232 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |