Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: webkit/common/webpreferences.cc

Issue 26764002: Chromium side of maxTouchPoints implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add TODO to kMaxTouchPointsUnknown. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« ui/base/touch/touch_device.h ('K') | « webkit/common/webpreferences.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« ui/base/touch/touch_device.h ('K') | « webkit/common/webpreferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698