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

Unified Diff: ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.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: All errors removed, Adding UMA stats to track usage of DragAndDrop on ChromeOS, X11, and Windows. A… 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/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
diff --git a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
index 880aa5d69772c5da2e29402b1360b4982927e62a..4c82a3114f6efdcf876166cdaaac695487826bd3 100644
--- a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
+++ b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h
@@ -6,7 +6,9 @@
#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_AURAX11_H_
#include <X11/Xlib.h>
+
#include <set>
+#include <utility>
mfomitchev 2015/01/13 17:01:25 Doesn't seem like this should be needed.
caelyn 2015/01/13 23:48:58 Added because lint suggested it, removing it and a
#include <vector>
#include "base/compiler_specific.h"
@@ -262,6 +264,9 @@ class VIEWS_EXPORT DesktopDragDropClientAuraX11
// The operation bitfield as requested by StartDragAndDrop.
int drag_operation_;
+ // The DragEventSource as reported by StartDragAndDrop.
+ ui::DragDropTypes::DragEventSource current_drag_event_source_;
+
// We offer the other window a list of possible operations,
// XdndActionsList. This is the requested action from the other window. This
// is DRAG_NONE if we haven't sent out an XdndPosition message yet, haven't

Powered by Google App Engine
This is Rietveld 408576698