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

Unified Diff: ash/drag_drop/drag_drop_tracker.cc

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 | « ash/drag_drop/drag_drop_tracker.h ('k') | ash/system/tray/tray_bubble_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/drag_drop/drag_drop_tracker.cc
diff --git a/ash/drag_drop/drag_drop_tracker.cc b/ash/drag_drop/drag_drop_tracker.cc
index f18e0e88f129b2113b5c88bec6fa867f17e5bb26..72f0389e6a7075382950ef7d1d0331e905ca3942 100644
--- a/ash/drag_drop/drag_drop_tracker.cc
+++ b/ash/drag_drop/drag_drop_tracker.cc
@@ -9,6 +9,7 @@
#include "ash/wm/coordinate_conversion.h"
#include "ui/aura/client/window_tree_client.h"
#include "ui/aura/root_window.h"
+#include "ui/aura/window.h"
#include "ui/events/event.h"
#include "ui/gfx/screen.h"
@@ -18,7 +19,7 @@ namespace internal {
namespace {
// Creates a window for capturing drag events.
-aura::Window* CreateCaptureWindow(aura::RootWindow* context_root,
+aura::Window* CreateCaptureWindow(aura::Window* context_root,
aura::WindowDelegate* delegate) {
aura::Window* window = new aura::Window(delegate);
window->SetType(aura::client::WINDOW_TYPE_NORMAL);
@@ -31,7 +32,7 @@ aura::Window* CreateCaptureWindow(aura::RootWindow* context_root,
} // namespace
-DragDropTracker::DragDropTracker(aura::RootWindow* context_root,
+DragDropTracker::DragDropTracker(aura::Window* context_root,
aura::WindowDelegate* delegate)
: capture_window_(CreateCaptureWindow(context_root, delegate)) {
}
« no previous file with comments | « ash/drag_drop/drag_drop_tracker.h ('k') | ash/system/tray/tray_bubble_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698