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

Unified Diff: ui/base/touch/touch_device_ozone.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_ozone.cc
diff --git a/ui/base/touch/touch_device_ozone.cc b/ui/base/touch/touch_device_ozone.cc
index 7cb2ecbcef9c20551abecdc41f03c5b53fcba2ef..6c0efa3ae352cd36bd4cf94e5d248abf65e40910 100644
--- a/ui/base/touch/touch_device_ozone.cc
+++ b/ui/base/touch/touch_device_ozone.cc
@@ -11,4 +11,12 @@ bool IsTouchDevicePresent() {
return true;
}
+bool CanDetectMaxTouchPoints() {
+ return false;
Rick Byers 2013/10/10 22:42:40 Hmm, I forgot about Ozone. I'll ask Sadrul if he
+}
+
+int MaxTouchPoints() {
+ return -1;
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698