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