| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 virtual void OnOverviewModeStarting() OVERRIDE; | 49 virtual void OnOverviewModeStarting() OVERRIDE; |
| 50 virtual void OnOverviewModeEnding() OVERRIDE; | 50 virtual void OnOverviewModeEnding() OVERRIDE; |
| 51 | 51 |
| 52 // Overridden from WindowObserver: | 52 // Overridden from WindowObserver: |
| 53 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; | 53 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; |
| 54 virtual void OnWindowAdded(aura::Window* window) OVERRIDE; | 54 virtual void OnWindowAdded(aura::Window* window) OVERRIDE; |
| 55 virtual void OnWindowBoundsChanged(aura::Window* window, | 55 virtual void OnWindowBoundsChanged(aura::Window* window, |
| 56 const gfx::Rect& old_bounds, | 56 const gfx::Rect& old_bounds, |
| 57 const gfx::Rect& new_bounds) OVERRIDE; | 57 const gfx::Rect& new_bounds) OVERRIDE; |
| 58 | 58 |
| 59 // gfx::DisplayObserver overrides: | 59 // aura::DisplayObserver overrides: |
| 60 virtual void OnDisplayBoundsChanged( |
| 61 const gfx::Display& display) OVERRIDE; |
| 60 virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE; | 62 virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE; |
| 61 virtual void OnDisplayRemoved(const gfx::Display& display) OVERRIDE; | 63 virtual void OnDisplayRemoved(const gfx::Display& display) OVERRIDE; |
| 62 virtual void OnDisplayMetricsChanged(const gfx::Display& display, | |
| 63 uint32_t metrics) OVERRIDE; | |
| 64 | 64 |
| 65 // ui::EventHandler override: | 65 // ui::EventHandler override: |
| 66 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; | 66 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; |
| 67 | 67 |
| 68 protected: | 68 protected: |
| 69 friend class ash::Shell; | 69 friend class ash::Shell; |
| 70 | 70 |
| 71 // The object should only be created by the ash::Shell. | 71 // The object should only be created by the ash::Shell. |
| 72 MaximizeModeWindowManager(); | 72 MaximizeModeWindowManager(); |
| 73 | 73 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 117 |
| 118 // True if all backdrops are hidden. | 118 // True if all backdrops are hidden. |
| 119 bool backdrops_hidden_; | 119 bool backdrops_hidden_; |
| 120 | 120 |
| 121 DISALLOW_COPY_AND_ASSIGN(MaximizeModeWindowManager); | 121 DISALLOW_COPY_AND_ASSIGN(MaximizeModeWindowManager); |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } // namespace ash | 124 } // namespace ash |
| 125 | 125 |
| 126 #endif // ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ | 126 #endif // ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ |
| OLD | NEW |