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

Unified Diff: ui/aura/client/drag_drop_client.h

Issue 11368072: aura: Add flag to indicate if a drag session is started with touch or mouse. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 1 month 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/aura/client/drag_drop_client.h
diff --git a/ui/aura/client/drag_drop_client.h b/ui/aura/client/drag_drop_client.h
index bb281849919aba3e777d3294d20fd907ba01ab0c..1f1da431cf931291a73aca13503fa0b5ecab0adf 100644
--- a/ui/aura/client/drag_drop_client.h
+++ b/ui/aura/client/drag_drop_client.h
@@ -6,6 +6,7 @@
#define UI_AURA_CLIENT_DRAG_DROP_CLIENT_H_
#include "ui/aura/aura_export.h"
+#include "ui/base/dragdrop/drag_drop_types.h"
#include "ui/gfx/native_widget_types.h"
namespace gfx {
@@ -33,7 +34,8 @@ class AURA_EXPORT DragDropClient {
virtual int StartDragAndDrop(const ui::OSExchangeData& data,
aura::RootWindow* root_window,
const gfx::Point& root_location,
- int operation) = 0;
+ int operation,
+ ui::DragDropTypes::DragEventSource source) = 0;
// Called when mouse is dragged during a drag and drop.
virtual void DragUpdate(aura::Window* target,

Powered by Google App Engine
This is Rietveld 408576698