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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 password_echo_enabled(false), | 82 password_echo_enabled(false), |
83 should_print_backgrounds(false), | 83 should_print_backgrounds(false), |
84 enable_scroll_animator(false), | 84 enable_scroll_animator(false), |
85 visual_word_movement_enabled(false), | 85 visual_word_movement_enabled(false), |
86 lazy_layout_enabled(false), | 86 lazy_layout_enabled(false), |
87 region_based_columns_enabled(false), | 87 region_based_columns_enabled(false), |
88 touch_enabled(false), | 88 touch_enabled(false), |
89 device_supports_touch(false), | 89 device_supports_touch(false), |
90 device_supports_mouse(true), | 90 device_supports_mouse(true), |
91 touch_adjustment_enabled(true), | 91 touch_adjustment_enabled(true), |
| 92 pointer_events_max_touch_points(0), |
92 fixed_position_creates_stacking_context(false), | 93 fixed_position_creates_stacking_context(false), |
93 sync_xhr_in_documents_enabled(true), | 94 sync_xhr_in_documents_enabled(true), |
94 deferred_image_decoding_enabled(false), | 95 deferred_image_decoding_enabled(false), |
95 should_respect_image_orientation(false), | 96 should_respect_image_orientation(false), |
96 number_of_cpu_cores(1), | 97 number_of_cpu_cores(1), |
97 #if defined(OS_MACOSX) | 98 #if defined(OS_MACOSX) |
98 editing_behavior(webkit_glue::EDITING_BEHAVIOR_MAC), | 99 editing_behavior(webkit_glue::EDITING_BEHAVIOR_MAC), |
99 #elif defined(OS_WIN) | 100 #elif defined(OS_WIN) |
100 editing_behavior(webkit_glue::EDITING_BEHAVIOR_WIN), | 101 editing_behavior(webkit_glue::EDITING_BEHAVIOR_WIN), |
101 #elif defined(OS_ANDROID) | 102 #elif defined(OS_ANDROID) |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 COMPILE_ASSERT_MATCHING_ENUMS( | 171 COMPILE_ASSERT_MATCHING_ENUMS( |
171 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); | 172 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); |
172 COMPILE_ASSERT_MATCHING_ENUMS( | 173 COMPILE_ASSERT_MATCHING_ENUMS( |
173 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); | 174 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); |
174 COMPILE_ASSERT_MATCHING_ENUMS( | 175 COMPILE_ASSERT_MATCHING_ENUMS( |
175 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); | 176 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); |
176 COMPILE_ASSERT_MATCHING_ENUMS( | 177 COMPILE_ASSERT_MATCHING_ENUMS( |
177 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); | 178 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); |
178 | 179 |
179 } // namespace webkit_glue | 180 } // namespace webkit_glue |
OLD | NEW |