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

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

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/event_dispatcher.h ('k') | services/ui/ws/platform_display.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/event_dispatcher.cc
diff --git a/services/ui/ws/event_dispatcher.cc b/services/ui/ws/event_dispatcher.cc
index 7a6ec0a226e5786a41202224ed6430186ac89497..d6536cc9c8c5f50dd0a89caa1f0adcf42e9ded33 100644
--- a/services/ui/ws/event_dispatcher.cc
+++ b/services/ui/ws/event_dispatcher.cc
@@ -103,7 +103,7 @@ void EventDispatcher::SetMousePointerScreenLocation(
delegate_->OnMouseCursorLocationChanged(screen_location);
}
-bool EventDispatcher::GetCurrentMouseCursor(int32_t* cursor_out) {
+bool EventDispatcher::GetCurrentMouseCursor(ui::mojom::Cursor* cursor_out) {
if (drag_controller_) {
*cursor_out = drag_controller_->current_cursor();
return true;
« no previous file with comments | « services/ui/ws/event_dispatcher.h ('k') | services/ui/ws/platform_display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698