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

Unified Diff: ash/mus/screen_mus.cc

Issue 2900423002: [mus+ash] Removes WmWindow from ash/wm/root_window_finder.h (Closed)
Patch Set: Remove WmWindow from ash/wm/root_window_finder.h (tab drag test) Created 3 years, 7 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/frame/caption_buttons/frame_size_button.cc ('k') | ash/shelf/shelf_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/screen_mus.cc
diff --git a/ash/mus/screen_mus.cc b/ash/mus/screen_mus.cc
index 492579c27cecbf0b1b5cd9db50773adf1cbffa7b..3d91c123c50e19c58d4d98426d65fba160cf5d56 100644
--- a/ash/mus/screen_mus.cc
+++ b/ash/mus/screen_mus.cc
@@ -5,7 +5,6 @@
#include "ash/mus/screen_mus.h"
#include "ash/wm/root_window_finder.h"
-#include "ash/wm_window.h"
#include "services/ui/public/interfaces/display/display_controller.mojom.h"
#include "ui/aura/client/screen_position_client.h"
#include "ui/aura/env.h"
@@ -57,8 +56,7 @@ bool ScreenMus::IsWindowUnderCursor(gfx::NativeWindow window) {
}
gfx::NativeWindow ScreenMus::GetWindowAtScreenPoint(const gfx::Point& point) {
- aura::Window* root_window =
- WmWindow::GetAuraWindow(wm::GetRootWindowAt(point));
+ aura::Window* root_window = wm::GetRootWindowAt(point);
aura::client::ScreenPositionClient* position_client =
aura::client::GetScreenPositionClient(root_window);
« no previous file with comments | « ash/frame/caption_buttons/frame_size_button.cc ('k') | ash/shelf/shelf_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698