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

Unified Diff: ui/compositor/compositor.cc

Issue 10916279: Chromium compositor change implementing page-scale driven pinch-zoom. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Change m_unpinchedViewportSize and remove unnecessary >1 page scale clamping. Created 8 years, 3 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
Index: ui/compositor/compositor.cc
===================================================================
--- ui/compositor/compositor.cc (revision 159486)
+++ ui/compositor/compositor.cc (working copy)
@@ -186,6 +186,8 @@
command_line->HasSwitch(switches::kUIEnablePartialSwap));
compositor_support->setPerTilePaintingEnabled(
command_line->HasSwitch(switches::kUIEnablePerTilePainting));
+ compositor_support->setPageScalePinchZoomEnabled(
+ command_line->HasSwitch(switches::kEnablePinchInCompositor));
if (use_thread)
g_compositor_thread = new webkit_glue::WebThreadImpl("Browser Compositor");
compositor_support->initialize(g_compositor_thread);

Powered by Google App Engine
This is Rietveld 408576698