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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 const display::ManagedDisplayInfo& GetDisplayInfo( | 66 const display::ManagedDisplayInfo& GetDisplayInfo( |
67 int64_t display_id) const override; | 67 int64_t display_id) const override; |
68 bool IsActiveDisplayId(int64_t display_id) const override; | 68 bool IsActiveDisplayId(int64_t display_id) const override; |
69 display::Display GetFirstDisplay() const override; | 69 display::Display GetFirstDisplay() const override; |
70 bool IsInUnifiedMode() const override; | 70 bool IsInUnifiedMode() const override; |
71 bool IsInUnifiedModeIgnoreMirroring() const override; | 71 bool IsInUnifiedModeIgnoreMirroring() const override; |
72 void SetDisplayWorkAreaInsets(WmWindow* window, | 72 void SetDisplayWorkAreaInsets(WmWindow* window, |
73 const gfx::Insets& insets) override; | 73 const gfx::Insets& insets) override; |
74 void LockCursor() override; | 74 void LockCursor() override; |
75 void UnlockCursor() override; | 75 void UnlockCursor() override; |
| 76 void ShowCursor() override; |
| 77 void HideCursor() override; |
| 78 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; |
76 bool IsMouseEventsEnabled() override; | 79 bool IsMouseEventsEnabled() override; |
77 std::vector<WmWindow*> GetAllRootWindows() override; | 80 std::vector<WmWindow*> GetAllRootWindows() override; |
78 void RecordGestureAction(GestureActionType action) override; | 81 void RecordGestureAction(GestureActionType action) override; |
79 void RecordUserMetricsAction(UserMetricsAction action) override; | 82 void RecordUserMetricsAction(UserMetricsAction action) override; |
80 void RecordTaskSwitchMetric(TaskSwitchSource source) override; | 83 void RecordTaskSwitchMetric(TaskSwitchSource source) override; |
81 std::unique_ptr<WindowResizer> CreateDragWindowResizer( | 84 std::unique_ptr<WindowResizer> CreateDragWindowResizer( |
82 std::unique_ptr<WindowResizer> next_window_resizer, | 85 std::unique_ptr<WindowResizer> next_window_resizer, |
83 wm::WindowState* window_state) override; | 86 wm::WindowState* window_state) override; |
84 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() | 87 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() |
85 override; | 88 override; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 | 153 |
151 std::unique_ptr<SessionStateDelegate> session_state_delegate_; | 154 std::unique_ptr<SessionStateDelegate> session_state_delegate_; |
152 | 155 |
153 DISALLOW_COPY_AND_ASSIGN(ShellPortMash); | 156 DISALLOW_COPY_AND_ASSIGN(ShellPortMash); |
154 }; | 157 }; |
155 | 158 |
156 } // namespace mus | 159 } // namespace mus |
157 } // namespace ash | 160 } // namespace ash |
158 | 161 |
159 #endif // ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ | 162 #endif // ASH_MUS_BRIDGE_SHELL_PORT_MASH_H_ |
OLD | NEW |