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

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

Issue 38423002: Make aura::clients take Window instead of RootWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 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/dispatcher_client.cc ('k') | ui/aura/client/drag_drop_client.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 c7b145b41aa01a1a61aae169ee869f998ed1fd73..7277d6b3839a679e14aa3f1275d712b5e5e97789 100644
--- a/ui/aura/client/drag_drop_client.h
+++ b/ui/aura/client/drag_drop_client.h
@@ -19,7 +19,6 @@ class OSExchangeData;
}
namespace aura {
-class RootWindow;
class Window;
namespace client {
@@ -30,9 +29,9 @@ class AURA_EXPORT DragDropClient {
// Initiates a drag and drop session. Returns the drag operation that was
// applied at the end of the drag drop session. |root_location| is in the
- // RootWindow's coordinate system.
+ // root Window's coordinate system.
virtual int StartDragAndDrop(const ui::OSExchangeData& data,
- aura::RootWindow* root_window,
+ aura::Window* root_window,
aura::Window* source_window,
const gfx::Point& root_location,
int operation,
@@ -53,9 +52,9 @@ class AURA_EXPORT DragDropClient {
virtual bool IsDragDropInProgress() = 0;
};
-AURA_EXPORT void SetDragDropClient(RootWindow* root_window,
+AURA_EXPORT void SetDragDropClient(Window* root_window,
DragDropClient* client);
-AURA_EXPORT DragDropClient* GetDragDropClient(RootWindow* root_window);
+AURA_EXPORT DragDropClient* GetDragDropClient(Window* root_window);
} // namespace client
} // namespace aura
« no previous file with comments | « ui/aura/client/dispatcher_client.cc ('k') | ui/aura/client/drag_drop_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698