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

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

Issue 1724103002: Reverting changes that made window.scroll properties relative to the layout viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2623
Patch Set: 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 9259522e70db182efa19d78ae16c34f9756f6663..d2eb8d2becd34bf8f1a6ad4785ccff373163de97 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -184,6 +184,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