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

Unified Diff: webkit/glue/webpreferences.cc

Issue 12217134: [Android WebView] Implement WebSettings.{get|set}LoadWithOverviewMode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added comment for the message Created 7 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
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpreferences.cc
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index 6fc88df4b953b53b1b6e6cb00a14565677e72bfe..8dffec0b1cde9fc04fbb6bc0ce71d38c244072f0 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -144,6 +144,7 @@ WebPreferences::WebPreferences()
#endif
supports_multiple_windows(true),
viewport_enabled(false),
+ initialize_at_minimum_page_scale(true),
record_rendering_stats(false),
cookie_enabled(true)
#if defined(OS_ANDROID)
@@ -488,6 +489,7 @@ void WebPreferences::Apply(WebView* web_view) const {
settings->setSupportsMultipleWindows(supports_multiple_windows);
settings->setViewportEnabled(viewport_enabled);
+ settings->setInitializeAtMinimumPageScale(initialize_at_minimum_page_scale);
#if defined(OS_ANDROID)
settings->setAllowCustomScrollbarInMainFrame(false);
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698