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

Unified Diff: ash/shell.h

Issue 2791463002: mash: Remove ShelfDelegate; move functions to ShelfModel. (Closed)
Patch Set: Sync and rebase. Created 3 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
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 71eaef53be2072773dde79b83e2ee1ac898bce95..27fdd01267fa128d50b4923a1e829320af92683d 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -140,7 +140,6 @@ class ScreenPositionController;
class SessionController;
class SessionStateDelegate;
class ShelfController;
-class ShelfDelegate;
class ShelfModel;
class ShelfWindowWatcher;
class ShellDelegate;
@@ -328,7 +327,6 @@ class ASH_EXPORT Shell : public SessionObserver,
}
SessionController* session_controller() { return session_controller_.get(); }
ShelfController* shelf_controller() { return shelf_controller_.get(); }
- ShelfDelegate* shelf_delegate() { return shelf_delegate_.get(); }
ShelfModel* shelf_model();
ShutdownController* shutdown_controller() {
return shutdown_controller_.get();
@@ -609,8 +607,6 @@ class ASH_EXPORT Shell : public SessionObserver,
void SetSystemTrayDelegate(std::unique_ptr<SystemTrayDelegate> delegate);
void DeleteSystemTrayDelegate();
- void CreateShelfDelegate();
-
// Destroys all child windows including widgets across all roots.
void CloseAllRootWindowChildWindows();
@@ -677,7 +673,6 @@ class ASH_EXPORT Shell : public SessionObserver,
std::unique_ptr<ResizeShadowController> resize_shadow_controller_;
std::unique_ptr<SessionController> session_controller_;
std::unique_ptr<ShelfController> shelf_controller_;
- std::unique_ptr<ShelfDelegate> shelf_delegate_;
std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_;
std::unique_ptr<ShellDelegate> shell_delegate_;
std::unique_ptr<ShutdownController> shutdown_controller_;
« ash/shelf/shelf_model_unittest.cc ('K') | « ash/shelf/shelf_widget.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698