| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 bool should_respect_image_orientation; | 169 bool should_respect_image_orientation; |
| 170 int number_of_cpu_cores; | 170 int number_of_cpu_cores; |
| 171 EditingBehavior editing_behavior; | 171 EditingBehavior editing_behavior; |
| 172 bool supports_multiple_windows; | 172 bool supports_multiple_windows; |
| 173 bool viewport_enabled; | 173 bool viewport_enabled; |
| 174 bool viewport_meta_enabled; | 174 bool viewport_meta_enabled; |
| 175 bool main_frame_resizes_are_orientation_changes; | 175 bool main_frame_resizes_are_orientation_changes; |
| 176 bool initialize_at_minimum_page_scale; | 176 bool initialize_at_minimum_page_scale; |
| 177 bool smart_insert_delete_enabled; | 177 bool smart_insert_delete_enabled; |
| 178 bool spatial_navigation_enabled; | 178 bool spatial_navigation_enabled; |
| 179 bool invert_viewport_scroll_order; |
| 179 int pinch_overlay_scrollbar_thickness; | 180 int pinch_overlay_scrollbar_thickness; |
| 180 bool use_solid_color_scrollbars; | 181 bool use_solid_color_scrollbars; |
| 181 bool navigate_on_drag_drop; | 182 bool navigate_on_drag_drop; |
| 182 V8CacheOptions v8_cache_options; | 183 V8CacheOptions v8_cache_options; |
| 183 bool slimming_paint_enabled; | 184 bool slimming_paint_enabled; |
| 184 | 185 |
| 185 // This flags corresponds to a Page's Settings' setCookieEnabled state. It | 186 // This flags corresponds to a Page's Settings' setCookieEnabled state. It |
| 186 // only controls whether or not the "document.cookie" field is properly | 187 // only controls whether or not the "document.cookie" field is properly |
| 187 // connected to the backing store, for instance if you wanted to be able to | 188 // connected to the backing store, for instance if you wanted to be able to |
| 188 // define custom getters and setters from within a unique security content | 189 // define custom getters and setters from within a unique security content |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 // We try to keep the default values the same as the default values in | 228 // We try to keep the default values the same as the default values in |
| 228 // chrome, except for the cases where it would require lots of extra work for | 229 // chrome, except for the cases where it would require lots of extra work for |
| 229 // the embedder to use the same default value. | 230 // the embedder to use the same default value. |
| 230 WebPreferences(); | 231 WebPreferences(); |
| 231 ~WebPreferences(); | 232 ~WebPreferences(); |
| 232 }; | 233 }; |
| 233 | 234 |
| 234 } // namespace content | 235 } // namespace content |
| 235 | 236 |
| 236 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 237 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |