| 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 19 matching lines...) Expand all Loading... |
| 30 virtual ~WorkspaceController(); | 30 virtual ~WorkspaceController(); |
| 31 | 31 |
| 32 // Returns the current window state. | 32 // Returns the current window state. |
| 33 WorkspaceWindowState GetWindowState() const; | 33 WorkspaceWindowState GetWindowState() const; |
| 34 | 34 |
| 35 void SetShelf(ShelfLayoutManager* shelf); | 35 void SetShelf(ShelfLayoutManager* shelf); |
| 36 | 36 |
| 37 // Starts the animation that occurs on first login. | 37 // Starts the animation that occurs on first login. |
| 38 void DoInitialAnimation(); | 38 void DoInitialAnimation(); |
| 39 | 39 |
| 40 // Add a backdrop behind the top window of the default workspace. |
| 41 void AddBackdropBehindTopWindow(bool enable); |
| 42 |
| 40 private: | 43 private: |
| 41 friend class WorkspaceControllerTestHelper; | 44 friend class WorkspaceControllerTestHelper; |
| 42 | 45 |
| 43 aura::Window* viewport_; | 46 aura::Window* viewport_; |
| 44 | 47 |
| 45 internal::ShelfLayoutManager* shelf_; | 48 internal::ShelfLayoutManager* shelf_; |
| 46 scoped_ptr<internal::WorkspaceEventHandler> event_handler_; | 49 scoped_ptr<internal::WorkspaceEventHandler> event_handler_; |
| 47 internal::WorkspaceLayoutManager* layout_manager_; | 50 internal::WorkspaceLayoutManager* layout_manager_; |
| 48 | 51 |
| 49 DISALLOW_COPY_AND_ASSIGN(WorkspaceController); | 52 DISALLOW_COPY_AND_ASSIGN(WorkspaceController); |
| 50 }; | 53 }; |
| 51 | 54 |
| 52 } // namespace internal | 55 } // namespace internal |
| 53 } // namespace ash | 56 } // namespace ash |
| 54 | 57 |
| 55 #endif // ASH_WM_WORKSPACE_CONTROLLER_H_ | 58 #endif // ASH_WM_WORKSPACE_CONTROLLER_H_ |
| OLD | NEW |