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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 23038013: [Android WebView] Avoid expanding layout width to match the old WebView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed aelias' comments Created 7 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 b0d0daffc21ebcb7d75e94cfbf3ac81060e9e971..fb74fc310115407cbcd6fe1eeeac2240a8e5683e 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -56,6 +56,7 @@ WebSettingsImpl::WebSettingsImpl(Settings* settings)
, m_deferredImageDecodingEnabled(false)
, m_doubleTapToZoomEnabled(false)
, m_supportDeprecatedTargetDensityDPI(false)
+ , m_viewportMetaLayoutSizeQuirk(false)
, m_pinchOverlayScrollbarThickness(0)
{
ASSERT(settings);
@@ -181,6 +182,11 @@ void WebSettingsImpl::setSupportDeprecatedTargetDensityDPI(bool supportDeprecate
m_supportDeprecatedTargetDensityDPI = supportDeprecatedTargetDensityDPI;
}
+void WebSettingsImpl::setViewportMetaLayoutSizeQuirk(bool viewportMetaLayoutSizeQuirk)
+{
+ m_viewportMetaLayoutSizeQuirk = viewportMetaLayoutSizeQuirk;
+}
+
void WebSettingsImpl::setSupportsMultipleWindows(bool supportsMultipleWindows)
{
m_settings->setSupportsMultipleWindows(supportsMultipleWindows);
« 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