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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 #else | 119 #else |
120 smart_insert_delete_enabled(false), | 120 smart_insert_delete_enabled(false), |
121 #endif | 121 #endif |
122 spatial_navigation_enabled(false), | 122 spatial_navigation_enabled(false), |
123 experimental_websocket_enabled(false), | 123 experimental_websocket_enabled(false), |
124 pinch_virtual_viewport_enabled(false), | 124 pinch_virtual_viewport_enabled(false), |
125 pinch_overlay_scrollbar_thickness(0), | 125 pinch_overlay_scrollbar_thickness(0), |
126 use_solid_color_scrollbars(false), | 126 use_solid_color_scrollbars(false), |
127 compositor_touch_hit_testing(true), | 127 compositor_touch_hit_testing(true), |
128 navigate_on_drag_drop(true), | 128 navigate_on_drag_drop(true), |
129 cookie_enabled(true) | 129 cookie_enabled(true), |
| 130 accelerated_video_decode_enabled(false) |
130 #if defined(OS_ANDROID) | 131 #if defined(OS_ANDROID) |
131 , | 132 , |
132 text_autosizing_enabled(true), | 133 text_autosizing_enabled(true), |
133 font_scale_factor(1.0f), | 134 font_scale_factor(1.0f), |
134 device_scale_adjustment(1.0f), | 135 device_scale_adjustment(1.0f), |
135 force_enable_zoom(false), | 136 force_enable_zoom(false), |
136 double_tap_to_zoom_enabled(true), | 137 double_tap_to_zoom_enabled(true), |
137 user_gesture_required_for_media_playback(true), | 138 user_gesture_required_for_media_playback(true), |
138 user_gesture_required_for_media_fullscreen(true), | 139 user_gesture_required_for_media_fullscreen(true), |
139 support_deprecated_target_density_dpi(false), | 140 support_deprecated_target_density_dpi(false), |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 COMPILE_ASSERT_MATCHING_ENUMS( | 182 COMPILE_ASSERT_MATCHING_ENUMS( |
182 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); | 183 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); |
183 COMPILE_ASSERT_MATCHING_ENUMS( | 184 COMPILE_ASSERT_MATCHING_ENUMS( |
184 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); | 185 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); |
185 COMPILE_ASSERT_MATCHING_ENUMS( | 186 COMPILE_ASSERT_MATCHING_ENUMS( |
186 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); | 187 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); |
187 COMPILE_ASSERT_MATCHING_ENUMS( | 188 COMPILE_ASSERT_MATCHING_ENUMS( |
188 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); | 189 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); |
189 | 190 |
190 } // namespace webkit_glue | 191 } // namespace webkit_glue |
OLD | NEW |