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

Unified Diff: services/ui/ws/window_server.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/window_manager_state.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_server.h
diff --git a/services/ui/ws/window_server.h b/services/ui/ws/window_server.h
index 9eedec1760bb47fa529ca937154465b5e5e62c95..320bb3f4a6bdf25fc59877c6549b72b255447cc0 100644
--- a/services/ui/ws/window_server.h
+++ b/services/ui/ws/window_server.h
@@ -193,7 +193,7 @@ class WindowServer : public ServerWindowDelegate,
const mojom::OrderDirection direction);
void ProcessWindowDeleted(ServerWindow* window);
void ProcessWillChangeWindowPredefinedCursor(ServerWindow* window,
- int32_t cursor_id);
+ mojom::Cursor cursor_id);
// Sends an |event| to all WindowTrees belonging to |user_id| that might be
// observing events. Skips |ignore_tree| if it is non-null. |target_window| is
@@ -320,9 +320,9 @@ class WindowServer : public ServerWindowDelegate,
const std::string& name,
const std::vector<uint8_t>* new_data) override;
void OnWindowPredefinedCursorChanged(ServerWindow* window,
- int32_t cursor_id) override;
+ mojom::Cursor cursor_id) override;
void OnWindowNonClientCursorChanged(ServerWindow* window,
- int32_t cursor_id) override;
+ mojom::Cursor cursor_id) override;
void OnWindowTextInputStateChanged(ServerWindow* window,
const ui::TextInputState& state) override;
void OnTransientWindowAdded(ServerWindow* window,
« no previous file with comments | « services/ui/ws/window_manager_state.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698