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 <memory> | 10 #include <memory> |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 override; | 74 override; |
75 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> | 75 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> |
76 CreateScopedDisableInternalMouseAndKeyboard() override; | 76 CreateScopedDisableInternalMouseAndKeyboard() override; |
77 void OnOverviewModeStarting() override; | 77 void OnOverviewModeStarting() override; |
78 void OnOverviewModeEnded() override; | 78 void OnOverviewModeEnded() override; |
79 SessionStateDelegate* GetSessionStateDelegate() override; | 79 SessionStateDelegate* GetSessionStateDelegate() override; |
80 void AddActivationObserver(WmActivationObserver* observer) override; | 80 void AddActivationObserver(WmActivationObserver* observer) override; |
81 void RemoveActivationObserver(WmActivationObserver* observer) override; | 81 void RemoveActivationObserver(WmActivationObserver* observer) override; |
82 void AddDisplayObserver(WmDisplayObserver* observer) override; | 82 void AddDisplayObserver(WmDisplayObserver* observer) override; |
83 void RemoveDisplayObserver(WmDisplayObserver* observer) override; | 83 void RemoveDisplayObserver(WmDisplayObserver* observer) override; |
84 void AddPointerWatcher(views::PointerWatcher* watcher) override; | 84 void AddPointerDownWatcher(views::PointerDownWatcher* watcher) override; |
85 void RemovePointerWatcher(views::PointerWatcher* watcher) override; | 85 void RemovePointerDownWatcher(views::PointerDownWatcher* watcher) override; |
86 #if defined(OS_CHROMEOS) | 86 #if defined(OS_CHROMEOS) |
87 void ToggleIgnoreExternalKeyboard() override; | 87 void ToggleIgnoreExternalKeyboard() override; |
88 #endif | 88 #endif |
89 | 89 |
90 private: | 90 private: |
91 // Returns true if |window| is a window that can have active children. | 91 // Returns true if |window| is a window that can have active children. |
92 static bool IsActivationParent(::ui::Window* window); | 92 static bool IsActivationParent(::ui::Window* window); |
93 | 93 |
94 void RemoveClientObserver(); | 94 void RemoveClientObserver(); |
95 | 95 |
(...skipping 10 matching lines...) Expand all Loading... |
106 | 106 |
107 base::ObserverList<WmActivationObserver> activation_observers_; | 107 base::ObserverList<WmActivationObserver> activation_observers_; |
108 | 108 |
109 DISALLOW_COPY_AND_ASSIGN(WmShellMus); | 109 DISALLOW_COPY_AND_ASSIGN(WmShellMus); |
110 }; | 110 }; |
111 | 111 |
112 } // namespace mus | 112 } // namespace mus |
113 } // namespace ash | 113 } // namespace ash |
114 | 114 |
115 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ | 115 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
OLD | NEW |