| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override; | 57 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override; |
| 58 bool IsActiveDisplayId(int64_t display_id) const override; | 58 bool IsActiveDisplayId(int64_t display_id) const override; |
| 59 bool IsForceMaximizeOnFirstRun() override; | 59 bool IsForceMaximizeOnFirstRun() override; |
| 60 bool IsPinned() override; | 60 bool IsPinned() override; |
| 61 void SetPinnedWindow(WmWindow* window) override; | 61 void SetPinnedWindow(WmWindow* window) override; |
| 62 bool CanShowWindowForUser(WmWindow* window) override; | 62 bool CanShowWindowForUser(WmWindow* window) override; |
| 63 void LockCursor() override; | 63 void LockCursor() override; |
| 64 void UnlockCursor() override; | 64 void UnlockCursor() override; |
| 65 std::vector<WmWindow*> GetAllRootWindows() override; | 65 std::vector<WmWindow*> GetAllRootWindows() override; |
| 66 void RecordUserMetricsAction(UserMetricsAction action) override; | 66 void RecordUserMetricsAction(UserMetricsAction action) override; |
| 67 void RecordTaskSwitchMetric(TaskSwitchSource source) override; |
| 67 std::unique_ptr<WindowResizer> CreateDragWindowResizer( | 68 std::unique_ptr<WindowResizer> CreateDragWindowResizer( |
| 68 std::unique_ptr<WindowResizer> next_window_resizer, | 69 std::unique_ptr<WindowResizer> next_window_resizer, |
| 69 wm::WindowState* window_state) override; | 70 wm::WindowState* window_state) override; |
| 70 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() | 71 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() |
| 71 override; | 72 override; |
| 72 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() | 73 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() |
| 73 override; | 74 override; |
| 74 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> | 75 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> |
| 75 CreateScopedDisableInternalMouseAndKeyboard() override; | 76 CreateScopedDisableInternalMouseAndKeyboard() override; |
| 76 void OnOverviewModeStarting() override; | 77 void OnOverviewModeStarting() override; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 105 | 106 |
| 106 base::ObserverList<WmActivationObserver> activation_observers_; | 107 base::ObserverList<WmActivationObserver> activation_observers_; |
| 107 | 108 |
| 108 DISALLOW_COPY_AND_ASSIGN(WmShellMus); | 109 DISALLOW_COPY_AND_ASSIGN(WmShellMus); |
| 109 }; | 110 }; |
| 110 | 111 |
| 111 } // namespace mus | 112 } // namespace mus |
| 112 } // namespace ash | 113 } // namespace ash |
| 113 | 114 |
| 114 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ | 115 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
| OLD | NEW |