| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 bool IsPinned() override; | 80 bool IsPinned() override; |
| 81 void SetPinnedWindow(WmWindow* window) override; | 81 void SetPinnedWindow(WmWindow* window) override; |
| 82 bool CanShowWindowForUser(WmWindow* window) override; | 82 bool CanShowWindowForUser(WmWindow* window) override; |
| 83 void LockCursor() override; | 83 void LockCursor() override; |
| 84 void UnlockCursor() override; | 84 void UnlockCursor() override; |
| 85 bool IsMouseEventsEnabled() override; | 85 bool IsMouseEventsEnabled() override; |
| 86 std::vector<WmWindow*> GetAllRootWindows() override; | 86 std::vector<WmWindow*> GetAllRootWindows() override; |
| 87 void RecordGestureAction(GestureActionType action) override; | 87 void RecordGestureAction(GestureActionType action) override; |
| 88 void RecordUserMetricsAction(UserMetricsAction action) override; | 88 void RecordUserMetricsAction(UserMetricsAction action) override; |
| 89 void RecordTaskSwitchMetric(TaskSwitchSource source) override; | 89 void RecordTaskSwitchMetric(TaskSwitchSource source) override; |
| 90 void ShowContextMenu(const gfx::Point& location_in_screen, | |
| 91 ui::MenuSourceType source_type) override; | |
| 92 std::unique_ptr<WindowResizer> CreateDragWindowResizer( | 90 std::unique_ptr<WindowResizer> CreateDragWindowResizer( |
| 93 std::unique_ptr<WindowResizer> next_window_resizer, | 91 std::unique_ptr<WindowResizer> next_window_resizer, |
| 94 wm::WindowState* window_state) override; | 92 wm::WindowState* window_state) override; |
| 95 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() | 93 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() |
| 96 override; | 94 override; |
| 97 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() | 95 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() |
| 98 override; | 96 override; |
| 99 std::unique_ptr<WorkspaceEventHandler> CreateWorkspaceEventHandler( | 97 std::unique_ptr<WorkspaceEventHandler> CreateWorkspaceEventHandler( |
| 100 WmWindow* workspace_window) override; | 98 WmWindow* workspace_window) override; |
| 101 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> | 99 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 | 143 |
| 146 base::ObserverList<WmActivationObserver> activation_observers_; | 144 base::ObserverList<WmActivationObserver> activation_observers_; |
| 147 | 145 |
| 148 DISALLOW_COPY_AND_ASSIGN(WmShellMus); | 146 DISALLOW_COPY_AND_ASSIGN(WmShellMus); |
| 149 }; | 147 }; |
| 150 | 148 |
| 151 } // namespace mus | 149 } // namespace mus |
| 152 } // namespace ash | 150 } // namespace ash |
| 153 | 151 |
| 154 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ | 152 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ |
| OLD | NEW |