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

Unified Diff: components/test_runner/event_sender.cc

Issue 1403893003: Plumb gesture source value through Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments: never use uninitialized, track fling source device. Created 5 years, 2 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: components/test_runner/event_sender.cc
diff --git a/components/test_runner/event_sender.cc b/components/test_runner/event_sender.cc
index a2e55d58e54f67f67dc8ac9ea62e324be0a0b264..9c5fa8c9e344bf623afe21822f6f974d27d6a6e3 100644
--- a/components/test_runner/event_sender.cc
+++ b/components/test_runner/event_sender.cc
@@ -1657,6 +1657,7 @@ void EventSender::DumpFilenameBeingDragged() {
void EventSender::GestureFlingCancel() {
WebGestureEvent event;
event.type = WebInputEvent::GestureFlingCancel;
+ event.sourceDevice = blink::WebGestureDeviceTouchpad;
tdresser 2015/10/14 17:18:56 In an ideal world I think we'd have GestureFlingCa
wjmaclean 2015/10/14 18:03:28 I'll add a not for now. It's a bunch of additional
event.timeStampSeconds = GetCurrentEventTimeSec();
if (force_layout_on_events_)
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | content/renderer/input/input_handler_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698