| 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/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 10 #include "third_party/WebKit/public/web/WebSettings.h" | 10 #include "third_party/WebKit/public/web/WebSettings.h" |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 navigate_on_drag_drop(true), | 131 navigate_on_drag_drop(true), |
| 132 cookie_enabled(true), | 132 cookie_enabled(true), |
| 133 pepper_accelerated_video_decode_enabled(false) | 133 pepper_accelerated_video_decode_enabled(false) |
| 134 #if defined(OS_ANDROID) | 134 #if defined(OS_ANDROID) |
| 135 , | 135 , |
| 136 text_autosizing_enabled(true), | 136 text_autosizing_enabled(true), |
| 137 font_scale_factor(1.0f), | 137 font_scale_factor(1.0f), |
| 138 device_scale_adjustment(1.0f), | 138 device_scale_adjustment(1.0f), |
| 139 force_enable_zoom(false), | 139 force_enable_zoom(false), |
| 140 disallow_fullscreen_for_non_media_elements(false), | 140 disallow_fullscreen_for_non_media_elements(false), |
| 141 fullscreen_supported(true), |
| 141 double_tap_to_zoom_enabled(true), | 142 double_tap_to_zoom_enabled(true), |
| 142 user_gesture_required_for_media_playback(true), | 143 user_gesture_required_for_media_playback(true), |
| 143 support_deprecated_target_density_dpi(false), | 144 support_deprecated_target_density_dpi(false), |
| 144 use_legacy_background_size_shorthand_behavior(false), | 145 use_legacy_background_size_shorthand_behavior(false), |
| 145 wide_viewport_quirk(false), | 146 wide_viewport_quirk(false), |
| 146 use_wide_viewport(true), | 147 use_wide_viewport(true), |
| 147 viewport_meta_layout_size_quirk(false), | 148 viewport_meta_layout_size_quirk(false), |
| 148 viewport_meta_merge_content_quirk(false), | 149 viewport_meta_merge_content_quirk(false), |
| 149 viewport_meta_non_user_scalable_quirk(false), | 150 viewport_meta_non_user_scalable_quirk(false), |
| 150 viewport_meta_zero_values_quirk(false), | 151 viewport_meta_zero_values_quirk(false), |
| (...skipping 10 matching lines...) Expand all Loading... |
| 161 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); | 162 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); |
| 162 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); | 163 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); |
| 163 pictograph_font_family_map[kCommonScript] = | 164 pictograph_font_family_map[kCommonScript] = |
| 164 base::ASCIIToUTF16("Times New Roman"); | 165 base::ASCIIToUTF16("Times New Roman"); |
| 165 } | 166 } |
| 166 | 167 |
| 167 WebPreferences::~WebPreferences() { | 168 WebPreferences::~WebPreferences() { |
| 168 } | 169 } |
| 169 | 170 |
| 170 } // namespace content | 171 } // namespace content |
| OLD | NEW |