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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 compositor_touch_hit_testing(true), | 115 compositor_touch_hit_testing(true), |
116 navigate_on_drag_drop(true), | 116 navigate_on_drag_drop(true), |
117 cookie_enabled(true), | 117 cookie_enabled(true), |
118 pepper_accelerated_video_decode_enabled(false) | 118 pepper_accelerated_video_decode_enabled(false) |
119 #if defined(OS_ANDROID) | 119 #if defined(OS_ANDROID) |
120 , | 120 , |
121 text_autosizing_enabled(true), | 121 text_autosizing_enabled(true), |
122 font_scale_factor(1.0f), | 122 font_scale_factor(1.0f), |
123 device_scale_adjustment(1.0f), | 123 device_scale_adjustment(1.0f), |
124 force_enable_zoom(false), | 124 force_enable_zoom(false), |
| 125 disallow_fullscreen_for_non_media_elements(false), |
125 double_tap_to_zoom_enabled(true), | 126 double_tap_to_zoom_enabled(true), |
126 user_gesture_required_for_media_playback(true), | 127 user_gesture_required_for_media_playback(true), |
127 support_deprecated_target_density_dpi(false), | 128 support_deprecated_target_density_dpi(false), |
128 use_legacy_background_size_shorthand_behavior(false), | 129 use_legacy_background_size_shorthand_behavior(false), |
129 wide_viewport_quirk(false), | 130 wide_viewport_quirk(false), |
130 use_wide_viewport(true), | 131 use_wide_viewport(true), |
131 viewport_meta_layout_size_quirk(false), | 132 viewport_meta_layout_size_quirk(false), |
132 viewport_meta_merge_content_quirk(false), | 133 viewport_meta_merge_content_quirk(false), |
133 viewport_meta_non_user_scalable_quirk(false), | 134 viewport_meta_non_user_scalable_quirk(false), |
134 viewport_meta_zero_values_quirk(false), | 135 viewport_meta_zero_values_quirk(false), |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 COMPILE_ASSERT_MATCHING_ENUMS( | 170 COMPILE_ASSERT_MATCHING_ENUMS( |
170 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); | 171 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); |
171 COMPILE_ASSERT_MATCHING_ENUMS( | 172 COMPILE_ASSERT_MATCHING_ENUMS( |
172 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); | 173 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); |
173 COMPILE_ASSERT_MATCHING_ENUMS( | 174 COMPILE_ASSERT_MATCHING_ENUMS( |
174 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); | 175 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); |
175 COMPILE_ASSERT_MATCHING_ENUMS( | 176 COMPILE_ASSERT_MATCHING_ENUMS( |
176 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); | 177 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); |
177 | 178 |
178 } // namespace webkit_glue | 179 } // namespace webkit_glue |
OLD | NEW |