Chromium Code Reviews| Index: ui/compositor/compositor.cc |
| =================================================================== |
| --- ui/compositor/compositor.cc (revision 160227) |
| +++ 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)); |
|
piman
2012/10/05 00:01:08
Do we really want to pinch-zoom the UI?
Jeff Timanus
2012/10/05 00:05:34
I'm not sure if I understand your question. This
piman
2012/10/05 00:25:51
This is the UI's compositor. Why are we doing anyt
Jeff Timanus
2012/10/05 15:37:50
Ah. It's possible that I did not understand the d
|
| if (use_thread) |
| g_compositor_thread = new webkit_glue::WebThreadImpl("Browser Compositor"); |
| compositor_support->initialize(g_compositor_thread); |