| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_AURA_WM_GLOBALS_AURA_H_ | 5 #ifndef ASH_WM_AURA_WM_GLOBALS_AURA_H_ |
| 6 #define ASH_WM_AURA_WM_GLOBALS_AURA_H_ | 6 #define ASH_WM_AURA_WM_GLOBALS_AURA_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 void AddOverviewModeObserver(WmOverviewModeObserver* observer) override; | 54 void AddOverviewModeObserver(WmOverviewModeObserver* observer) override; |
| 55 void RemoveOverviewModeObserver(WmOverviewModeObserver* observer) override; | 55 void RemoveOverviewModeObserver(WmOverviewModeObserver* observer) override; |
| 56 | 56 |
| 57 private: | 57 private: |
| 58 // aura::client::ActivationChangeObserver: | 58 // aura::client::ActivationChangeObserver: |
| 59 void OnWindowActivated(ActivationReason reason, | 59 void OnWindowActivated(ActivationReason reason, |
| 60 aura::Window* gained_active, | 60 aura::Window* gained_active, |
| 61 aura::Window* lost_active) override; | 61 aura::Window* lost_active) override; |
| 62 | 62 |
| 63 // WindowTreeHostManager::Observer: | 63 // WindowTreeHostManager::Observer: |
| 64 void OnDisplayConfigurationChanging() override; |
| 64 void OnDisplayConfigurationChanged() override; | 65 void OnDisplayConfigurationChanged() override; |
| 65 | 66 |
| 66 // ShellObserver: | 67 // ShellObserver: |
| 67 void OnOverviewModeEnded() override; | 68 void OnOverviewModeEnded() override; |
| 68 | 69 |
| 69 WmLookupAura wm_lookup_; | 70 WmLookupAura wm_lookup_; |
| 70 bool added_activation_observer_ = false; | 71 bool added_activation_observer_ = false; |
| 71 base::ObserverList<WmActivationObserver> activation_observers_; | 72 base::ObserverList<WmActivationObserver> activation_observers_; |
| 72 | 73 |
| 73 bool added_display_observer_ = false; | 74 bool added_display_observer_ = false; |
| 74 base::ObserverList<WmDisplayObserver> display_observers_; | 75 base::ObserverList<WmDisplayObserver> display_observers_; |
| 75 | 76 |
| 76 base::ObserverList<WmOverviewModeObserver> overview_mode_observers_; | 77 base::ObserverList<WmOverviewModeObserver> overview_mode_observers_; |
| 77 | 78 |
| 78 DISALLOW_COPY_AND_ASSIGN(WmGlobalsAura); | 79 DISALLOW_COPY_AND_ASSIGN(WmGlobalsAura); |
| 79 }; | 80 }; |
| 80 | 81 |
| 81 } // namespace wm | 82 } // namespace wm |
| 82 } // namespace ash | 83 } // namespace ash |
| 83 | 84 |
| 84 #endif // ASH_WM_AURA_WM_GLOBALS_AURA_H_ | 85 #endif // ASH_WM_AURA_WM_GLOBALS_AURA_H_ |
| OLD | NEW |