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

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

Issue 20598008: Add maxTouchPoints for pointer events (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add maxTouchPoints for pointer events 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
« no previous file with comments | « Source/core/frame/Navigator.h ('k') | Source/core/frame/Navigator.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Navigator.cpp
diff --git a/Source/core/frame/Navigator.cpp b/Source/core/frame/Navigator.cpp
index 7d93cde263ebee9164ce1440b5387a53b6510742..1b1e61288a94240d11428ef1c8f2d7c433d32632 100644
--- a/Source/core/frame/Navigator.cpp
+++ b/Source/core/frame/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
« no previous file with comments | « Source/core/frame/Navigator.h ('k') | Source/core/frame/Navigator.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698