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

Unified Diff: content/browser/renderer_host/ui_events_helper.cc

Issue 11740009: Removed references to the old sourceDevice field (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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/ui_events_helper.cc
diff --git a/content/browser/renderer_host/ui_events_helper.cc b/content/browser/renderer_host/ui_events_helper.cc
index b555837278e5cc8715fc0e97840b1995bad2a71d..935846323d66934d3ddfeb70abcda9fd304ad3c6 100644
--- a/content/browser/renderer_host/ui_events_helper.cc
+++ b/content/browser/renderer_host/ui_events_helper.cc
@@ -189,11 +189,6 @@ WebKit::WebGestureEvent MakeWebGestureEventFromUIEvent(
gesture_event.type = WebKit::WebInputEvent::GestureFlingStart;
gesture_event.data.flingStart.velocityX = event.details().velocity_x();
gesture_event.data.flingStart.velocityY = event.details().velocity_y();
- // FIXME(mohsen || rjkroege): Remove following line after removing uses of
- // flingStart.sourceDevice in WebKit, but before removing the field
- // itself.
- gesture_event.data.flingStart.sourceDevice =
- WebKit::WebGestureEvent::Touchscreen;
break;
case ui::ET_SCROLL_FLING_CANCEL:
gesture_event.type = WebKit::WebInputEvent::GestureFlingCancel;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_unittest.cc ('k') | content/browser/renderer_host/web_input_event_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698