| 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 void AddPointerWatcher(views::PointerWatcher* watcher) override; |
| 79 void RemovePointerWatcher(views::PointerWatcher* watcher) override; |
| 78 #if defined(OS_CHROMEOS) | 80 #if defined(OS_CHROMEOS) |
| 79 void ToggleIgnoreExternalKeyboard() override; | 81 void ToggleIgnoreExternalKeyboard() override; |
| 80 #endif | 82 #endif |
| 81 | 83 |
| 82 private: | 84 private: |
| 83 // Returns true if |window| is a window that can have active children. | 85 // Returns true if |window| is a window that can have active children. |
| 84 static bool IsActivationParent(::mus::Window* window); | 86 static bool IsActivationParent(::mus::Window* window); |
| 85 | 87 |
| 86 void RemoveClientObserver(); | 88 void RemoveClientObserver(); |
| 87 | 89 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 102 | 104 |
| 103 base::ObserverList<WmActivationObserver> activation_observers_; | 105 base::ObserverList<WmActivationObserver> activation_observers_; |
| 104 | 106 |
| 105 DISALLOW_COPY_AND_ASSIGN(WmShellMus); | 107 DISALLOW_COPY_AND_ASSIGN(WmShellMus); |
| 106 }; | 108 }; |
| 107 | 109 |
| 108 } // namespace mus | 110 } // namespace mus |
| 109 } // namespace ash | 111 } // namespace ash |
| 110 | 112 |
| 111 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ | 113 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
| OLD | NEW |