| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 AcceleratorControllerDelegateMus* accelerator_controller_delegate() { | 53 AcceleratorControllerDelegateMus* accelerator_controller_delegate() { |
| 54 return accelerator_controller_delegate_.get(); | 54 return accelerator_controller_delegate_.get(); |
| 55 } | 55 } |
| 56 | 56 |
| 57 // WmShell: | 57 // WmShell: |
| 58 WmWindow* NewContainerWindow() override; | 58 WmWindow* NewContainerWindow() override; |
| 59 WmWindow* GetFocusedWindow() override; | 59 WmWindow* GetFocusedWindow() override; |
| 60 WmWindow* GetActiveWindow() override; | 60 WmWindow* GetActiveWindow() override; |
| 61 WmWindow* GetPrimaryRootWindow() override; | 61 WmWindow* GetPrimaryRootWindow() override; |
| 62 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; | 62 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; |
| 63 WmWindow* GetRootWindowForNewWindows() override; | |
| 64 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override; | 63 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override; |
| 65 bool IsActiveDisplayId(int64_t display_id) const override; | 64 bool IsActiveDisplayId(int64_t display_id) const override; |
| 66 bool IsForceMaximizeOnFirstRun() override; | 65 bool IsForceMaximizeOnFirstRun() override; |
| 67 bool IsPinned() override; | 66 bool IsPinned() override; |
| 68 void SetPinnedWindow(WmWindow* window) override; | 67 void SetPinnedWindow(WmWindow* window) override; |
| 69 bool CanShowWindowForUser(WmWindow* window) override; | 68 bool CanShowWindowForUser(WmWindow* window) override; |
| 70 void LockCursor() override; | 69 void LockCursor() override; |
| 71 void UnlockCursor() override; | 70 void UnlockCursor() override; |
| 72 std::vector<WmWindow*> GetAllRootWindows() override; | 71 std::vector<WmWindow*> GetAllRootWindows() override; |
| 73 void RecordUserMetricsAction(UserMetricsAction action) override; | 72 void RecordUserMetricsAction(UserMetricsAction action) override; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 118 |
| 120 base::ObserverList<WmActivationObserver> activation_observers_; | 119 base::ObserverList<WmActivationObserver> activation_observers_; |
| 121 | 120 |
| 122 DISALLOW_COPY_AND_ASSIGN(WmShellMus); | 121 DISALLOW_COPY_AND_ASSIGN(WmShellMus); |
| 123 }; | 122 }; |
| 124 | 123 |
| 125 } // namespace mus | 124 } // namespace mus |
| 126 } // namespace ash | 125 } // namespace ash |
| 127 | 126 |
| 128 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ | 127 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
| OLD | NEW |