| 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 ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ | 5 #ifndef ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ |
| 6 #define ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ | 6 #define ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 // Called from a window state object when it gets destroyed. | 39 // Called from a window state object when it gets destroyed. |
| 40 void WindowStateDestroyed(aura::Window* window); | 40 void WindowStateDestroyed(aura::Window* window); |
| 41 | 41 |
| 42 // Overridden from WindowObserver: | 42 // Overridden from WindowObserver: |
| 43 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; | 43 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; |
| 44 virtual void OnWindowAdded(aura::Window* window) OVERRIDE; | 44 virtual void OnWindowAdded(aura::Window* window) OVERRIDE; |
| 45 virtual void OnWindowBoundsChanged(aura::Window* window, | 45 virtual void OnWindowBoundsChanged(aura::Window* window, |
| 46 const gfx::Rect& old_bounds, | 46 const gfx::Rect& old_bounds, |
| 47 const gfx::Rect& new_bounds) OVERRIDE; | 47 const gfx::Rect& new_bounds) OVERRIDE; |
| 48 | 48 |
| 49 // aura::DisplayObserver overrides: | 49 // gfx::DisplayObserver overrides: |
| 50 virtual void OnDisplayBoundsChanged( | |
| 51 const gfx::Display& display) OVERRIDE; | |
| 52 virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE; | 50 virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE; |
| 53 virtual void OnDisplayRemoved(const gfx::Display& display) OVERRIDE; | 51 virtual void OnDisplayRemoved(const gfx::Display& display) OVERRIDE; |
| 52 virtual void OnDisplayMetricsChanged(const gfx::Display& display, |
| 53 DisplayObserver::DisplayMetrics metrics) OVERRIDE; |
| 54 | 54 |
| 55 // ShellObserver overrides: | 55 // ShellObserver overrides: |
| 56 virtual void OnOverviewModeStarting() OVERRIDE; | 56 virtual void OnOverviewModeStarting() OVERRIDE; |
| 57 virtual void OnOverviewModeEnding() OVERRIDE; | 57 virtual void OnOverviewModeEnding() OVERRIDE; |
| 58 | 58 |
| 59 protected: | 59 protected: |
| 60 friend class ash::Shell; | 60 friend class ash::Shell; |
| 61 | 61 |
| 62 // The object should only be created by the ash::Shell. | 62 // The object should only be created by the ash::Shell. |
| 63 MaximizeModeWindowManager(); | 63 MaximizeModeWindowManager(); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 108 |
| 109 // True if all backdrops are hidden. | 109 // True if all backdrops are hidden. |
| 110 bool backdrops_hidden_; | 110 bool backdrops_hidden_; |
| 111 | 111 |
| 112 DISALLOW_COPY_AND_ASSIGN(MaximizeModeWindowManager); | 112 DISALLOW_COPY_AND_ASSIGN(MaximizeModeWindowManager); |
| 113 }; | 113 }; |
| 114 | 114 |
| 115 } // namespace ash | 115 } // namespace ash |
| 116 | 116 |
| 117 #endif // ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ | 117 #endif // ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ |
| OLD | NEW |