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_MUS_BRIDGE_WM_SHELL_MUS_H_ | 5 #ifndef ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
6 #define ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ | 6 #define ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 bool IsOverviewModeSelecting() override; | 68 bool IsOverviewModeSelecting() override; |
69 bool IsOverviewModeRestoringMinimizedWindows() override; | 69 bool IsOverviewModeRestoringMinimizedWindows() override; |
70 AccessibilityDelegate* GetAccessibilityDelegate() override; | 70 AccessibilityDelegate* GetAccessibilityDelegate() override; |
71 SessionStateDelegate* GetSessionStateDelegate() override; | 71 SessionStateDelegate* GetSessionStateDelegate() override; |
72 void AddActivationObserver(WmActivationObserver* observer) override; | 72 void AddActivationObserver(WmActivationObserver* observer) override; |
73 void RemoveActivationObserver(WmActivationObserver* observer) override; | 73 void RemoveActivationObserver(WmActivationObserver* observer) override; |
74 void AddDisplayObserver(WmDisplayObserver* observer) override; | 74 void AddDisplayObserver(WmDisplayObserver* observer) override; |
75 void RemoveDisplayObserver(WmDisplayObserver* observer) override; | 75 void RemoveDisplayObserver(WmDisplayObserver* observer) override; |
76 void AddShellObserver(ShellObserver* observer) override; | 76 void AddShellObserver(ShellObserver* observer) override; |
77 void RemoveShellObserver(ShellObserver* observer) override; | 77 void RemoveShellObserver(ShellObserver* observer) override; |
| 78 #if defined(OS_CHROMEOS) |
| 79 void ToggleIgnoreExternalKeyboard() override; |
| 80 #endif |
78 | 81 |
79 private: | 82 private: |
80 // Returns true if |window| is a window that can have active children. | 83 // Returns true if |window| is a window that can have active children. |
81 static bool IsActivationParent(::mus::Window* window); | 84 static bool IsActivationParent(::mus::Window* window); |
82 | 85 |
83 void RemoveClientObserver(); | 86 void RemoveClientObserver(); |
84 | 87 |
85 // ::mus::WindowTreeClientObserver: | 88 // ::mus::WindowTreeClientObserver: |
86 void OnWindowTreeFocusChanged(::mus::Window* gained_focus, | 89 void OnWindowTreeFocusChanged(::mus::Window* gained_focus, |
87 ::mus::Window* lost_focus) override; | 90 ::mus::Window* lost_focus) override; |
(...skipping 11 matching lines...) Expand all Loading... |
99 | 102 |
100 base::ObserverList<WmActivationObserver> activation_observers_; | 103 base::ObserverList<WmActivationObserver> activation_observers_; |
101 | 104 |
102 DISALLOW_COPY_AND_ASSIGN(WmShellMus); | 105 DISALLOW_COPY_AND_ASSIGN(WmShellMus); |
103 }; | 106 }; |
104 | 107 |
105 } // namespace mus | 108 } // namespace mus |
106 } // namespace ash | 109 } // namespace ash |
107 | 110 |
108 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ | 111 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
OLD | NEW |