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

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

Issue 2378883002: mus ws: Consistently use mojom::Cursor instead of int32_t. (Closed)
Patch Set: Created 4 years, 3 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/drag_controller.cc ('k') | services/ui/ws/event_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/event_dispatcher.h
diff --git a/services/ui/ws/event_dispatcher.h b/services/ui/ws/event_dispatcher.h
index eecf4ea627de5fa7296c693c0ea8827895887aa0..472a0c0e4038d6c0c1af45c7125ee3e1b876985e 100644
--- a/services/ui/ws/event_dispatcher.h
+++ b/services/ui/ws/event_dispatcher.h
@@ -13,6 +13,7 @@
#include "base/macros.h"
#include "services/ui/common/types.h"
+#include "services/ui/public/interfaces/cursor.mojom.h"
#include "services/ui/public/interfaces/event_matcher.mojom.h"
#include "services/ui/ws/drag_cursor_updater.h"
#include "services/ui/ws/modal_window_controller.h"
@@ -64,7 +65,7 @@ class EventDispatcher : public ServerWindowObserver, public DragCursorUpdater {
// If we still have the window of the last mouse move, returns true and sets
// the current cursor to use to |cursor_out|.
- bool GetCurrentMouseCursor(int32_t* cursor_out);
+ bool GetCurrentMouseCursor(ui::mojom::Cursor* cursor_out);
// |capture_window_| will receive all input. See window_tree.mojom for
// details.
« no previous file with comments | « services/ui/ws/drag_controller.cc ('k') | services/ui/ws/event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698