| Index: ash/wm/workspace/workspace_layout_manager.h
|
| diff --git a/ash/wm/workspace/workspace_layout_manager.h b/ash/wm/workspace/workspace_layout_manager.h
|
| index 0a6554067ca218a1b3e9949a2894852abb9d3e91..b15b5184639caa63675ee8c3066fe007fb6432af 100644
|
| --- a/ash/wm/workspace/workspace_layout_manager.h
|
| +++ b/ash/wm/workspace/workspace_layout_manager.h
|
| @@ -28,12 +28,7 @@
|
| namespace ash {
|
|
|
| class RootWindowController;
|
| -class BackdropDelegate;
|
| -class BackdropController;
|
| -
|
| -namespace test {
|
| -class WorkspaceControllerTestApi;
|
| -}
|
| +class WorkspaceLayoutManagerBackdropDelegate;
|
|
|
| namespace wm {
|
| class WMEvent;
|
| @@ -56,7 +51,8 @@
|
| // A delegate which can be set to add a backdrop behind the top most visible
|
| // window. With the call the ownership of the delegate will be transferred to
|
| // the WorkspaceLayoutManager.
|
| - void SetBackdropDelegate(std::unique_ptr<BackdropDelegate> delegate);
|
| + void SetMaximizeBackdropDelegate(
|
| + std::unique_ptr<WorkspaceLayoutManagerBackdropDelegate> delegate);
|
|
|
| // Overridden from aura::LayoutManager:
|
| void OnWindowResized() override;
|
| @@ -104,7 +100,6 @@
|
| aura::Window* root_window) override;
|
|
|
| private:
|
| - friend class test::WorkspaceControllerTestApi;
|
| typedef std::set<aura::Window*> WindowSet;
|
|
|
| // Adjusts the bounds of all managed windows when the display area changes.
|
| @@ -142,7 +137,7 @@
|
|
|
| // A window which covers the full container and which gets inserted behind the
|
| // topmost visible window.
|
| - std::unique_ptr<BackdropController> backdrop_controller_;
|
| + std::unique_ptr<WorkspaceLayoutManagerBackdropDelegate> backdrop_delegate_;
|
|
|
| ScopedObserver<keyboard::KeyboardController,
|
| keyboard::KeyboardControllerObserver>
|
|
|