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

Unified Diff: content/browser/renderer_host/render_widget_host_unittest.cc

Issue 120513005: [Android] Perform eager gesture recognition on MotionEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More testing Created 6 years, 11 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/browser/renderer_host/render_widget_host_unittest.cc
diff --git a/content/browser/renderer_host/render_widget_host_unittest.cc b/content/browser/renderer_host/render_widget_host_unittest.cc
index 76ad79c3e3392d90087cdbe473356080f4f4cf04..7a50ed68218c89131f47e50392b3dfcae2366bcd 100644
--- a/content/browser/renderer_host/render_widget_host_unittest.cc
+++ b/content/browser/renderer_host/render_widget_host_unittest.cc
@@ -477,9 +477,9 @@ class TestView : public TestRenderWidgetHostView {
virtual void UnhandledWheelEvent(const WebMouseWheelEvent& event) OVERRIDE {
unhandled_wheel_event_ = event;
}
- virtual void GestureEventAck(int gesture_event_type,
+ virtual void GestureEventAck(const WebGestureEvent& event,
InputEventAckState ack_result) OVERRIDE {
- gesture_event_type_ = gesture_event_type;
+ gesture_event_type_ = event.type;
ack_result_ = ack_result;
}
virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698