| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 disable_reading_from_canvas(false), | 120 disable_reading_from_canvas(false), |
| 121 strict_mixed_content_checking(false), | 121 strict_mixed_content_checking(false), |
| 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_feature_detection_enabled(false), |
| 131 device_supports_touch(false), | 131 device_supports_touch(false), |
| 132 device_supports_mouse(true), | 132 device_supports_mouse(true), |
| 133 touch_adjustment_enabled(true), | 133 touch_adjustment_enabled(true), |
| 134 pointer_events_max_touch_points(0), | 134 pointer_events_max_touch_points(0), |
| 135 available_pointer_types(0), | 135 available_pointer_types(0), |
| 136 primary_pointer_type(ui::POINTER_TYPE_NONE), | 136 primary_pointer_type(ui::POINTER_TYPE_NONE), |
| 137 available_hover_types(0), | 137 available_hover_types(0), |
| 138 primary_hover_type(ui::HOVER_TYPE_NONE), | 138 primary_hover_type(ui::HOVER_TYPE_NONE), |
| 139 sync_xhr_in_documents_enabled(true), | 139 sync_xhr_in_documents_enabled(true), |
| 140 should_respect_image_orientation(false), | 140 should_respect_image_orientation(false), |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 pictograph_font_family_map[kCommonScript] = | 233 pictograph_font_family_map[kCommonScript] = |
| 234 base::ASCIIToUTF16("Times New Roman"); | 234 base::ASCIIToUTF16("Times New Roman"); |
| 235 } | 235 } |
| 236 | 236 |
| 237 WebPreferences::WebPreferences(const WebPreferences& other) = default; | 237 WebPreferences::WebPreferences(const WebPreferences& other) = default; |
| 238 | 238 |
| 239 WebPreferences::~WebPreferences() { | 239 WebPreferences::~WebPreferences() { |
| 240 } | 240 } |
| 241 | 241 |
| 242 } // namespace content | 242 } // namespace content |
| OLD | NEW |