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

Unified Diff: trunk/src/content/port/browser/render_widget_host_view_port.h

Issue 79143002: Revert 236254 "Replace old with new synthetic gesture framework." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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 | « trunk/src/content/content_tests.gypi ('k') | trunk/src/content/port/browser/synthetic_gesture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « trunk/src/content/content_tests.gypi ('k') | trunk/src/content/port/browser/synthetic_gesture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698