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

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