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

Unified Diff: ui/base/touch/touch_device_aurax11.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_aurax11.cc
diff --git a/ui/base/touch/touch_device_aurax11.cc b/ui/base/touch/touch_device_aurax11.cc
index 04d435e40a61fd375e8223bded042ed18a783e61..082fad9fb22cee7d79c6d6e5e092d7a9fe1287a5 100644
--- a/ui/base/touch/touch_device_aurax11.cc
+++ b/ui/base/touch/touch_device_aurax11.cc
@@ -11,4 +11,12 @@ bool IsTouchDevicePresent() {
return ui::TouchFactory::GetInstance()->IsTouchDevicePresent();
}
+bool CanDetectMaxTouchPoints() {
+ return false;
+}
+
+int MaxTouchPoints() {
+ return -1;
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698