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