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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 453893002: Add a force-layout-height-to-zero layout mode to WebViewImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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/WebViewImpl.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 03049dca841227e49d99088224db8dd4bf20fd7b..18272c01059439f0fd8734fd92c154f5a472d929 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -74,6 +74,11 @@ void WebSettingsImpl::setFixedFontFamily(const WebString& font, UScriptCode scri
m_settings->notifyGenericFontFamilyChange();
}
+void WebSettingsImpl::setForceZeroLayoutHeight(bool enabled)
+{
+ m_settings->setForceZeroLayoutHeight(enabled);
+}
+
void WebSettingsImpl::setFullscreenSupported(bool enabled)
{
m_settings->setFullscreenSupported(enabled);
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698