Index: ui/events/gesture_detection/gesture_provider.cc |
diff --git a/ui/events/gesture_detection/gesture_provider.cc b/ui/events/gesture_detection/gesture_provider.cc |
index b7cdb24bdd5fb685af84f3b4a29538ccdfb21286..f5f26981d6404bd9c9f4f9dda0de95fb4d20c04a 100644 |
--- a/ui/events/gesture_detection/gesture_provider.cc |
+++ b/ui/events/gesture_detection/gesture_provider.cc |
@@ -42,6 +42,16 @@ const char* GetMotionEventActionName(MotionEvent::Action action) { |
return "ACTION_CANCEL"; |
case MotionEvent::ACTION_MOVE: |
return "ACTION_MOVE"; |
+ case MotionEvent::ACTION_HOVER_ENTER: |
+ return "ACTION_HOVER_ENTER"; |
+ case MotionEvent::ACTION_HOVER_EXIT: |
+ return "ACTION_HOVER_EXIT"; |
+ case MotionEvent::ACTION_HOVER_MOVE: |
+ return "ACTION_HOVER_MOVE"; |
+ case MotionEvent::ACTION_BUTTON_PRESS: |
+ return "ACTION_BUTTON_PRESS"; |
+ case MotionEvent::ACTION_BUTTON_RELEASE: |
+ return "ACTION_BUTTON_RELEASE"; |
} |
return ""; |
} |
@@ -853,6 +863,11 @@ void GestureProvider::OnTouchEventHandlingBegin(const MotionEvent& event) { |
case MotionEvent::ACTION_MOVE: |
break; |
case MotionEvent::ACTION_NONE: |
+ case MotionEvent::ACTION_HOVER_ENTER: |
+ case MotionEvent::ACTION_HOVER_EXIT: |
+ case MotionEvent::ACTION_HOVER_MOVE: |
+ case MotionEvent::ACTION_BUTTON_PRESS: |
+ case MotionEvent::ACTION_BUTTON_RELEASE: |
NOTREACHED(); |
break; |
} |
@@ -881,6 +896,11 @@ void GestureProvider::OnTouchEventHandlingEnd(const MotionEvent& event) { |
case MotionEvent::ACTION_MOVE: |
break; |
case MotionEvent::ACTION_NONE: |
+ case MotionEvent::ACTION_HOVER_ENTER: |
+ case MotionEvent::ACTION_HOVER_EXIT: |
+ case MotionEvent::ACTION_HOVER_MOVE: |
+ case MotionEvent::ACTION_BUTTON_PRESS: |
+ case MotionEvent::ACTION_BUTTON_RELEASE: |
NOTREACHED(); |
break; |
} |