| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 bool main_frame_resizes_are_orientation_changes; | 138 bool main_frame_resizes_are_orientation_changes; |
| 139 bool initialize_at_minimum_page_scale; | 139 bool initialize_at_minimum_page_scale; |
| 140 bool smart_insert_delete_enabled; | 140 bool smart_insert_delete_enabled; |
| 141 bool spatial_navigation_enabled; | 141 bool spatial_navigation_enabled; |
| 142 bool pinch_virtual_viewport_enabled; | 142 bool pinch_virtual_viewport_enabled; |
| 143 int pinch_overlay_scrollbar_thickness; | 143 int pinch_overlay_scrollbar_thickness; |
| 144 bool use_solid_color_scrollbars; | 144 bool use_solid_color_scrollbars; |
| 145 bool navigate_on_drag_drop; | 145 bool navigate_on_drag_drop; |
| 146 V8CacheOptions v8_cache_options; | 146 V8CacheOptions v8_cache_options; |
| 147 bool v8_script_streaming_enabled; | 147 bool v8_script_streaming_enabled; |
| 148 bool slimming_paint_enabled; |
| 148 | 149 |
| 149 // This flags corresponds to a Page's Settings' setCookieEnabled state. It | 150 // This flags corresponds to a Page's Settings' setCookieEnabled state. It |
| 150 // only controls whether or not the "document.cookie" field is properly | 151 // only controls whether or not the "document.cookie" field is properly |
| 151 // connected to the backing store, for instance if you wanted to be able to | 152 // connected to the backing store, for instance if you wanted to be able to |
| 152 // define custom getters and setters from within a unique security content | 153 // define custom getters and setters from within a unique security content |
| 153 // without raising a DOM security exception. | 154 // without raising a DOM security exception. |
| 154 bool cookie_enabled; | 155 bool cookie_enabled; |
| 155 | 156 |
| 156 // This flag indicates whether H/W accelerated video decode is enabled for | 157 // This flag indicates whether H/W accelerated video decode is enabled for |
| 157 // pepper plugins. Defaults to false. | 158 // pepper plugins. Defaults to false. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 183 // We try to keep the default values the same as the default values in | 184 // We try to keep the default values the same as the default values in |
| 184 // chrome, except for the cases where it would require lots of extra work for | 185 // chrome, except for the cases where it would require lots of extra work for |
| 185 // the embedder to use the same default value. | 186 // the embedder to use the same default value. |
| 186 WebPreferences(); | 187 WebPreferences(); |
| 187 ~WebPreferences(); | 188 ~WebPreferences(); |
| 188 }; | 189 }; |
| 189 | 190 |
| 190 } // namespace content | 191 } // namespace content |
| 191 | 192 |
| 192 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 193 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |