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

Unified Diff: public/web/WebInputEvent.h

Issue 304823002: 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
« no previous file with comments | « 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 7d48c11c8445bd0a7bf2130a40a091f4bfa122b9..58c4a0bb39e1d8230b7d4ec08ad94a54f7d0dde5 100644
--- a/public/web/WebInputEvent.h
+++ b/public/web/WebInputEvent.h
@@ -409,18 +409,11 @@ public:
class WebGestureEvent : public WebInputEvent {
public:
- enum SourceDevice {
- Touchpad,
- Touchscreen,
- };
-
int x;
int y;
int globalX;
int globalY;
- // TODO(rjkroege): Restore typing once chromium side lands
- // (http://crbug.com/343327)
- int sourceDevice;
+ WebGestureDevice sourceDevice;
union {
// Tap information must be set for GestureTap, GestureTapUnconfirmed,
« no previous file with comments | « public/web/WebActiveWheelFlingParameters.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698