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

Unified Diff: public/web/WebInputEvent.h

Issue 307733002: use enum to specify deviceSource for fling animation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
« public/platform/Platform.h ('K') | « public/web/WebActiveWheelFlingParameters.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebInputEvent.h
diff --git a/public/web/WebInputEvent.h b/public/web/WebInputEvent.h
index 8f344812ca9ceb4dc71f7d9353a332860b0d396d..7d48c11c8445bd0a7bf2130a40a091f4bfa122b9 100644
--- a/public/web/WebInputEvent.h
+++ b/public/web/WebInputEvent.h
@@ -32,6 +32,7 @@
#define WebInputEvent_h
#include "../platform/WebCommon.h"
+#include "../platform/WebGestureDevice.h"
#include "../platform/WebRect.h"
#include "WebTouchPoint.h"
@@ -417,7 +418,9 @@ public:
int y;
int globalX;
int globalY;
- SourceDevice sourceDevice;
+ // TODO(rjkroege): Restore typing once chromium side lands
+ // (http://crbug.com/343327)
+ int sourceDevice;
union {
// Tap information must be set for GestureTap, GestureTapUnconfirmed,
« public/platform/Platform.h ('K') | « public/web/WebActiveWheelFlingParameters.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698