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

Unified Diff: ui/base/touch/touch_device.cc

Issue 26764002: Chromium side of maxTouchPoints implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/touch/touch_device.cc
diff --git a/ui/base/touch/touch_device.cc b/ui/base/touch/touch_device.cc
index de7785cb40a5a8dd018fc3a67e83c95c11a8e56d..6767b81ea4519758b727c619d9ed06e1c7e63f08 100644
--- a/ui/base/touch/touch_device.cc
+++ b/ui/base/touch/touch_device.cc
@@ -12,4 +12,12 @@ bool IsTouchDevicePresent() {
return false;
}
+bool CanDetectMaxTouchPoints() {
+ return false;
+}
+
+int MaxTouchPoints() {
+ return -1;
Rick Byers 2013/10/10 22:42:40 I think you can safely return 0 here (and true abo
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698