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_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ |
6 #define ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ | 6 #define ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 void OnWindowPropertyChanged(aura::Window* window, | 77 void OnWindowPropertyChanged(aura::Window* window, |
78 const void* key, | 78 const void* key, |
79 intptr_t old) override; | 79 intptr_t old) override; |
80 void OnWindowStackingChanged(aura::Window* window) override; | 80 void OnWindowStackingChanged(aura::Window* window) override; |
81 void OnWindowDestroying(aura::Window* window) override; | 81 void OnWindowDestroying(aura::Window* window) override; |
82 void OnWindowBoundsChanged(aura::Window* window, | 82 void OnWindowBoundsChanged(aura::Window* window, |
83 const gfx::Rect& old_bounds, | 83 const gfx::Rect& old_bounds, |
84 const gfx::Rect& new_bounds) override; | 84 const gfx::Rect& new_bounds) override; |
85 | 85 |
86 // aura::client::ActivationChangeObserver overrides: | 86 // aura::client::ActivationChangeObserver overrides: |
87 void OnWindowActivated(aura::Window* gained_active, | 87 void OnWindowActivated( |
88 aura::Window* lost_active) override; | 88 aura::client::ActivationChangeObserver::ActivationReason reason, |
| 89 aura::Window* gained_active, |
| 90 aura::Window* lost_active) override; |
89 | 91 |
90 // keyboard::KeyboardControllerObserver overrides: | 92 // keyboard::KeyboardControllerObserver overrides: |
91 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; | 93 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; |
92 | 94 |
93 // WindowStateObserver overrides: | 95 // WindowStateObserver overrides: |
94 void OnPostWindowStateTypeChange(wm::WindowState* window_state, | 96 void OnPostWindowStateTypeChange(wm::WindowState* window_state, |
95 wm::WindowStateType old_type) override; | 97 wm::WindowStateType old_type) override; |
96 | 98 |
97 private: | 99 private: |
98 typedef std::set<aura::Window*> WindowSet; | 100 typedef std::set<aura::Window*> WindowSet; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 // A window which covers the full container and which gets inserted behind the | 143 // A window which covers the full container and which gets inserted behind the |
142 // topmost visible window. | 144 // topmost visible window. |
143 scoped_ptr<WorkspaceLayoutManagerDelegate> backdrop_delegate_; | 145 scoped_ptr<WorkspaceLayoutManagerDelegate> backdrop_delegate_; |
144 | 146 |
145 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); | 147 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); |
146 }; | 148 }; |
147 | 149 |
148 } // namespace ash | 150 } // namespace ash |
149 | 151 |
150 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ | 152 #endif // ASH_WM_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ |
OLD | NEW |