Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_WM_WORKSPACE_CONTROLLER_H_ | 5 #ifndef ASH_WM_WORKSPACE_CONTROLLER_H_ |
| 6 #define ASH_WM_WORKSPACE_CONTROLLER_H_ | 6 #define ASH_WM_WORKSPACE_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/wm/workspace/workspace_types.h" | 9 #include "ash/wm/workspace/workspace_types.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 34 void SetShelf(ShelfLayoutManager* shelf); | 34 void SetShelf(ShelfLayoutManager* shelf); |
| 35 | 35 |
| 36 // Starts the animation that occurs on first login. | 36 // Starts the animation that occurs on first login. |
| 37 void DoInitialAnimation(); | 37 void DoInitialAnimation(); |
| 38 | 38 |
| 39 // Add a delegate which adds a backdrop behind the top window of the default | 39 // Add a delegate which adds a backdrop behind the top window of the default |
| 40 // workspace. | 40 // workspace. |
| 41 void SetMaximizeBackdropDelegate( | 41 void SetMaximizeBackdropDelegate( |
| 42 scoped_ptr<WorkspaceLayoutManagerDelegate> delegate); | 42 scoped_ptr<WorkspaceLayoutManagerDelegate> delegate); |
| 43 | 43 |
| 44 WorkspaceLayoutManager* layout_manager() {return layout_manager_;} | |
|
flackr
2014/06/02 20:24:52
nit: spacing: { return layout_manager_; }
kevers
2014/06/03 13:21:18
Done.
| |
| 45 | |
| 44 private: | 46 private: |
| 45 friend class WorkspaceControllerTestHelper; | 47 friend class WorkspaceControllerTestHelper; |
| 46 | 48 |
| 47 aura::Window* viewport_; | 49 aura::Window* viewport_; |
| 48 | 50 |
| 49 ShelfLayoutManager* shelf_; | 51 ShelfLayoutManager* shelf_; |
| 50 scoped_ptr<WorkspaceEventHandler> event_handler_; | 52 scoped_ptr<WorkspaceEventHandler> event_handler_; |
| 51 WorkspaceLayoutManager* layout_manager_; | 53 WorkspaceLayoutManager* layout_manager_; |
| 52 | 54 |
| 53 DISALLOW_COPY_AND_ASSIGN(WorkspaceController); | 55 DISALLOW_COPY_AND_ASSIGN(WorkspaceController); |
| 54 }; | 56 }; |
| 55 | 57 |
| 56 } // namespace ash | 58 } // namespace ash |
| 57 | 59 |
| 58 #endif // ASH_WM_WORKSPACE_CONTROLLER_H_ | 60 #endif // ASH_WM_WORKSPACE_CONTROLLER_H_ |
| OLD | NEW |