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

Unified Diff: third_party/WebKit/Source/web/WebSettingsImpl.cpp

Issue 1841053002: Fix mouse wheel scrolling on PDFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment Created 4 years, 9 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: third_party/WebKit/Source/web/WebSettingsImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSettingsImpl.cpp b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
index 44ffa9d082e2cb2feebc7d763c1e765cee3dfb2a..b464582aeb80c98f96373987a456e50dc2113546 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -208,6 +208,11 @@ void WebSettingsImpl::setWebSecurityEnabled(bool enabled)
m_settings->setWebSecurityEnabled(enabled);
}
+void WebSettingsImpl::setWheelGesturesEnabled(bool enabled)
+{
+ m_settings->setWheelGesturesEnabled(enabled);
+}
+
void WebSettingsImpl::setJavaScriptCanOpenWindowsAutomatically(bool canOpenWindows)
{
m_settings->setJavaScriptCanOpenWindowsAutomatically(canOpenWindows);
@@ -692,6 +697,11 @@ bool WebSettingsImpl::mockGestureTapHighlightsEnabled() const
return m_settings->mockGestureTapHighlightsEnabled();
}
+bool WebSettingsImpl::wheelGesturesEnabled() const
+{
+ return m_settings->wheelGesturesEnabled();
+}
+
bool WebSettingsImpl::mainFrameResizesAreOrientationChanges() const
{
return m_devToolsEmulator->mainFrameResizesAreOrientationChanges();

Powered by Google App Engine
This is Rietveld 408576698