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

Unified Diff: ash/shelf/shelf_window_watcher.h

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/shelf/shelf_widget_unittest.cc ('k') | ash/shelf/shelf_window_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_window_watcher.h
diff --git a/ash/shelf/shelf_window_watcher.h b/ash/shelf/shelf_window_watcher.h
index 93f7a4a0efc59c2fc1bc297c5155e1b5901c01be..c1d0a7cdf4008d3ff96c8f4478e35d3489b6117a 100644
--- a/ash/shelf/shelf_window_watcher.h
+++ b/ash/shelf/shelf_window_watcher.h
@@ -12,7 +12,7 @@
#include "base/macros.h"
#include "base/scoped_observer.h"
#include "ui/aura/window_observer.h"
-#include "ui/gfx/display_observer.h"
+#include "ui/display/display_observer.h"
#include "ui/wm/public/activation_change_observer.h"
namespace aura {
@@ -34,7 +34,7 @@ class ShelfItemDelegateManager;
// a ShelfItemDetails property in the default container.
class ShelfWindowWatcher : public aura::client::ActivationChangeObserver,
public aura::WindowObserver,
- public gfx::DisplayObserver {
+ public display::DisplayObserver {
public:
ShelfWindowWatcher(ShelfModel* model,
ShelfItemDelegateManager* item_delegate_manager);
@@ -117,10 +117,10 @@ class ShelfWindowWatcher : public aura::client::ActivationChangeObserver,
const void* key,
intptr_t old) override;
- // gfx::DisplayObserver overrides:
- void OnDisplayAdded(const gfx::Display& display) override;
- void OnDisplayRemoved(const gfx::Display& old_display) override;
- void OnDisplayMetricsChanged(const gfx::Display& display,
+ // display::DisplayObserver overrides:
+ void OnDisplayAdded(const display::Display& display) override;
+ void OnDisplayRemoved(const display::Display& old_display) override;
+ void OnDisplayMetricsChanged(const display::Display& display,
uint32_t metrics) override;
// Owned by Shell.
« no previous file with comments | « ash/shelf/shelf_widget_unittest.cc ('k') | ash/shelf/shelf_window_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698