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

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

Issue 10827145: Convert Aura to use ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | « ui/aura/client/activation_delegate.h ('k') | ui/aura/client/drag_drop_delegate.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
===================================================================
--- ui/aura/client/drag_drop_client.h (revision 150582)
+++ ui/aura/client/drag_drop_client.h (working copy)
@@ -6,9 +6,14 @@
#define UI_AURA_CLIENT_DRAG_DROP_CLIENT_H_
#include "ui/aura/aura_export.h"
-#include "ui/aura/event.h"
+#include "ui/gfx/native_widget_types.h"
+namespace gfx {
+class Point;
+}
+
namespace ui {
+class LocatedEvent;
class OSExchangeData;
}
@@ -30,10 +35,12 @@
int operation) = 0;
// Called when mouse is dragged during a drag and drop.
- virtual void DragUpdate(aura::Window* target, const LocatedEvent& event) = 0;
+ virtual void DragUpdate(aura::Window* target,
+ const ui::LocatedEvent& event) = 0;
// Called when mouse is released during a drag and drop.
- virtual void Drop(aura::Window* target, const LocatedEvent& event) = 0;
+ virtual void Drop(aura::Window* target,
+ const ui::LocatedEvent& event) = 0;
// Called when a drag and drop session is cancelled.
virtual void DragCancel() = 0;
« no previous file with comments | « ui/aura/client/activation_delegate.h ('k') | ui/aura/client/drag_drop_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698