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

Unified Diff: ash/shell/window_watcher.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/shell/window_watcher.h ('k') | ash/system/audio/tray_audio.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/window_watcher.cc
diff --git a/ash/shell/window_watcher.cc b/ash/shell/window_watcher.cc
index 991a83b7031e02f5e404b828c9c521b4e2731f44..121a2c9f89289ecc0ce0a262db8b38c9b4bc9399 100644
--- a/ash/shell/window_watcher.cc
+++ b/ash/shell/window_watcher.cc
@@ -18,7 +18,7 @@
#include "ash/wm/window_util.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
-#include "ui/gfx/display.h"
+#include "ui/display/display.h"
namespace ash {
namespace shell {
@@ -138,19 +138,19 @@ void WindowWatcher::OnWillRemoveWindow(aura::Window* window) {
}
}
-void WindowWatcher::OnDisplayAdded(const gfx::Display& new_display) {
+void WindowWatcher::OnDisplayAdded(const display::Display& new_display) {
aura::Window* root = Shell::GetInstance()
->window_tree_host_manager()
->GetRootWindowForDisplayId(new_display.id());
workspace_window_watcher_->RootWindowAdded(root);
}
-void WindowWatcher::OnDisplayRemoved(const gfx::Display& old_display) {
+void WindowWatcher::OnDisplayRemoved(const display::Display& old_display) {
// All windows in the display has already been removed, so no need to
// remove observers.
}
-void WindowWatcher::OnDisplayMetricsChanged(const gfx::Display&, uint32_t) {
+void WindowWatcher::OnDisplayMetricsChanged(const display::Display&, uint32_t) {
}
} // namespace shell
« no previous file with comments | « ash/shell/window_watcher.h ('k') | ash/system/audio/tray_audio.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698