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

Unified Diff: ash/common/wm_shell.h

Issue 2391253004: Use mojo Shelf interfaces for both mash and classic ash. (Closed)
Patch Set: Fix and workaround test issues. Created 4 years, 2 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/common/wm_shell.h
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
index b7c32e268f1afde738c3731acaf77f5de4bf7ec0..9e42f2f7e7e85fc3842fb0fb153012c7ecf73e36 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -60,6 +60,7 @@ class NewWindowDelegate;
class PaletteDelegate;
class ScopedDisableInternalMouseAndKeyboard;
class SessionStateDelegate;
+class ShelfController;
class ShelfDelegate;
class ShelfModel;
class ShelfWindowWatcher;
@@ -146,9 +147,11 @@ class ASH_EXPORT WmShell {
PaletteDelegate* palette_delegate() { return palette_delegate_.get(); }
+ ShelfController* shelf_controller() { return shelf_controller_.get(); }
+
ShelfDelegate* shelf_delegate() { return shelf_delegate_.get(); }
- ShelfModel* shelf_model() { return shelf_model_.get(); }
+ ShelfModel* shelf_model();
SystemTrayController* system_tray_controller() {
return system_tray_controller_.get();
@@ -473,8 +476,8 @@ class ASH_EXPORT WmShell {
std::unique_ptr<MruWindowTracker> mru_window_tracker_;
std::unique_ptr<NewWindowDelegate> new_window_delegate_;
std::unique_ptr<PaletteDelegate> palette_delegate_;
+ std::unique_ptr<ShelfController> shelf_controller_;
std::unique_ptr<ShelfDelegate> shelf_delegate_;
- std::unique_ptr<ShelfModel> shelf_model_;
std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_;
std::unique_ptr<SystemTrayController> system_tray_controller_;
std::unique_ptr<SystemTrayNotifier> system_tray_notifier_;

Powered by Google App Engine
This is Rietveld 408576698