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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 use_solid_color_scrollbars; | 182 bool use_solid_color_scrollbars; |
183 bool navigate_on_drag_drop; | 183 bool navigate_on_drag_drop; |
184 V8CacheOptions v8_cache_options; | 184 V8CacheOptions v8_cache_options; |
185 bool slimming_paint_enabled; | 185 bool slimming_paint_enabled; |
| 186 bool gl_rgb_support_enabled; |
186 | 187 |
187 // This flags corresponds to a Page's Settings' setCookieEnabled state. It | 188 // This flags corresponds to a Page's Settings' setCookieEnabled state. It |
188 // only controls whether or not the "document.cookie" field is properly | 189 // only controls whether or not the "document.cookie" field is properly |
189 // connected to the backing store, for instance if you wanted to be able to | 190 // connected to the backing store, for instance if you wanted to be able to |
190 // define custom getters and setters from within a unique security content | 191 // define custom getters and setters from within a unique security content |
191 // without raising a DOM security exception. | 192 // without raising a DOM security exception. |
192 bool cookie_enabled; | 193 bool cookie_enabled; |
193 | 194 |
194 // This flag indicates whether H/W accelerated video decode is enabled for | 195 // This flag indicates whether H/W accelerated video decode is enabled for |
195 // pepper plugins. Defaults to false. | 196 // pepper plugins. Defaults to false. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 // We try to keep the default values the same as the default values in | 230 // We try to keep the default values the same as the default values in |
230 // chrome, except for the cases where it would require lots of extra work for | 231 // chrome, except for the cases where it would require lots of extra work for |
231 // the embedder to use the same default value. | 232 // the embedder to use the same default value. |
232 WebPreferences(); | 233 WebPreferences(); |
233 ~WebPreferences(); | 234 ~WebPreferences(); |
234 }; | 235 }; |
235 | 236 |
236 } // namespace content | 237 } // namespace content |
237 | 238 |
238 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 239 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
OLD | NEW |