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

Unified Diff: webkit/glue/webpreferences.cc

Issue 10916279: Chromium compositor change implementing page-scale driven pinch-zoom. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebaselined to 160422. Created 8 years, 2 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
===================================================================
--- webkit/glue/webpreferences.cc (revision 160422)
+++ webkit/glue/webpreferences.cc (working copy)
@@ -120,7 +120,8 @@
fixed_position_creates_stacking_context(false),
sync_xhr_in_documents_enabled(true),
number_of_cpu_cores(1),
- cookie_enabled(true) {
+ cookie_enabled(true),
+ apply_page_scale_factor_in_compositor(false) {
standard_font_family_map[kCommonScript] =
ASCIIToUTF16("Times New Roman");
fixed_font_family_map[kCommonScript] =
@@ -249,6 +250,8 @@
settings->setDefaultTextEncodingName(ASCIIToUTF16(default_encoding));
settings->setApplyDefaultDeviceScaleFactorInCompositor(
apply_default_device_scale_factor_in_compositor);
+ settings->setApplyPageScaleFactorInCompositor(
+ apply_page_scale_factor_in_compositor);
settings->setJavaScriptEnabled(javascript_enabled);
settings->setWebSecurityEnabled(web_security_enabled);
settings->setJavaScriptCanOpenWindowsAutomatically(
@@ -433,6 +436,9 @@
settings->setFixedPositionCreatesStackingContext(
fixed_position_creates_stacking_context);
+ settings->setApplyPageScaleFactorInCompositor(
+ apply_page_scale_factor_in_compositor);
+
WebNetworkStateNotifier::setOnLine(is_online);
}
« 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