Index: ui/base/touch/touch_device_win.cc |
diff --git a/ui/base/touch/touch_device_win.cc b/ui/base/touch/touch_device_win.cc |
index c07fbe9a0bcdb4fd0046089038cd863a1745ca00..43d51cc528b74acbb347f7345fe0b6a9050b0af1 100644 |
--- a/ui/base/touch/touch_device_win.cc |
+++ b/ui/base/touch/touch_device_win.cc |
@@ -14,4 +14,12 @@ bool IsTouchDevicePresent() { |
((value & NID_INTEGRATED_TOUCH) || (value & NID_EXTERNAL_TOUCH)); |
} |
+bool CanDetectMaxTouchPoints() { |
+ return true; |
+} |
+ |
+int MaxTouchPoints() { |
+ return GetSystemMetrics(SM_MAXIMUMTOUCHES); |
+} |
+ |
} // namespace ui |