Chromium Code Reviews| 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> |
| 11 | 11 |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
| 15 #include "ui/base/touch/touch_device.h" | 15 #include "ui/base/touch/touch_device.h" |
|
mustaq
2016/11/16 14:54:16
Please remove.
sunyunjia
2016/11/16 16:39:58
This is actually needed. What we want to delete is
| |
| 16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 17 | 17 |
| 18 namespace blink { | 18 namespace blink { |
| 19 class WebView; | 19 class WebView; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace content { | 22 namespace content { |
| 23 | 23 |
| 24 // Map of ISO 15924 four-letter script code to font family. For example, | 24 // Map of ISO 15924 four-letter script code to font family. For example, |
| 25 // "Arab" to "My Arabic Font". | 25 // "Arab" to "My Arabic Font". |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 151 // TODO(jww): Remove when WebView no longer needs this exception. | 151 // TODO(jww): Remove when WebView no longer needs this exception. |
| 152 bool allow_geolocation_on_insecure_origins; | 152 bool allow_geolocation_on_insecure_origins; |
| 153 // Disallow user opt-in for blockable mixed content. | 153 // Disallow user opt-in for blockable mixed content. |
| 154 bool strictly_block_blockable_mixed_content; | 154 bool strictly_block_blockable_mixed_content; |
| 155 bool block_mixed_plugin_content; | 155 bool block_mixed_plugin_content; |
| 156 bool password_echo_enabled; | 156 bool password_echo_enabled; |
| 157 bool should_print_backgrounds; | 157 bool should_print_backgrounds; |
| 158 bool should_clear_document_background; | 158 bool should_clear_document_background; |
| 159 bool enable_scroll_animator; | 159 bool enable_scroll_animator; |
| 160 bool css_variables_enabled; | 160 bool css_variables_enabled; |
| 161 bool touch_enabled; | 161 bool touch_event_api_enabled; |
| 162 // TODO(mustaq): Nuke when the new API is ready | 162 // TODO(mustaq): Nuke when the new API is ready |
| 163 bool device_supports_touch; | 163 bool device_supports_touch; |
| 164 // TODO(mustaq): Nuke when the new API is ready | 164 // TODO(mustaq): Nuke when the new API is ready |
| 165 bool device_supports_mouse; | 165 bool device_supports_mouse; |
| 166 bool touch_adjustment_enabled; | 166 bool touch_adjustment_enabled; |
| 167 int pointer_events_max_touch_points; | 167 int pointer_events_max_touch_points; |
| 168 int available_pointer_types; | 168 int available_pointer_types; |
| 169 ui::PointerType primary_pointer_type; | 169 ui::PointerType primary_pointer_type; |
| 170 int available_hover_types; | 170 int available_hover_types; |
| 171 ui::HoverType primary_hover_type; | 171 ui::HoverType primary_hover_type; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 266 // chrome, except for the cases where it would require lots of extra work for | 266 // chrome, except for the cases where it would require lots of extra work for |
| 267 // the embedder to use the same default value. | 267 // the embedder to use the same default value. |
| 268 WebPreferences(); | 268 WebPreferences(); |
| 269 WebPreferences(const WebPreferences& other); | 269 WebPreferences(const WebPreferences& other); |
| 270 ~WebPreferences(); | 270 ~WebPreferences(); |
| 271 }; | 271 }; |
| 272 | 272 |
| 273 } // namespace content | 273 } // namespace content |
| 274 | 274 |
| 275 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 275 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
| OLD | NEW |