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

Unified Diff: ash/wm/common/root_window_finder.cc

Issue 1924703002: Rename gfx::Display/Screen to display::Display/Screen in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/wm/common/dock/docked_window_layout_manager.cc ('k') | ash/wm/common/window_resizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/root_window_finder.cc
diff --git a/ash/wm/common/root_window_finder.cc b/ash/wm/common/root_window_finder.cc
index 3f3aefd0307105dfe41032a2df4971c408c01340..9be6c9052f62664628ca8f1a320335c93344e2cd 100644
--- a/ash/wm/common/root_window_finder.cc
+++ b/ash/wm/common/root_window_finder.cc
@@ -6,17 +6,17 @@
#include "ash/wm/common/wm_root_window_controller.h"
#include "ash/wm/common/wm_window.h"
-#include "ui/gfx/display.h"
+#include "ui/display/display.h"
+#include "ui/display/screen.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/rect.h"
-#include "ui/gfx/screen.h"
namespace ash {
namespace wm {
WmWindow* GetRootWindowAt(const gfx::Point& point) {
- const gfx::Display& display =
- gfx::Screen::GetScreen()->GetDisplayNearestPoint(point);
+ const display::Display& display =
+ display::Screen::GetScreen()->GetDisplayNearestPoint(point);
DCHECK(display.is_valid());
WmRootWindowController* root_window_controller =
WmRootWindowController::GetWithDisplayId(display.id());
@@ -24,8 +24,8 @@ WmWindow* GetRootWindowAt(const gfx::Point& point) {
}
WmWindow* GetRootWindowMatching(const gfx::Rect& rect) {
- const gfx::Display& display =
- gfx::Screen::GetScreen()->GetDisplayMatching(rect);
+ const display::Display& display =
+ display::Screen::GetScreen()->GetDisplayMatching(rect);
WmRootWindowController* root_window_controller =
WmRootWindowController::GetWithDisplayId(display.id());
return root_window_controller ? root_window_controller->GetWindow() : nullptr;
« no previous file with comments | « ash/wm/common/dock/docked_window_layout_manager.cc ('k') | ash/wm/common/window_resizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698