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

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

Issue 8682029: Make drag and drop work on webpage. Also slightly modify drag drop workflow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: modified according to comments Created 9 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 | « ui/aura/client/drag_drop_client.h ('k') | ui/aura_shell/drag_drop_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/window_drag_drop_delegate.h
diff --git a/ui/aura/client/window_drag_drop_delegate.h b/ui/aura/client/window_drag_drop_delegate.h
index 866035b5804da3f96c8962f445891b966481c62c..8e9895ae219681c2f72b27a81800ab63e7ebce1b 100644
--- a/ui/aura/client/window_drag_drop_delegate.h
+++ b/ui/aura/client/window_drag_drop_delegate.h
@@ -15,14 +15,9 @@ class DropTargetEvent;
// Delegate interface for drag and drop actions on aura::Window.
class AURA_EXPORT WindowDragDropDelegate {
public:
- // A window that supports drag and drop must override this and return true if
- // data contains a type that may be dropped on this window.
- virtual bool CanDrop(const DropTargetEvent& event) = 0;
-
// OnDragEntered is invoked when the mouse enters this window during a drag &
- // drop session and CanDrop returns true. This is immediately
- // followed by an invocation of OnDragUpdated, and eventually one of
- // OnDragExited or OnPerformDrop.
+ // drop session. This is immediately followed by an invocation of
+ // OnDragUpdated, and eventually one of OnDragExited or OnPerformDrop.
virtual void OnDragEntered(const DropTargetEvent& event) = 0;
// Invoked during a drag and drop session while the mouse is over the window.
« no previous file with comments | « ui/aura/client/drag_drop_client.h ('k') | ui/aura_shell/drag_drop_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698