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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 27750002: Add navigator.maxTouchPoints (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove spuriously introduced newline. 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/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index 426d4cddbd53ba1c21921090073bc8437caefcf2..34bd25316153fa513ee3c52ef3a27dec3222203a 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -337,6 +337,11 @@ void WebSettingsImpl::setMainFrameClipsContent(bool enabled)
m_settings->setMainFrameClipsContent(enabled);
}
+void WebSettingsImpl::setMaxTouchPoints(int maxTouchPoints)
+{
+ m_settings->setMaxTouchPoints(maxTouchPoints);
+}
+
void WebSettingsImpl::setEditableLinkBehaviorNeverLive()
{
// FIXME: If you ever need more behaviors than this, then we should probably

Powered by Google App Engine
This is Rietveld 408576698