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

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

Issue 1712743002: Revert "Make window.scroll properties relative to the layout viewport by default." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix failing test Created 4 years, 10 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 a7e348cb3e6acbd29b9a6eb92ff6b9d9dba53382..2a36fbc2e28c01addb3a031853cfd80cab5db7ac 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -183,6 +183,11 @@ void WebSettingsImpl::setInlineTextBoxAccessibilityEnabled(bool enabled)
m_settings->setInlineTextBoxAccessibilityEnabled(enabled);
}
+void WebSettingsImpl::setInertVisualViewport(bool enabled)
+{
+ m_settings->setInertVisualViewport(enabled);
+}
+
void WebSettingsImpl::setDeviceScaleAdjustment(float deviceScaleAdjustment)
{
m_devToolsEmulator->setDeviceScaleAdjustment(deviceScaleAdjustment);
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/Source/web/tests/VisualViewportTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698