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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 void ToggleSplitview(); | 53 void ToggleSplitview(); |
54 | 54 |
55 void InstallAccelerators(); | 55 void InstallAccelerators(); |
56 | 56 |
57 // WindowManager: | 57 // WindowManager: |
58 virtual void AddObserver(WindowManagerObserver* observer) OVERRIDE; | 58 virtual void AddObserver(WindowManagerObserver* observer) OVERRIDE; |
59 virtual void RemoveObserver(WindowManagerObserver* observer) OVERRIDE; | 59 virtual void RemoveObserver(WindowManagerObserver* observer) OVERRIDE; |
60 | 60 |
61 // WindowOverviewModeDelegate: | 61 // WindowOverviewModeDelegate: |
| 62 virtual bool IsInSplitViewMode(aura::Window** left_window, |
| 63 aura::Window** right_window) OVERRIDE; |
62 virtual void OnSelectWindow(aura::Window* window) OVERRIDE; | 64 virtual void OnSelectWindow(aura::Window* window) OVERRIDE; |
63 virtual void OnSplitViewMode(aura::Window* left, | 65 virtual void OnSplitViewMode(aura::Window* left, |
64 aura::Window* right) OVERRIDE; | 66 aura::Window* right) OVERRIDE; |
65 | 67 |
66 // aura::WindowObserver: | 68 // aura::WindowObserver: |
67 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE; | 69 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE; |
68 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; | 70 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; |
69 | 71 |
70 // AcceleratorHandler: | 72 // AcceleratorHandler: |
71 virtual bool IsCommandEnabled(int command_id) const OVERRIDE; | 73 virtual bool IsCommandEnabled(int command_id) const OVERRIDE; |
(...skipping 15 matching lines...) Expand all Loading... |
87 scoped_ptr<TitleDragController> title_drag_controller_; | 89 scoped_ptr<TitleDragController> title_drag_controller_; |
88 scoped_ptr<wm::ShadowController> shadow_controller_; | 90 scoped_ptr<wm::ShadowController> shadow_controller_; |
89 ObserverList<WindowManagerObserver> observers_; | 91 ObserverList<WindowManagerObserver> observers_; |
90 | 92 |
91 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); | 93 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); |
92 }; | 94 }; |
93 | 95 |
94 } // namespace athena | 96 } // namespace athena |
95 | 97 |
96 #endif // ATHENA_WM_WINDOW_MANAGER_IMPL_H_ | 98 #endif // ATHENA_WM_WINDOW_MANAGER_IMPL_H_ |
OLD | NEW |