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

Unified Diff: content/common/view_messages.h

Issue 8399009: Add support for touch based zoom gesture on Windows. This change also handles the WM_POINTERDOWN (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: content/common/view_messages.h
===================================================================
--- content/common/view_messages.h (revision 107314)
+++ content/common/view_messages.h (working copy)
@@ -926,6 +926,12 @@
IPC_MESSAGE_ROUTED1(ViewMsg_SetZoomLevel,
double /* zoom_level */)
+// Zooms the page by the factor defined in the renderer.
+IPC_MESSAGE_ROUTED3(ViewMsg_ZoomFactor,
+ PageZoom::Function,
+ int /* zoom center_x */,
+ int /* zoom center_y */)
+
// Set the zoom level for a particular url that the renderer is in the
// process of loading. This will be stored, to be used if the load commits
// and ignored otherwise.

Powered by Google App Engine
This is Rietveld 408576698