| 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_WORKSPACE_H_ | 5 #ifndef ASH_WM_WORKSPACE_WORKSPACE_H_ |
| 6 #define ASH_WM_WORKSPACE_WORKSPACE_H_ | 6 #define ASH_WM_WORKSPACE_WORKSPACE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 // recently activated window in the workspace. | 40 // recently activated window in the workspace. |
| 41 aura::Window* GetTopmostActivatableWindow(); | 41 aura::Window* GetTopmostActivatableWindow(); |
| 42 | 42 |
| 43 // Resets state. This should be used before destroying the Workspace. | 43 // Resets state. This should be used before destroying the Workspace. |
| 44 aura::Window* ReleaseWindow(); | 44 aura::Window* ReleaseWindow(); |
| 45 | 45 |
| 46 bool is_maximized() const { return is_maximized_; } | 46 bool is_maximized() const { return is_maximized_; } |
| 47 | 47 |
| 48 aura::Window* window() { return window_; } | 48 aura::Window* window() { return window_; } |
| 49 | 49 |
| 50 WorkspaceEventHandler* event_handler() { return event_handler_.get(); } |
| 51 |
| 50 const WorkspaceLayoutManager* workspace_layout_manager() const { | 52 const WorkspaceLayoutManager* workspace_layout_manager() const { |
| 51 return workspace_layout_manager_; | 53 return workspace_layout_manager_; |
| 52 } | 54 } |
| 53 WorkspaceLayoutManager* workspace_layout_manager() { | 55 WorkspaceLayoutManager* workspace_layout_manager() { |
| 54 return workspace_layout_manager_; | 56 return workspace_layout_manager_; |
| 55 } | 57 } |
| 56 | 58 |
| 57 const WorkspaceManager* workspace_manager() const { | 59 const WorkspaceManager* workspace_manager() const { |
| 58 return workspace_manager_; | 60 return workspace_manager_; |
| 59 } | 61 } |
| (...skipping 20 matching lines...) Expand all Loading... |
| 80 | 82 |
| 81 WorkspaceLayoutManager* workspace_layout_manager_; | 83 WorkspaceLayoutManager* workspace_layout_manager_; |
| 82 | 84 |
| 83 DISALLOW_COPY_AND_ASSIGN(Workspace); | 85 DISALLOW_COPY_AND_ASSIGN(Workspace); |
| 84 }; | 86 }; |
| 85 | 87 |
| 86 } // namespace internal | 88 } // namespace internal |
| 87 } // namespace ash | 89 } // namespace ash |
| 88 | 90 |
| 89 #endif // ASH_WM_WORKSPACE_WORKSPACE_H_ | 91 #endif // ASH_WM_WORKSPACE_WORKSPACE_H_ |
| OLD | NEW |