| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 bool strict_mixed_content_checking; | 145 bool strict_mixed_content_checking; |
| 146 // Strict powerful feature restrictions block insecure usage of powerful | 146 // Strict powerful feature restrictions block insecure usage of powerful |
| 147 // features (like geolocation) that we haven't yet disabled for the web at | 147 // features (like geolocation) that we haven't yet disabled for the web at |
| 148 // large. | 148 // large. |
| 149 bool strict_powerful_feature_restrictions; | 149 bool strict_powerful_feature_restrictions; |
| 150 bool password_echo_enabled; | 150 bool password_echo_enabled; |
| 151 bool should_print_backgrounds; | 151 bool should_print_backgrounds; |
| 152 bool should_clear_document_background; | 152 bool should_clear_document_background; |
| 153 bool enable_scroll_animator; | 153 bool enable_scroll_animator; |
| 154 bool css_variables_enabled; | 154 bool css_variables_enabled; |
| 155 bool region_based_columns_enabled; | |
| 156 bool touch_enabled; | 155 bool touch_enabled; |
| 157 // TODO(mustaq): Nuke when the new API is ready | 156 // TODO(mustaq): Nuke when the new API is ready |
| 158 bool device_supports_touch; | 157 bool device_supports_touch; |
| 159 // TODO(mustaq): Nuke when the new API is ready | 158 // TODO(mustaq): Nuke when the new API is ready |
| 160 bool device_supports_mouse; | 159 bool device_supports_mouse; |
| 161 bool touch_adjustment_enabled; | 160 bool touch_adjustment_enabled; |
| 162 int pointer_events_max_touch_points; | 161 int pointer_events_max_touch_points; |
| 163 int available_pointer_types; | 162 int available_pointer_types; |
| 164 ui::PointerType primary_pointer_type; | 163 ui::PointerType primary_pointer_type; |
| 165 int available_hover_types; | 164 int available_hover_types; |
| (...skipping 63 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 | 228 // 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 | 229 // chrome, except for the cases where it would require lots of extra work for |
| 231 // the embedder to use the same default value. | 230 // the embedder to use the same default value. |
| 232 WebPreferences(); | 231 WebPreferences(); |
| 233 ~WebPreferences(); | 232 ~WebPreferences(); |
| 234 }; | 233 }; |
| 235 | 234 |
| 236 } // namespace content | 235 } // namespace content |
| 237 | 236 |
| 238 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 237 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |