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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 void SetInOverview(bool active); | 55 void SetInOverview(bool active); |
56 | 56 |
57 void ToggleSplitview(); | 57 void ToggleSplitview(); |
58 | 58 |
59 void InstallAccelerators(); | 59 void InstallAccelerators(); |
60 | 60 |
61 // WindowManager: | 61 // WindowManager: |
62 virtual void AddObserver(WindowManagerObserver* observer) OVERRIDE; | 62 virtual void AddObserver(WindowManagerObserver* observer) OVERRIDE; |
63 virtual void RemoveObserver(WindowManagerObserver* observer) OVERRIDE; | 63 virtual void RemoveObserver(WindowManagerObserver* observer) OVERRIDE; |
64 virtual void ToggleSplitViewForTest() OVERRIDE; | 64 virtual void ToggleSplitViewForTest() OVERRIDE; |
| 65 virtual WindowListProvider* GetWindowListProvider() OVERRIDE; |
65 | 66 |
66 // WindowOverviewModeDelegate: | 67 // WindowOverviewModeDelegate: |
67 virtual void OnSelectWindow(aura::Window* window) OVERRIDE; | 68 virtual void OnSelectWindow(aura::Window* window) OVERRIDE; |
68 virtual void OnSplitViewMode(aura::Window* left, | 69 virtual void OnSplitViewMode(aura::Window* left, |
69 aura::Window* right) OVERRIDE; | 70 aura::Window* right) OVERRIDE; |
70 | 71 |
71 // aura::WindowObserver: | 72 // aura::WindowObserver: |
72 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE; | 73 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE; |
73 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; | 74 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; |
74 | 75 |
(...skipping 17 matching lines...) Expand all Loading... |
92 scoped_ptr<TitleDragController> title_drag_controller_; | 93 scoped_ptr<TitleDragController> title_drag_controller_; |
93 scoped_ptr<wm::ShadowController> shadow_controller_; | 94 scoped_ptr<wm::ShadowController> shadow_controller_; |
94 ObserverList<WindowManagerObserver> observers_; | 95 ObserverList<WindowManagerObserver> observers_; |
95 | 96 |
96 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); | 97 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); |
97 }; | 98 }; |
98 | 99 |
99 } // namespace athena | 100 } // namespace athena |
100 | 101 |
101 #endif // ATHENA_WM_WINDOW_MANAGER_IMPL_H_ | 102 #endif // ATHENA_WM_WINDOW_MANAGER_IMPL_H_ |
OLD | NEW |