| Index: ash/mus/shelf_delegate_mus.h
|
| diff --git a/ash/mus/shelf_delegate_mus.h b/ash/mus/shelf_delegate_mus.h
|
| index 2c002658e5a604445131499da299ef01846fd9d8..6a22b603348b032419809f820e0eca66cafecfc3 100644
|
| --- a/ash/mus/shelf_delegate_mus.h
|
| +++ b/ash/mus/shelf_delegate_mus.h
|
| @@ -8,6 +8,7 @@
|
| #include <map>
|
|
|
| #include "ash/shelf/shelf_delegate.h"
|
| +#include "mash/wm/public/interfaces/shelf_layout.mojom.h"
|
| #include "mash/wm/public/interfaces/user_window_controller.mojom.h"
|
| #include "mojo/public/cpp/bindings/binding.h"
|
|
|
| @@ -47,8 +48,12 @@ class ShelfDelegateMus : public ShelfDelegate,
|
| mojo::Array<uint8_t> app_icon) override;
|
| void OnUserWindowFocusChanged(uint32_t window_id, bool has_focus) override;
|
|
|
| + // Set the Mus window preferred sizes, needed by mash::wm::ShelfLayout.
|
| + void SetShelfPreferredSizes(Shelf* shelf);
|
| +
|
| ShelfModel* model_;
|
|
|
| + mash::wm::mojom::ShelfLayoutPtr shelf_layout_;
|
| mash::wm::mojom::UserWindowControllerPtr user_window_controller_;
|
| mojo::Binding<mash::wm::mojom::UserWindowObserver> binding_;
|
| std::map<uint32_t, ShelfID> window_id_to_shelf_id_;
|
|
|