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

Unified Diff: ui/base/dragdrop/drag_drop_types.h

Issue 800183005: Adding UMA stats for dragdrop events for both touch and mouse. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adressing nit re: unnecessary else statement Created 5 years, 11 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/base/dragdrop/drag_drop_types.h
diff --git a/ui/base/dragdrop/drag_drop_types.h b/ui/base/dragdrop/drag_drop_types.h
index c74d4e28a44b81bd9752cb55e0ad8a4037b25bd8..6b25f1323ca9670b79c6df927b9314e8b1b4b18e 100644
--- a/ui/base/dragdrop/drag_drop_types.h
+++ b/ui/base/dragdrop/drag_drop_types.h
@@ -20,9 +20,10 @@ class UI_BASE_EXPORT DragDropTypes {
};
enum DragEventSource {
- DRAG_EVENT_SOURCE_MOUSE,
+ DRAG_EVENT_SOURCE_MOUSE = 0,
DRAG_EVENT_SOURCE_TOUCH,
- DRAG_EVENT_SOURCE_LAST = DRAG_EVENT_SOURCE_TOUCH
+ DRAG_EVENT_SOURCE_LAST = DRAG_EVENT_SOURCE_TOUCH,
+ DRAG_EVENT_SOURCE_COUNT
};
#if defined(OS_WIN)
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698