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

Unified Diff: ash/touch/touch_uma.cc

Issue 268483004: events: Remove stationary touch-event type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/aura/gestures/gesture_recognizer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/touch/touch_uma.cc
diff --git a/ash/touch/touch_uma.cc b/ash/touch/touch_uma.cc
index d36ecf78c3fb5a7739739e9a6b16dd971c6a12eb..4b8cdfbc5bba6429f46328df558de3a8b542df9d 100644
--- a/ash/touch/touch_uma.cc
+++ b/ash/touch/touch_uma.cc
@@ -28,7 +28,7 @@ enum UMAEventType {
UMA_ET_TOUCH_RELEASED,
UMA_ET_TOUCH_PRESSED,
UMA_ET_TOUCH_MOVED,
- UMA_ET_TOUCH_STATIONARY,
+ UMA_ET_TOUCH_STATIONARY, // Deprecated. Do not remove.
UMA_ET_TOUCH_CANCELLED,
UMA_ET_GESTURE_SCROLL_BEGIN,
UMA_ET_GESTURE_SCROLL_END,
@@ -104,8 +104,6 @@ UMAEventType UMAEventTypeFromEvent(const ui::Event& event) {
return UMA_ET_TOUCH_PRESSED;
case ui::ET_TOUCH_MOVED:
return UMA_ET_TOUCH_MOVED;
- case ui::ET_TOUCH_STATIONARY:
- return UMA_ET_TOUCH_STATIONARY;
case ui::ET_TOUCH_CANCELLED:
return UMA_ET_TOUCH_CANCELLED;
case ui::ET_GESTURE_SCROLL_BEGIN:
« no previous file with comments | « no previous file | ui/aura/gestures/gesture_recognizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698