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

Unified Diff: trunk/src/content/browser/renderer_host/render_widget_host_impl.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
Index: trunk/src/content/browser/renderer_host/render_widget_host_impl.h
===================================================================
--- trunk/src/content/browser/renderer_host/render_widget_host_impl.h (revision 236262)
+++ trunk/src/content/browser/renderer_host/render_widget_host_impl.h (working copy)
@@ -25,8 +25,8 @@
#include "build/build_config.h"
#include "content/browser/renderer_host/input/input_ack_handler.h"
#include "content/browser/renderer_host/input/input_router_client.h"
+#include "content/browser/renderer_host/synthetic_gesture_controller.h"
#include "content/common/browser_rendering_stats.h"
-#include "content/common/input/synthetic_gesture_packet.h"
#include "content/common/view_message_enums.h"
#include "content/port/browser/event_with_latency_info.h"
#include "content/port/common/input_event_ack_state.h"
@@ -511,6 +511,8 @@
return overscroll_controller_.get();
}
+ base::TimeDelta GetSyntheticGestureMessageInterval() const;
+
// Sets whether the overscroll controller should be enabled for this page.
void SetOverscrollControllerEnabled(bool enabled);
@@ -658,7 +660,10 @@
gfx::Vector2dF current_fling_velocity);
void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
void OnUpdateIsDelayed();
- void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet);
+ void OnBeginSmoothScroll(
+ const ViewHostMsg_BeginSmoothScroll_Params& params);
+ void OnBeginPinch(
+ const ViewHostMsg_BeginPinch_Params& params);
virtual void OnFocus();
virtual void OnBlur();
void OnSetCursor(const WebCursor& cursor);
@@ -898,7 +903,7 @@
base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
- scoped_ptr<SyntheticGestureController> synthetic_gesture_controller_;
+ SyntheticGestureController synthetic_gesture_controller_;
// Receives and handles all input events.
scoped_ptr<InputRouter> input_router_;

Powered by Google App Engine
This is Rietveld 408576698