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_AURA_WM_SHELL_AURA_H_ | 5 #ifndef ASH_AURA_WM_SHELL_AURA_H_ |
6 #define ASH_AURA_WM_SHELL_AURA_H_ | 6 #define ASH_AURA_WM_SHELL_AURA_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
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 override; | 54 override; |
55 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> | 55 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> |
56 CreateScopedDisableInternalMouseAndKeyboard() override; | 56 CreateScopedDisableInternalMouseAndKeyboard() override; |
57 void OnOverviewModeStarting() override; | 57 void OnOverviewModeStarting() override; |
58 void OnOverviewModeEnded() override; | 58 void OnOverviewModeEnded() override; |
59 SessionStateDelegate* GetSessionStateDelegate() override; | 59 SessionStateDelegate* GetSessionStateDelegate() override; |
60 void AddActivationObserver(WmActivationObserver* observer) override; | 60 void AddActivationObserver(WmActivationObserver* observer) override; |
61 void RemoveActivationObserver(WmActivationObserver* observer) override; | 61 void RemoveActivationObserver(WmActivationObserver* observer) override; |
62 void AddDisplayObserver(WmDisplayObserver* observer) override; | 62 void AddDisplayObserver(WmDisplayObserver* observer) override; |
63 void RemoveDisplayObserver(WmDisplayObserver* observer) override; | 63 void RemoveDisplayObserver(WmDisplayObserver* observer) override; |
64 void AddPointerDownWatcher(views::PointerDownWatcher* watcher) override; | 64 void AddPointerWatcher(views::PointerWatcher* watcher) override; |
65 void RemovePointerDownWatcher(views::PointerDownWatcher* watcher) override; | 65 void RemovePointerWatcher(views::PointerWatcher* watcher) override; |
66 #if defined(OS_CHROMEOS) | 66 #if defined(OS_CHROMEOS) |
67 void ToggleIgnoreExternalKeyboard() override; | 67 void ToggleIgnoreExternalKeyboard() override; |
68 #endif | 68 #endif |
69 | 69 |
70 private: | 70 private: |
71 // aura::client::ActivationChangeObserver: | 71 // aura::client::ActivationChangeObserver: |
72 void OnWindowActivated(ActivationReason reason, | 72 void OnWindowActivated(ActivationReason reason, |
73 aura::Window* gained_active, | 73 aura::Window* gained_active, |
74 aura::Window* lost_active) override; | 74 aura::Window* lost_active) override; |
75 void OnAttemptToReactivateWindow(aura::Window* request_active, | 75 void OnAttemptToReactivateWindow(aura::Window* request_active, |
76 aura::Window* actual_active) override; | 76 aura::Window* actual_active) override; |
77 | 77 |
78 // WindowTreeHostManager::Observer: | 78 // WindowTreeHostManager::Observer: |
79 void OnDisplayConfigurationChanging() override; | 79 void OnDisplayConfigurationChanging() override; |
80 void OnDisplayConfigurationChanged() override; | 80 void OnDisplayConfigurationChanged() override; |
81 | 81 |
82 WmLookupAura wm_lookup_; | 82 WmLookupAura wm_lookup_; |
83 bool added_activation_observer_ = false; | 83 bool added_activation_observer_ = false; |
84 base::ObserverList<WmActivationObserver> activation_observers_; | 84 base::ObserverList<WmActivationObserver> activation_observers_; |
85 | 85 |
86 bool added_display_observer_ = false; | 86 bool added_display_observer_ = false; |
87 base::ObserverList<WmDisplayObserver> display_observers_; | 87 base::ObserverList<WmDisplayObserver> display_observers_; |
88 | 88 |
89 DISALLOW_COPY_AND_ASSIGN(WmShellAura); | 89 DISALLOW_COPY_AND_ASSIGN(WmShellAura); |
90 }; | 90 }; |
91 | 91 |
92 } // namespace ash | 92 } // namespace ash |
93 | 93 |
94 #endif // ASH_AURA_WM_SHELL_AURA_H_ | 94 #endif // ASH_AURA_WM_SHELL_AURA_H_ |
OLD | NEW |