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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 65 |
66 // WindowOverviewModeDelegate: | 66 // WindowOverviewModeDelegate: |
67 virtual void OnSelectWindow(aura::Window* window) OVERRIDE; | 67 virtual void OnSelectWindow(aura::Window* window, |
68 virtual void OnSplitViewMode(aura::Window* left, | 68 SplitType split_type) OVERRIDE; |
69 aura::Window* right) OVERRIDE; | |
70 | 69 |
71 // aura::WindowObserver: | 70 // aura::WindowObserver: |
72 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE; | 71 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE; |
73 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; | 72 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; |
74 | 73 |
75 // AcceleratorHandler: | 74 // AcceleratorHandler: |
76 virtual bool IsCommandEnabled(int command_id) const OVERRIDE; | 75 virtual bool IsCommandEnabled(int command_id) const OVERRIDE; |
77 virtual bool OnAcceleratorFired(int command_id, | 76 virtual bool OnAcceleratorFired(int command_id, |
78 const ui::Accelerator& accelerator) OVERRIDE; | 77 const ui::Accelerator& accelerator) OVERRIDE; |
79 | 78 |
(...skipping 12 matching lines...) Expand all Loading... |
92 scoped_ptr<TitleDragController> title_drag_controller_; | 91 scoped_ptr<TitleDragController> title_drag_controller_; |
93 scoped_ptr<wm::ShadowController> shadow_controller_; | 92 scoped_ptr<wm::ShadowController> shadow_controller_; |
94 ObserverList<WindowManagerObserver> observers_; | 93 ObserverList<WindowManagerObserver> observers_; |
95 | 94 |
96 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); | 95 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); |
97 }; | 96 }; |
98 | 97 |
99 } // namespace athena | 98 } // namespace athena |
100 | 99 |
101 #endif // ATHENA_WM_WINDOW_MANAGER_IMPL_H_ | 100 #endif // ATHENA_WM_WINDOW_MANAGER_IMPL_H_ |
OLD | NEW |