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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 1202763005: Scroll only visual viewport during OSX pinch gesture behind flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/web/WebSettingsImpl.h ('k') | Source/web/tests/PinchViewportTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index be93bb613e1dcecfb14b90261f71ab2f75d2c051..157521f298252101de8789ca39159925aaf94365 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -180,6 +180,11 @@ void WebSettingsImpl::setInlineTextBoxAccessibilityEnabled(bool enabled)
m_settings->setInlineTextBoxAccessibilityEnabled(enabled);
}
+void WebSettingsImpl::setInvertViewportScrollOrder(bool enabled)
+{
+ m_settings->setInvertViewportScrollOrder(enabled);
+}
+
void WebSettingsImpl::setDeviceScaleAdjustment(float deviceScaleAdjustment)
{
m_devToolsEmulator->setDeviceScaleAdjustment(deviceScaleAdjustment);
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/tests/PinchViewportTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698