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

Unified Diff: services/ui/ws/server_window.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/server_window.h ('k') | services/ui/ws/server_window_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/server_window.cc
diff --git a/services/ui/ws/server_window.cc b/services/ui/ws/server_window.cc
index d03a23bf41813d46f0c5dd773063d3ebf17fbf59..83840220037ea435c5434916549a89570f9c82b2 100644
--- a/services/ui/ws/server_window.cc
+++ b/services/ui/ws/server_window.cc
@@ -288,7 +288,7 @@ void ServerWindow::SetPredefinedCursor(ui::mojom::Cursor value) {
cursor_id_ = value;
FOR_EACH_OBSERVER(
ServerWindowObserver, observers_,
- OnWindowPredefinedCursorChanged(this, static_cast<int32_t>(value)));
+ OnWindowPredefinedCursorChanged(this, value));
}
void ServerWindow::SetNonClientCursor(ui::mojom::Cursor value) {
@@ -297,7 +297,7 @@ void ServerWindow::SetNonClientCursor(ui::mojom::Cursor value) {
non_client_cursor_id_ = value;
FOR_EACH_OBSERVER(
ServerWindowObserver, observers_,
- OnWindowNonClientCursorChanged(this, static_cast<int32_t>(value)));
+ OnWindowNonClientCursorChanged(this, value));
}
void ServerWindow::SetTransform(const gfx::Transform& transform) {
« no previous file with comments | « services/ui/ws/server_window.h ('k') | services/ui/ws/server_window_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698