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

Unified Diff: services/ui/ws/drag_controller.h

Issue 2784663003: mus: Rename mojom::Cursor to mojom::CursorType. (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/ws/display.cc ('k') | services/ui/ws/drag_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/drag_controller.h
diff --git a/services/ui/ws/drag_controller.h b/services/ui/ws/drag_controller.h
index edbc11a703532f1ab877acb864746b496cca6c36..f8c3ca8ae93de52a1eafcff904303a8a4890298d 100644
--- a/services/ui/ws/drag_controller.h
+++ b/services/ui/ws/drag_controller.h
@@ -53,7 +53,7 @@ class DragController : public ServerWindowObserver {
DropEffectBitmask drag_operations);
~DragController() override;
- ui::mojom::Cursor current_cursor() const { return current_cursor_; }
+ ui::mojom::CursorType current_cursor() const { return current_cursor_; }
// Cancels the current drag, ie, due to the user pressing Escape.
void Cancel();
@@ -91,7 +91,7 @@ class DragController : public ServerWindowObserver {
// Returns the ui::mojom::Cursor for the window |bitmask|, adjusted for types
// that the drag source allows.
- ui::mojom::Cursor CursorForEffectBitmask(DropEffectBitmask bitmask);
+ ui::mojom::CursorType CursorForEffectBitmask(DropEffectBitmask bitmask);
// Ensure that |window| has an entry in |window_state_| and that we're an
// observer.
@@ -126,7 +126,7 @@ class DragController : public ServerWindowObserver {
const int32_t drag_pointer_id_;
// The current mouse cursor during the drag.
- ui::mojom::Cursor current_cursor_;
+ ui::mojom::CursorType current_cursor_;
// Sending OnDragOver() to our |source_| destroys us; there is a period where
// we have to continue to exist, but not process any more pointer events.
« no previous file with comments | « services/ui/ws/display.cc ('k') | services/ui/ws/drag_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698