OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "webkit/common/webpreferences.h" | 5 #include "webkit/common/webpreferences.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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 spatial_navigation_enabled(false), | 118 spatial_navigation_enabled(false), |
119 experimental_websocket_enabled(false), | 119 experimental_websocket_enabled(false), |
120 pinch_virtual_viewport_enabled(false), | 120 pinch_virtual_viewport_enabled(false), |
121 pinch_overlay_scrollbar_thickness(0), | 121 pinch_overlay_scrollbar_thickness(0), |
122 use_solid_color_scrollbars(false), | 122 use_solid_color_scrollbars(false), |
123 compositor_touch_hit_testing(true), | 123 compositor_touch_hit_testing(true), |
124 cookie_enabled(true) | 124 cookie_enabled(true) |
125 #if defined(OS_ANDROID) | 125 #if defined(OS_ANDROID) |
126 , | 126 , |
127 text_autosizing_enabled(true), | 127 text_autosizing_enabled(true), |
128 text_autosizing_font_scale_factor(1.0f), | 128 font_scale_factor(1.0f), |
| 129 device_scale_adjustment(1.0f), |
129 force_enable_zoom(false), | 130 force_enable_zoom(false), |
130 double_tap_to_zoom_enabled(true), | 131 double_tap_to_zoom_enabled(true), |
131 user_gesture_required_for_media_playback(true), | 132 user_gesture_required_for_media_playback(true), |
132 user_gesture_required_for_media_fullscreen(true), | 133 user_gesture_required_for_media_fullscreen(true), |
133 support_deprecated_target_density_dpi(false), | 134 support_deprecated_target_density_dpi(false), |
134 use_legacy_background_size_shorthand_behavior(false), | 135 use_legacy_background_size_shorthand_behavior(false), |
135 wide_viewport_quirk(false), | 136 wide_viewport_quirk(false), |
136 use_wide_viewport(true), | 137 use_wide_viewport(true), |
137 viewport_meta_layout_size_quirk(false), | 138 viewport_meta_layout_size_quirk(false), |
138 viewport_meta_merge_content_quirk(false), | 139 viewport_meta_merge_content_quirk(false), |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 COMPILE_ASSERT_MATCHING_ENUMS( | 174 COMPILE_ASSERT_MATCHING_ENUMS( |
174 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); | 175 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); |
175 COMPILE_ASSERT_MATCHING_ENUMS( | 176 COMPILE_ASSERT_MATCHING_ENUMS( |
176 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); | 177 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); |
177 COMPILE_ASSERT_MATCHING_ENUMS( | 178 COMPILE_ASSERT_MATCHING_ENUMS( |
178 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); | 179 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); |
179 COMPILE_ASSERT_MATCHING_ENUMS( | 180 COMPILE_ASSERT_MATCHING_ENUMS( |
180 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); | 181 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); |
181 | 182 |
182 } // namespace webkit_glue | 183 } // namespace webkit_glue |
OLD | NEW |