Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: ash/wm/aura/wm_globals_aura.h

Issue 2001623003: Splits ToplevelWindowEventHandler into two (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gyp Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/aura/wm_globals_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/aura/wm_globals_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698