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