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

Unified Diff: webkit/compositor_bindings/web_compositor_support_impl.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/compositor_bindings/web_compositor_support_impl.h ('k') | webkit/glue/webpreferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/web_compositor_support_impl.cc
===================================================================
--- webkit/compositor_bindings/web_compositor_support_impl.cc (revision 160422)
+++ webkit/compositor_bindings/web_compositor_support_impl.cc (working copy)
@@ -121,6 +121,13 @@
#endif
}
+void WebCompositorSupportImpl::setPageScalePinchZoomEnabled(bool enabled) {
+#if defined(USE_LIBCC_FOR_COMPOSITOR)
+ WebCompositorImpl::setPageScalePinchZoomEnabled(enabled);
+#else
+ WebCompositor::setPageScalePinchZoomEnabled(enabled);
+#endif
+}
WebLayerTreeView* WebCompositorSupportImpl::createLayerTreeView(
WebLayerTreeViewClient* client, const WebLayer& root,
« no previous file with comments | « webkit/compositor_bindings/web_compositor_support_impl.h ('k') | webkit/glue/webpreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698