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 #include "content/public/common/web_preferences.h" | 5 #include "content/public/common/web_preferences.h" |
6 | 6 |
7 #include "base/strings/string_util.h" | 7 #include "base/strings/string_util.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "third_party/WebKit/public/web/WebSettings.h" | 10 #include "third_party/WebKit/public/web/WebSettings.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 strict_powerful_feature_restrictions(false), | 122 strict_powerful_feature_restrictions(false), |
123 allow_geolocation_on_insecure_origins(false), | 123 allow_geolocation_on_insecure_origins(false), |
124 strictly_block_blockable_mixed_content(false), | 124 strictly_block_blockable_mixed_content(false), |
125 block_mixed_plugin_content(false), | 125 block_mixed_plugin_content(false), |
126 password_echo_enabled(false), | 126 password_echo_enabled(false), |
127 should_print_backgrounds(false), | 127 should_print_backgrounds(false), |
128 should_clear_document_background(true), | 128 should_clear_document_background(true), |
129 enable_scroll_animator(false), | 129 enable_scroll_animator(false), |
130 touch_event_api_enabled(false), | 130 touch_event_api_enabled(false), |
131 device_supports_touch(false), | 131 device_supports_touch(false), |
132 device_supports_mouse(true), | |
133 touch_adjustment_enabled(true), | 132 touch_adjustment_enabled(true), |
134 pointer_events_max_touch_points(0), | 133 pointer_events_max_touch_points(0), |
135 available_pointer_types(0), | 134 available_pointer_types(0), |
136 primary_pointer_type(ui::POINTER_TYPE_NONE), | 135 primary_pointer_type(ui::POINTER_TYPE_NONE), |
137 available_hover_types(0), | 136 available_hover_types(0), |
138 primary_hover_type(ui::HOVER_TYPE_NONE), | 137 primary_hover_type(ui::HOVER_TYPE_NONE), |
139 sync_xhr_in_documents_enabled(true), | 138 sync_xhr_in_documents_enabled(true), |
140 should_respect_image_orientation(false), | 139 should_respect_image_orientation(false), |
141 number_of_cpu_cores(1), | 140 number_of_cpu_cores(1), |
142 #if defined(OS_MACOSX) | 141 #if defined(OS_MACOSX) |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 pictograph_font_family_map[kCommonScript] = | 231 pictograph_font_family_map[kCommonScript] = |
233 base::ASCIIToUTF16("Times New Roman"); | 232 base::ASCIIToUTF16("Times New Roman"); |
234 } | 233 } |
235 | 234 |
236 WebPreferences::WebPreferences(const WebPreferences& other) = default; | 235 WebPreferences::WebPreferences(const WebPreferences& other) = default; |
237 | 236 |
238 WebPreferences::~WebPreferences() { | 237 WebPreferences::~WebPreferences() { |
239 } | 238 } |
240 | 239 |
241 } // namespace content | 240 } // namespace content |
OLD | NEW |