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

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
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | ui/base/dragdrop/drag_drop_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c7b145b41aa01a1a61aae169ee869f998ed1fd73 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 {
@@ -32,8 +33,10 @@ class AURA_EXPORT DragDropClient {
// RootWindow's coordinate system.
virtual int StartDragAndDrop(const ui::OSExchangeData& data,
aura::RootWindow* root_window,
+ aura::Window* source_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,
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | ui/base/dragdrop/drag_drop_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698