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

Unified Diff: content/browser/renderer_host/input/gesture_event_packet.h

Issue 181833003: [Android] Out with the Android GR, in with the new unified C++ GR (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup and rebase Created 6 years, 10 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/input/gesture_event_packet.h
diff --git a/content/browser/renderer_host/input/gesture_event_packet.h b/content/browser/renderer_host/input/gesture_event_packet.h
index bebe099d86fb85f697633bfb2027d843d296bcdb..0c6cadf3db147c57c00967529f67ad76201970ab 100644
--- a/content/browser/renderer_host/input/gesture_event_packet.h
+++ b/content/browser/renderer_host/input/gesture_event_packet.h
@@ -8,6 +8,10 @@
#include "content/common/content_export.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
+namespace ui {
+class MotionEvent;
+}
+
namespace content {
// Acts as a transport container for gestures created (directly or indirectly)
@@ -31,7 +35,7 @@ class CONTENT_EXPORT GestureEventPacket {
GestureEventPacket& operator=(const GestureEventPacket& other);
// Factory methods for creating a packet from a particular event.
- static GestureEventPacket FromTouch(const blink::WebTouchEvent& event);
+ static GestureEventPacket FromTouch(const ui::MotionEvent& event);
static GestureEventPacket FromTouchTimeout(
const blink::WebGestureEvent& event);

Powered by Google App Engine
This is Rietveld 408576698