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

Unified Diff: services/ui/ws/server_window_observer.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/server_window.cc ('k') | services/ui/ws/test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/server_window_observer.h
diff --git a/services/ui/ws/server_window_observer.h b/services/ui/ws/server_window_observer.h
index 7ffae1f1c82540121402a20f951d9348168f1b56..f57f0df24dfaf150c11ba06078d44945bf937a08 100644
--- a/services/ui/ws/server_window_observer.h
+++ b/services/ui/ws/server_window_observer.h
@@ -10,6 +10,7 @@
#include <string>
#include <vector>
+#include "services/ui/public/interfaces/cursor.mojom.h"
#include "services/ui/public/interfaces/mus_constants.mojom.h"
namespace gfx {
@@ -66,9 +67,9 @@ class ServerWindowObserver {
float new_opacity) {}
virtual void OnWindowPredefinedCursorChanged(ServerWindow* window,
- int32_t cursor_id) {}
+ mojom::Cursor cursor_id) {}
virtual void OnWindowNonClientCursorChanged(ServerWindow* window,
- int32_t cursor_id) {}
+ mojom::Cursor cursor_id) {}
virtual void OnWindowTextInputStateChanged(ServerWindow* window,
const ui::TextInputState& state) {}
« no previous file with comments | « services/ui/ws/server_window.cc ('k') | services/ui/ws/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698