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

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

Issue 27750002: Add navigator.maxTouchPoints (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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: 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

Powered by Google App Engine
This is Rietveld 408576698