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

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

Issue 223673006: Support GestureBegin and GestureEnd in ui::GestureProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address jdduke nits. Created 6 years, 8 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 | « no previous file | ui/events/gesture_detection/gesture_config_helper_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 75e762cce9bbe95df1463fc90d8be588c19250e6..37a0d60e7c29b0b048529df978ececb33bf2b111 100644
--- a/content/browser/renderer_host/input/web_input_event_util.cc
+++ b/content/browser/renderer_host/input/web_input_event_util.cc
@@ -331,6 +331,11 @@ WebGestureEvent CreateWebGestureEventFromGestureEventData(
gesture.data.tapDown.height =
data.details.bounding_box_f().height() * scale;
break;
+ case ui::ET_GESTURE_BEGIN:
+ case ui::ET_GESTURE_END:
+ NOTREACHED() << "ET_GESTURE_BEGIN and ET_GESTURE_END are only produced "
+ << "in Aura, and should never end up here.";
+ break;
default:
NOTREACHED() << "ui::EventType provided wasn't a valid gesture event.";
break;
« no previous file with comments | « no previous file | ui/events/gesture_detection/gesture_config_helper_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698