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

Unified Diff: ui/events/gestures/motion_event_aura.cc

Issue 2163453002: mus: Change PointerWatcher to watch for all events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add back location Created 4 years, 5 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: ui/events/gestures/motion_event_aura.cc
diff --git a/ui/events/gestures/motion_event_aura.cc b/ui/events/gestures/motion_event_aura.cc
index 965f6a0a9948f0e15d9e3bdad68dba235e95aba8..3972689a5db9476b523373df837dab6c698fd99e 100644
--- a/ui/events/gestures/motion_event_aura.cc
+++ b/ui/events/gestures/motion_event_aura.cc
@@ -21,9 +21,9 @@ MotionEvent::ToolType EventPointerTypeToMotionEventToolType(
return MotionEvent::TOOL_TYPE_STYLUS;
case EventPointerType::POINTER_TYPE_TOUCH:
return MotionEvent::TOOL_TYPE_FINGER;
+ default:
+ return MotionEvent::TOOL_TYPE_UNKNOWN;
}
-
- return MotionEvent::TOOL_TYPE_UNKNOWN;
}
PointerProperties GetPointerPropertiesFromTouchEvent(const TouchEvent& touch) {

Powered by Google App Engine
This is Rietveld 408576698