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