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

Unified Diff: ash/drag_drop/drag_drop_tracker.cc

Issue 2035543004: Shuffles and renames ash/common/wm classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: random changes for chrome tests Created 4 years, 6 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
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 3a3a0c669d99be16ab781342dd12bb77dd016ff8..d3a2d356211a5ccd98c75ca57999b9784691e441 100644
--- a/ash/drag_drop/drag_drop_tracker.cc
+++ b/ash/drag_drop/drag_drop_tracker.cc
@@ -4,10 +4,10 @@
#include "ash/drag_drop/drag_drop_tracker.h"
+#include "ash/aura/wm_window_aura.h"
#include "ash/common/shell_window_ids.h"
#include "ash/common/wm/root_window_finder.h"
#include "ash/shell.h"
-#include "ash/wm/aura/wm_window_aura.h"
#include "ui/aura/client/window_tree_client.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
@@ -72,7 +72,7 @@ aura::Window* DragDropTracker::GetTarget(const ui::LocatedEvent& event) {
gfx::Point location_in_screen = event.location();
::wm::ConvertPointToScreen(capture_window_.get(), &location_in_screen);
aura::Window* root_window_at_point =
- wm::WmWindowAura::GetAuraWindow(wm::GetRootWindowAt(location_in_screen));
+ WmWindowAura::GetAuraWindow(wm::GetRootWindowAt(location_in_screen));
gfx::Point location_in_root = location_in_screen;
::wm::ConvertPointFromScreen(root_window_at_point, &location_in_root);
return root_window_at_point->GetEventHandlerForPoint(location_in_root);
@@ -90,7 +90,7 @@ ui::LocatedEvent* DragDropTracker::ConvertEvent(
gfx::Point target_root_location = event.root_location();
aura::Window::ConvertPointToTarget(
capture_window_->GetRootWindow(),
- wm::WmWindowAura::GetAuraWindow(wm::GetRootWindowAt(location_in_screen)),
+ WmWindowAura::GetAuraWindow(wm::GetRootWindowAt(location_in_screen)),
&target_root_location);
return new ui::MouseEvent(
event.type(), target_location, target_root_location,

Powered by Google App Engine
This is Rietveld 408576698