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

Unified Diff: content/browser/renderer_host/input/web_input_event_util.cc

Issue 304793003: use enum to specify deviceSource for fling animation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased for parallel breaking changes 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
Index: content/browser/renderer_host/input/web_input_event_util.cc
diff --git a/content/browser/renderer_host/input/web_input_event_util.cc b/content/browser/renderer_host/input/web_input_event_util.cc
index 611ee4d1a43501f6ac1862f99a6283e26da3d2f7..0ddfc01709ed97ed2cd53d968c233de33fdd107c 100644
--- a/content/browser/renderer_host/input/web_input_event_util.cc
+++ b/content/browser/renderer_host/input/web_input_event_util.cc
@@ -239,7 +239,7 @@ WebGestureEvent CreateWebGestureEventFromGestureEventData(
gesture.x = data.x;
gesture.y = data.y;
gesture.timeStampSeconds = (data.time - base::TimeTicks()).InSecondsF();
- gesture.sourceDevice = WebGestureEvent::Touchscreen;
+ gesture.sourceDevice = blink::WebGestureDeviceTouchscreen;
switch (data.type) {
case ui::ET_GESTURE_SHOW_PRESS:

Powered by Google App Engine
This is Rietveld 408576698