| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 WmRootWindowControllerMus* GetRootWindowControllerWithDisplayId(int64_t id); | 42 WmRootWindowControllerMus* GetRootWindowControllerWithDisplayId(int64_t id); |
| 43 | 43 |
| 44 // WmShell: | 44 // WmShell: |
| 45 WmWindow* NewContainerWindow() override; | 45 WmWindow* NewContainerWindow() override; |
| 46 WmWindow* GetFocusedWindow() override; | 46 WmWindow* GetFocusedWindow() override; |
| 47 WmWindow* GetActiveWindow() override; | 47 WmWindow* GetActiveWindow() override; |
| 48 WmWindow* GetPrimaryRootWindow() override; | 48 WmWindow* GetPrimaryRootWindow() override; |
| 49 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; | 49 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; |
| 50 WmWindow* GetRootWindowForNewWindows() override; | 50 WmWindow* GetRootWindowForNewWindows() override; |
| 51 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override; | 51 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override; |
| 52 bool IsActiveDisplayId(int64_t display_id) const override; |
| 52 bool IsForceMaximizeOnFirstRun() override; | 53 bool IsForceMaximizeOnFirstRun() override; |
| 53 bool IsPinned() override; | 54 bool IsPinned() override; |
| 54 void SetPinnedWindow(WmWindow* window) override; | 55 void SetPinnedWindow(WmWindow* window) override; |
| 55 bool CanShowWindowForUser(WmWindow* window) override; | 56 bool CanShowWindowForUser(WmWindow* window) override; |
| 56 void LockCursor() override; | 57 void LockCursor() override; |
| 57 void UnlockCursor() override; | 58 void UnlockCursor() override; |
| 58 std::vector<WmWindow*> GetAllRootWindows() override; | 59 std::vector<WmWindow*> GetAllRootWindows() override; |
| 59 void RecordUserMetricsAction(UserMetricsAction action) override; | 60 void RecordUserMetricsAction(UserMetricsAction action) override; |
| 60 std::unique_ptr<WindowResizer> CreateDragWindowResizer( | 61 std::unique_ptr<WindowResizer> CreateDragWindowResizer( |
| 61 std::unique_ptr<WindowResizer> next_window_resizer, | 62 std::unique_ptr<WindowResizer> next_window_resizer, |
| 62 wm::WindowState* window_state) override; | 63 wm::WindowState* window_state) override; |
| 63 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() | 64 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() |
| 64 override; | 65 override; |
| 66 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> |
| 67 CreateScopedDisableInternalMouseAndKeyboard() override; |
| 65 void OnOverviewModeStarting() override; | 68 void OnOverviewModeStarting() override; |
| 66 void OnOverviewModeEnded() override; | 69 void OnOverviewModeEnded() override; |
| 67 AccessibilityDelegate* GetAccessibilityDelegate() override; | 70 AccessibilityDelegate* GetAccessibilityDelegate() override; |
| 68 SessionStateDelegate* GetSessionStateDelegate() override; | 71 SessionStateDelegate* GetSessionStateDelegate() override; |
| 69 void AddActivationObserver(WmActivationObserver* observer) override; | 72 void AddActivationObserver(WmActivationObserver* observer) override; |
| 70 void RemoveActivationObserver(WmActivationObserver* observer) override; | 73 void RemoveActivationObserver(WmActivationObserver* observer) override; |
| 71 void AddDisplayObserver(WmDisplayObserver* observer) override; | 74 void AddDisplayObserver(WmDisplayObserver* observer) override; |
| 72 void RemoveDisplayObserver(WmDisplayObserver* observer) override; | 75 void RemoveDisplayObserver(WmDisplayObserver* observer) override; |
| 73 void AddPointerWatcher(views::PointerWatcher* watcher) override; | 76 void AddPointerWatcher(views::PointerWatcher* watcher) override; |
| 74 void RemovePointerWatcher(views::PointerWatcher* watcher) override; | 77 void RemovePointerWatcher(views::PointerWatcher* watcher) override; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 97 | 100 |
| 98 base::ObserverList<WmActivationObserver> activation_observers_; | 101 base::ObserverList<WmActivationObserver> activation_observers_; |
| 99 | 102 |
| 100 DISALLOW_COPY_AND_ASSIGN(WmShellMus); | 103 DISALLOW_COPY_AND_ASSIGN(WmShellMus); |
| 101 }; | 104 }; |
| 102 | 105 |
| 103 } // namespace mus | 106 } // namespace mus |
| 104 } // namespace ash | 107 } // namespace ash |
| 105 | 108 |
| 106 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ | 109 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
| OLD | NEW |