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

Unified Diff: Source/core/page/Navigator.cpp

Issue 20598008: Add maxTouchPoints for pointer events (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: maxTouchPoints the right way 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: Source/core/page/Navigator.cpp
diff --git a/Source/core/page/Navigator.cpp b/Source/core/page/Navigator.cpp
index 6814a10859fc0ab1d08d29bca34e3b8dd54432e2..f30958abf9cd8835740468d802a5577972860143 100644
--- a/Source/core/page/Navigator.cpp
+++ b/Source/core/page/Navigator.cpp
@@ -160,4 +160,9 @@ void Navigator::getStorageUpdates()
// FIXME: Remove this method or rename to yieldForStorageUpdates.
}
+long Navigator::maxTouchPoints() const
+{
+ return m_frame->page()->settings().maxTouchPoints();
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698