| 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_SHELL_PORT_MASH_H_ | 5 #ifndef ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ |
| 6 #define ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ | 6 #define ASH_MUS_BRIDGE_SHELL_PORT_MASH_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 | 57 |
| 58 // ShellPort: | 58 // ShellPort: |
| 59 void Shutdown() override; | 59 void Shutdown() override; |
| 60 Config GetAshConfig() const override; | 60 Config GetAshConfig() const override; |
| 61 std::unique_ptr<display::TouchTransformSetter> CreateTouchTransformDelegate() | 61 std::unique_ptr<display::TouchTransformSetter> CreateTouchTransformDelegate() |
| 62 override; | 62 override; |
| 63 void LockCursor() override; | 63 void LockCursor() override; |
| 64 void UnlockCursor() override; | 64 void UnlockCursor() override; |
| 65 void ShowCursor() override; | 65 void ShowCursor() override; |
| 66 void HideCursor() override; | 66 void HideCursor() override; |
| 67 void SetCursorSize(ui::CursorSize cursor_size) override; |
| 67 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; | 68 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; |
| 68 bool IsMouseEventsEnabled() override; | 69 bool IsMouseEventsEnabled() override; |
| 69 void RecordGestureAction(GestureActionType action) override; | 70 void RecordGestureAction(GestureActionType action) override; |
| 70 void RecordUserMetricsAction(UserMetricsAction action) override; | 71 void RecordUserMetricsAction(UserMetricsAction action) override; |
| 71 void RecordTaskSwitchMetric(TaskSwitchSource source) override; | 72 void RecordTaskSwitchMetric(TaskSwitchSource source) override; |
| 72 std::unique_ptr<WindowResizer> CreateDragWindowResizer( | 73 std::unique_ptr<WindowResizer> CreateDragWindowResizer( |
| 73 std::unique_ptr<WindowResizer> next_window_resizer, | 74 std::unique_ptr<WindowResizer> next_window_resizer, |
| 74 wm::WindowState* window_state) override; | 75 wm::WindowState* window_state) override; |
| 75 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() | 76 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() |
| 76 override; | 77 override; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 133 |
| 133 std::unique_ptr<DisplaySynchronizer> display_synchronizer_; | 134 std::unique_ptr<DisplaySynchronizer> display_synchronizer_; |
| 134 | 135 |
| 135 DISALLOW_COPY_AND_ASSIGN(ShellPortMash); | 136 DISALLOW_COPY_AND_ASSIGN(ShellPortMash); |
| 136 }; | 137 }; |
| 137 | 138 |
| 138 } // namespace mus | 139 } // namespace mus |
| 139 } // namespace ash | 140 } // namespace ash |
| 140 | 141 |
| 141 #endif // ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ | 142 #endif // ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ |
| OLD | NEW |