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

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: fix up nearby whitespace as darin requested Created 7 years, 1 month 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
« no previous file with comments | « 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 password_echo_enabled(false), 83 password_echo_enabled(false),
84 should_print_backgrounds(false), 84 should_print_backgrounds(false),
85 enable_scroll_animator(false), 85 enable_scroll_animator(false),
86 visual_word_movement_enabled(false), 86 visual_word_movement_enabled(false),
87 lazy_layout_enabled(false), 87 lazy_layout_enabled(false),
88 region_based_columns_enabled(false), 88 region_based_columns_enabled(false),
89 touch_enabled(false), 89 touch_enabled(false),
90 device_supports_touch(false), 90 device_supports_touch(false),
91 device_supports_mouse(true), 91 device_supports_mouse(true),
92 touch_adjustment_enabled(true), 92 touch_adjustment_enabled(true),
93 pointer_events_max_touch_points(0),
93 fixed_position_creates_stacking_context(false), 94 fixed_position_creates_stacking_context(false),
94 sync_xhr_in_documents_enabled(true), 95 sync_xhr_in_documents_enabled(true),
95 deferred_image_decoding_enabled(false), 96 deferred_image_decoding_enabled(false),
96 should_respect_image_orientation(false), 97 should_respect_image_orientation(false),
97 number_of_cpu_cores(1), 98 number_of_cpu_cores(1),
98 #if defined(OS_MACOSX) 99 #if defined(OS_MACOSX)
99 editing_behavior(webkit_glue::EDITING_BEHAVIOR_MAC), 100 editing_behavior(webkit_glue::EDITING_BEHAVIOR_MAC),
100 #elif defined(OS_WIN) 101 #elif defined(OS_WIN)
101 editing_behavior(webkit_glue::EDITING_BEHAVIOR_WIN), 102 editing_behavior(webkit_glue::EDITING_BEHAVIOR_WIN),
102 #elif defined(OS_ANDROID) 103 #elif defined(OS_ANDROID)
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 COMPILE_ASSERT_MATCHING_ENUMS( 173 COMPILE_ASSERT_MATCHING_ENUMS(
173 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); 174 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac);
174 COMPILE_ASSERT_MATCHING_ENUMS( 175 COMPILE_ASSERT_MATCHING_ENUMS(
175 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); 176 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin);
176 COMPILE_ASSERT_MATCHING_ENUMS( 177 COMPILE_ASSERT_MATCHING_ENUMS(
177 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); 178 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix);
178 COMPILE_ASSERT_MATCHING_ENUMS( 179 COMPILE_ASSERT_MATCHING_ENUMS(
179 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); 180 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid);
180 181
181 } // namespace webkit_glue 182 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/common/webpreferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698