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

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

Issue 10825143: aura: Fix a couple of drag drop issues: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 5 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
« no previous file with comments | « ash/drag_drop/drag_drop_controller.cc ('k') | ui/aura/root_window.cc » ('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 bed334ce1b9c63c09b76ceaada903f5c693b6ade..0df38b5b24d46696070fb3e2088bb64782aabd73 100644
--- a/ui/aura/client/drag_drop_client.h
+++ b/ui/aura/client/drag_drop_client.h
@@ -40,6 +40,11 @@ class AURA_EXPORT DragDropClient {
// Returns true if a drag and drop session is in progress.
virtual bool IsDragDropInProgress() = 0;
+
+ // Returns the current cursor according to the appropriate drag effect. This
+ // should only be called if IsDragDropInProgress() returns true. If it is
+ // called otherwise, the returned cursor is arbitrary.
+ virtual gfx::NativeCursor GetDragCursor() = 0;
};
AURA_EXPORT void SetDragDropClient(RootWindow* root_window,
« no previous file with comments | « ash/drag_drop/drag_drop_controller.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698