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

Unified Diff: content/renderer/render_view_impl.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/renderer/render_view_impl.h
===================================================================
--- content/renderer/render_view_impl.h (revision 107314)
+++ content/renderer/render_view_impl.h (working copy)
@@ -862,6 +862,9 @@
void OnSelectPopupMenuItem(int selected_index);
#endif
void OnZoom(PageZoom::Function function);
+ void OnZoomFactor(PageZoom::Function function, int zoom_center_x,
+ int zoom_center_y);
+
void OnEnableViewSourceMode();
void OnJavaBridgeInit(const IPC::ChannelHandle& channel_handle);
@@ -870,6 +873,8 @@
// and put it in the same position in the .cc file.
// Misc private functions ----------------------------------------------------
+ void ZoomFactorHelper(PageZoom::Function function, int zoom_center_x,
+ int zoom_center_y, float scaling_increment);
void AltErrorPageFinished(WebKit::WebFrame* frame,
const WebKit::WebURLError& original_error,

Powered by Google App Engine
This is Rietveld 408576698