OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ |
6 #define ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ | 6 #define ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/shelf/shelf_layout_manager_observer.h" | 9 #include "ash/shelf/shelf_layout_manager_observer.h" |
10 #include "ash/shell_observer.h" | 10 #include "ash/shell_observer.h" |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 BackgroundAnimatorChangeType change_type) OVERRIDE; | 159 BackgroundAnimatorChangeType change_type) OVERRIDE; |
160 | 160 |
161 // wm::WindowStateObserver: | 161 // wm::WindowStateObserver: |
162 virtual void OnWindowShowTypeChanged(wm::WindowState* window_state, | 162 virtual void OnWindowShowTypeChanged(wm::WindowState* window_state, |
163 wm::WindowShowType old_type) OVERRIDE; | 163 wm::WindowShowType old_type) OVERRIDE; |
164 | 164 |
165 // aura::WindowObserver: | 165 // aura::WindowObserver: |
166 virtual void OnWindowBoundsChanged(aura::Window* window, | 166 virtual void OnWindowBoundsChanged(aura::Window* window, |
167 const gfx::Rect& old_bounds, | 167 const gfx::Rect& old_bounds, |
168 const gfx::Rect& new_bounds) OVERRIDE; | 168 const gfx::Rect& new_bounds) OVERRIDE; |
169 virtual void OnWindowVisibilityChanging(aura::Window* window, | |
170 bool visible) OVERRIDE; | |
171 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; | 169 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; |
172 | 170 |
173 // aura::client::ActivationChangeObserver: | 171 // aura::client::ActivationChangeObserver: |
174 virtual void OnWindowActivated(aura::Window* gained_active, | 172 virtual void OnWindowActivated(aura::Window* gained_active, |
175 aura::Window* lost_active) OVERRIDE; | 173 aura::Window* lost_active) OVERRIDE; |
176 | 174 |
177 private: | 175 private: |
178 class ShelfWindowObserver; | 176 class ShelfWindowObserver; |
179 friend class DockedWindowLayoutManagerTest; | 177 friend class DockedWindowLayoutManagerTest; |
180 friend class DockedWindowResizerTest; | 178 friend class DockedWindowResizerTest; |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 // Observers of dock bounds changes. | 298 // Observers of dock bounds changes. |
301 ObserverList<DockedWindowLayoutManagerObserver> observer_list_; | 299 ObserverList<DockedWindowLayoutManagerObserver> observer_list_; |
302 | 300 |
303 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager); | 301 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager); |
304 }; | 302 }; |
305 | 303 |
306 } // namespace internal | 304 } // namespace internal |
307 } // namespace ash | 305 } // namespace ash |
308 | 306 |
309 #endif // ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ | 307 #endif // ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ |
OLD | NEW |