| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 touch_enabled(false), | 132 touch_enabled(false), |
| 133 device_supports_touch(false), | 133 device_supports_touch(false), |
| 134 device_supports_mouse(true), | 134 device_supports_mouse(true), |
| 135 touch_adjustment_enabled(true), | 135 touch_adjustment_enabled(true), |
| 136 pointer_events_max_touch_points(0), | 136 pointer_events_max_touch_points(0), |
| 137 available_pointer_types(0), | 137 available_pointer_types(0), |
| 138 primary_pointer_type(ui::POINTER_TYPE_NONE), | 138 primary_pointer_type(ui::POINTER_TYPE_NONE), |
| 139 available_hover_types(0), | 139 available_hover_types(0), |
| 140 primary_hover_type(ui::HOVER_TYPE_NONE), | 140 primary_hover_type(ui::HOVER_TYPE_NONE), |
| 141 sync_xhr_in_documents_enabled(true), | 141 sync_xhr_in_documents_enabled(true), |
| 142 image_color_profiles_enabled(false), | |
| 143 should_respect_image_orientation(false), | 142 should_respect_image_orientation(false), |
| 144 number_of_cpu_cores(1), | 143 number_of_cpu_cores(1), |
| 145 #if defined(OS_MACOSX) | 144 #if defined(OS_MACOSX) |
| 146 editing_behavior(EDITING_BEHAVIOR_MAC), | 145 editing_behavior(EDITING_BEHAVIOR_MAC), |
| 147 #elif defined(OS_WIN) | 146 #elif defined(OS_WIN) |
| 148 editing_behavior(EDITING_BEHAVIOR_WIN), | 147 editing_behavior(EDITING_BEHAVIOR_WIN), |
| 149 #elif defined(OS_ANDROID) | 148 #elif defined(OS_ANDROID) |
| 150 editing_behavior(EDITING_BEHAVIOR_ANDROID), | 149 editing_behavior(EDITING_BEHAVIOR_ANDROID), |
| 151 #elif defined(OS_POSIX) | 150 #elif defined(OS_POSIX) |
| 152 editing_behavior(EDITING_BEHAVIOR_UNIX), | 151 editing_behavior(EDITING_BEHAVIOR_UNIX), |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 pictograph_font_family_map[kCommonScript] = | 229 pictograph_font_family_map[kCommonScript] = |
| 231 base::ASCIIToUTF16("Times New Roman"); | 230 base::ASCIIToUTF16("Times New Roman"); |
| 232 } | 231 } |
| 233 | 232 |
| 234 WebPreferences::WebPreferences(const WebPreferences& other) = default; | 233 WebPreferences::WebPreferences(const WebPreferences& other) = default; |
| 235 | 234 |
| 236 WebPreferences::~WebPreferences() { | 235 WebPreferences::~WebPreferences() { |
| 237 } | 236 } |
| 238 | 237 |
| 239 } // namespace content | 238 } // namespace content |
| OLD | NEW |