| 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 "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/aura/wm_lookup_aura.h" | 9 #include "ash/aura/wm_lookup_aura.h" |
| 10 #include "ash/common/wm_shell.h" | 10 #include "ash/common/wm_shell.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 bool IsOverviewModeSelecting() override; | 54 bool IsOverviewModeSelecting() override; |
| 55 bool IsOverviewModeRestoringMinimizedWindows() override; | 55 bool IsOverviewModeRestoringMinimizedWindows() override; |
| 56 AccessibilityDelegate* GetAccessibilityDelegate() override; | 56 AccessibilityDelegate* GetAccessibilityDelegate() override; |
| 57 SessionStateDelegate* GetSessionStateDelegate() override; | 57 SessionStateDelegate* GetSessionStateDelegate() override; |
| 58 void AddActivationObserver(WmActivationObserver* observer) override; | 58 void AddActivationObserver(WmActivationObserver* observer) override; |
| 59 void RemoveActivationObserver(WmActivationObserver* observer) override; | 59 void RemoveActivationObserver(WmActivationObserver* observer) override; |
| 60 void AddDisplayObserver(WmDisplayObserver* observer) override; | 60 void AddDisplayObserver(WmDisplayObserver* observer) override; |
| 61 void RemoveDisplayObserver(WmDisplayObserver* observer) override; | 61 void RemoveDisplayObserver(WmDisplayObserver* observer) override; |
| 62 void AddShellObserver(ShellObserver* observer) override; | 62 void AddShellObserver(ShellObserver* observer) override; |
| 63 void RemoveShellObserver(ShellObserver* observer) override; | 63 void RemoveShellObserver(ShellObserver* observer) override; |
| 64 void AddPointerWatcher(views::PointerWatcher* watcher) override; |
| 65 void RemovePointerWatcher(views::PointerWatcher* watcher) override; |
| 64 #if defined(OS_CHROMEOS) | 66 #if defined(OS_CHROMEOS) |
| 65 void ToggleIgnoreExternalKeyboard() override; | 67 void ToggleIgnoreExternalKeyboard() override; |
| 66 #endif | 68 #endif |
| 67 | 69 |
| 68 private: | 70 private: |
| 69 // aura::client::ActivationChangeObserver: | 71 // aura::client::ActivationChangeObserver: |
| 70 void OnWindowActivated(ActivationReason reason, | 72 void OnWindowActivated(ActivationReason reason, |
| 71 aura::Window* gained_active, | 73 aura::Window* gained_active, |
| 72 aura::Window* lost_active) override; | 74 aura::Window* lost_active) override; |
| 73 void OnAttemptToReactivateWindow(aura::Window* request_active, | 75 void OnAttemptToReactivateWindow(aura::Window* request_active, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 86 | 88 |
| 87 bool added_display_observer_ = false; | 89 bool added_display_observer_ = false; |
| 88 base::ObserverList<WmDisplayObserver> display_observers_; | 90 base::ObserverList<WmDisplayObserver> display_observers_; |
| 89 | 91 |
| 90 DISALLOW_COPY_AND_ASSIGN(WmShellAura); | 92 DISALLOW_COPY_AND_ASSIGN(WmShellAura); |
| 91 }; | 93 }; |
| 92 | 94 |
| 93 } // namespace ash | 95 } // namespace ash |
| 94 | 96 |
| 95 #endif // ASH_AURA_WM_SHELL_AURA_H_ | 97 #endif // ASH_AURA_WM_SHELL_AURA_H_ |
| OLD | NEW |