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

Unified Diff: ash/shelf/shelf_window_watcher.h

Issue 2171813004: mash: Fold ShelfItemDelegateManager into ShelfModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 years, 5 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
Index: ash/shelf/shelf_window_watcher.h
diff --git a/ash/shelf/shelf_window_watcher.h b/ash/shelf/shelf_window_watcher.h
index 7cfe2dca870070a8d63a7958e3b6ae6eca046632..e61cacb5e097ab574609feb00fefe23693eb6d95 100644
--- a/ash/shelf/shelf_window_watcher.h
+++ b/ash/shelf/shelf_window_watcher.h
@@ -28,7 +28,6 @@ class ActivationClient;
namespace ash {
class ShelfModel;
-class ShelfItemDelegateManager;
class WmWindow;
// ShelfWindowWatcher creates and handles a ShelfItem for windows that have
@@ -37,8 +36,7 @@ class ShelfWindowWatcher : public aura::client::ActivationChangeObserver,
public aura::WindowObserver,
public display::DisplayObserver {
public:
- ShelfWindowWatcher(ShelfModel* model,
- ShelfItemDelegateManager* item_delegate_manager);
+ explicit ShelfWindowWatcher(ShelfModel* model);
~ShelfWindowWatcher() override;
private:
@@ -127,7 +125,6 @@ class ShelfWindowWatcher : public aura::client::ActivationChangeObserver,
// Owned by Shell.
ShelfModel* model_;
- ShelfItemDelegateManager* item_delegate_manager_;
RootWindowObserver root_window_observer_;

Powered by Google App Engine
This is Rietveld 408576698