| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ATHENA_WM_WINDOW_MANAGER_IMPL_H_ | 5 #ifndef ATHENA_WM_WINDOW_MANAGER_IMPL_H_ |
| 6 #define ATHENA_WM_WINDOW_MANAGER_IMPL_H_ | 6 #define ATHENA_WM_WINDOW_MANAGER_IMPL_H_ |
| 7 | 7 |
| 8 #include "athena/input/public/accelerator_manager.h" | 8 #include "athena/input/public/accelerator_manager.h" |
| 9 #include "athena/wm/public/window_manager.h" | 9 #include "athena/wm/public/window_manager.h" |
| 10 #include "athena/wm/title_drag_controller.h" | 10 #include "athena/wm/title_drag_controller.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 // WindowManager: | 41 // WindowManager: |
| 42 virtual void ToggleOverview() OVERRIDE; | 42 virtual void ToggleOverview() OVERRIDE; |
| 43 virtual bool IsOverviewModeActive() OVERRIDE; | 43 virtual bool IsOverviewModeActive() OVERRIDE; |
| 44 | 44 |
| 45 private: | 45 private: |
| 46 friend class test::WindowManagerImplTestApi; | 46 friend class test::WindowManagerImplTestApi; |
| 47 friend class AthenaContainerLayoutManager; | 47 friend class AthenaContainerLayoutManager; |
| 48 | 48 |
| 49 enum Command { | 49 enum Command { |
| 50 CMD_EXIT_OVERVIEW, |
| 50 CMD_TOGGLE_OVERVIEW, | 51 CMD_TOGGLE_OVERVIEW, |
| 51 CMD_TOGGLE_SPLIT_VIEW, | 52 CMD_TOGGLE_SPLIT_VIEW, |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 // Sets whether overview mode is active. | 55 // Sets whether overview mode is active. |
| 55 void SetInOverview(bool active); | 56 void SetInOverview(bool active); |
| 56 | 57 |
| 57 void ToggleSplitview(); | 58 void ToggleSplitview(); |
| 58 | 59 |
| 59 void InstallAccelerators(); | 60 void InstallAccelerators(); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 scoped_ptr<TitleDragController> title_drag_controller_; | 94 scoped_ptr<TitleDragController> title_drag_controller_; |
| 94 scoped_ptr<wm::ShadowController> shadow_controller_; | 95 scoped_ptr<wm::ShadowController> shadow_controller_; |
| 95 ObserverList<WindowManagerObserver> observers_; | 96 ObserverList<WindowManagerObserver> observers_; |
| 96 | 97 |
| 97 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); | 98 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); |
| 98 }; | 99 }; |
| 99 | 100 |
| 100 } // namespace athena | 101 } // namespace athena |
| 101 | 102 |
| 102 #endif // ATHENA_WM_WINDOW_MANAGER_IMPL_H_ | 103 #endif // ATHENA_WM_WINDOW_MANAGER_IMPL_H_ |
| OLD | NEW |