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