Index: trunk/src/content/port/browser/render_widget_host_view_port.h |
=================================================================== |
--- trunk/src/content/port/browser/render_widget_host_view_port.h (revision 236262) |
+++ trunk/src/content/port/browser/render_widget_host_view_port.h (working copy) |
@@ -270,6 +270,17 @@ |
virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
InputEventAckState ack_result) = 0; |
+ // Asks the view to create a synthetic gesture that will be used to |
+ // simulate a user-initiated scroll. |
+ virtual SyntheticGesture* CreateSmoothScrollGesture( |
+ bool scroll_down, int pixels_to_scroll, int mouse_event_x, |
+ int mouse_event_y) = 0; |
+ |
+ // Asks the view to create a synthetic gesture that will be used to |
+ // simulate a user-initiated pinch-to-zoom. |
+ virtual SyntheticGesture* CreatePinchGesture( |
+ bool zoom_in, int pixels_to_move, int anchor_x, int anchor_y) = 0; |
+ |
virtual void SetHasHorizontalScrollbar(bool has_horizontal_scrollbar) = 0; |
virtual void SetScrollOffsetPinning( |
bool is_pinned_to_left, bool is_pinned_to_right) = 0; |