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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 344203003: Replace loadWithOverviewMode settings with calls to shrinksViewportContentToFit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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/PageScaleConstraintsSet.cpp ('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 be306879779080c1174cd123c59ed2e11a2b8bc0..46e261be9e242ee4c61ad02abe56456ff6dbe805 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -235,9 +235,10 @@ void WebSettingsImpl::setImagesEnabled(bool enabled)
m_settings->setImagesEnabled(enabled);
}
+// FIXME: Remove setting.
void WebSettingsImpl::setLoadWithOverviewMode(bool enabled)
{
- m_settings->setLoadWithOverviewMode(enabled);
+ setShrinksViewportContentToFit(enabled);
}
void WebSettingsImpl::setPluginsEnabled(bool enabled)
« no previous file with comments | « Source/web/PageScaleConstraintsSet.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698