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

Unified Diff: services/ui/ws/server_window.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/platform_display.cc ('k') | services/ui/ws/server_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/server_window.h
diff --git a/services/ui/ws/server_window.h b/services/ui/ws/server_window.h
index 4e0d9fce34ef6f76600c6c10321a263755689d1d..89109599669c5b9afea106a45626ba23695ad291 100644
--- a/services/ui/ws/server_window.h
+++ b/services/ui/ws/server_window.h
@@ -89,9 +89,9 @@ class ServerWindow {
bool can_accept_drops() const { return accepts_drops_; }
void SetCanAcceptDrops(bool accepts_drags);
- int32_t cursor() const { return static_cast<int32_t>(cursor_id_); }
- int32_t non_client_cursor() const {
- return static_cast<int32_t>(non_client_cursor_id_);
+ ui::mojom::Cursor cursor() const { return cursor_id_; }
+ ui::mojom::Cursor non_client_cursor() const {
+ return non_client_cursor_id_;
}
const ServerWindow* parent() const { return parent_; }
« no previous file with comments | « services/ui/ws/platform_display.cc ('k') | services/ui/ws/server_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698