| Index: ash/wm/workspace_controller.h
|
| diff --git a/ash/wm/workspace_controller.h b/ash/wm/workspace_controller.h
|
| index c5c318c4ccf655df1530003643dc725b6b1cb5af..e34e111dc72d01db86409b11ed70b11e977cc314 100644
|
| --- a/ash/wm/workspace_controller.h
|
| +++ b/ash/wm/workspace_controller.h
|
| @@ -20,13 +20,19 @@ class ShelfLayoutManager;
|
| class WorkspaceControllerTestHelper;
|
| class WorkspaceEventHandler;
|
| class WorkspaceLayoutManager;
|
| +class WorkspaceLayoutManagerBackdropDelegate;
|
| +
|
| +namespace wm {
|
| class WorkspaceLayoutManagerDelegate;
|
| +}
|
|
|
| // WorkspaceController acts as a central place that ties together all the
|
| // various workspace pieces.
|
| class ASH_EXPORT WorkspaceController {
|
| public:
|
| - explicit WorkspaceController(aura::Window* viewport);
|
| + WorkspaceController(
|
| + aura::Window* viewport,
|
| + std::unique_ptr<wm::WorkspaceLayoutManagerDelegate> delegate);
|
| virtual ~WorkspaceController();
|
|
|
| // Returns the current window state.
|
| @@ -40,7 +46,7 @@ class ASH_EXPORT WorkspaceController {
|
| // Add a delegate which adds a backdrop behind the top window of the default
|
| // workspace.
|
| void SetMaximizeBackdropDelegate(
|
| - std::unique_ptr<WorkspaceLayoutManagerDelegate> delegate);
|
| + std::unique_ptr<WorkspaceLayoutManagerBackdropDelegate> delegate);
|
|
|
| WorkspaceLayoutManager* layout_manager() { return layout_manager_; }
|
|
|
|
|