summaryrefslogtreecommitdiffstats
path: root/ui/base
diff options
context:
space:
mode:
authorvarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-06 22:03:00 +0000
committervarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-06 22:03:00 +0000
commit589b0898a1cbc47afb3546fb994a38a5b52b672a (patch)
tree80dc34f67117b21135c3c36d867dfaa438fc48e0 /ui/base
parent6e3edb411fbcccc3df4f92138029603ddf46950e (diff)
downloadchromium_src-589b0898a1cbc47afb3546fb994a38a5b52b672a.zip
chromium_src-589b0898a1cbc47afb3546fb994a38a5b52b672a.tar.gz
chromium_src-589b0898a1cbc47afb3546fb994a38a5b52b672a.tar.bz2
aura: Add flag to indicate if a drag session is started with touch or mouse.
BUG=114755 Review URL: https://chromiumcodereview.appspot.com/11368072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166278 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base')
-rw-r--r--ui/base/dragdrop/drag_drop_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/base/dragdrop/drag_drop_types.h b/ui/base/dragdrop/drag_drop_types.h
index 26befc5..821aaf4 100644
--- a/ui/base/dragdrop/drag_drop_types.h
+++ b/ui/base/dragdrop/drag_drop_types.h
@@ -19,6 +19,11 @@ class UI_EXPORT DragDropTypes {
DRAG_LINK = 1 << 2
};
+ enum DragEventSource {
+ DRAG_EVENT_SOURCE_MOUSE,
+ DRAG_EVENT_SOURCE_TOUCH,
+ };
+
#if defined(OS_WIN)
static uint32 DragOperationToDropEffect(int drag_operation);
static int DropEffectToDragOperation(uint32 effect);