Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: ash/mus/bridge/shell_port_mash.h

Issue 2949353003: Implement large cursors in Mushrome. (Closed)
Patch Set: rename everything to CursorSize Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/display/cursor_window_controller.cc ('k') | ash/mus/bridge/shell_port_mash.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ash/display/cursor_window_controller.cc ('k') | ash/mus/bridge/shell_port_mash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698