| 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.
|
|
|