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

Unified Diff: components/mus/ws/window_tree_impl.h

Issue 1465803003: mus: Let clients set the cursor of their window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync pass the nacl breakage Created 5 years 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
Index: components/mus/ws/window_tree_impl.h
diff --git a/components/mus/ws/window_tree_impl.h b/components/mus/ws/window_tree_impl.h
index e17d0d051954fabf844c9d7d3ce6422b811af34f..0c2af704cb0bdeaa5e744d9786d5c79afa0dff01 100644
--- a/components/mus/ws/window_tree_impl.h
+++ b/components/mus/ws/window_tree_impl.h
@@ -121,6 +121,9 @@ class WindowTreeImpl : public mojom::WindowTree, public AccessPolicyDelegate {
void ProcessWindowDeleted(const WindowId& window, bool originated_change);
void ProcessWillChangeWindowVisibility(const ServerWindow* window,
bool originated_change);
+ void ProcessCursorChanged(const ServerWindow* window,
+ int32_t cursor_id,
+ bool originated_change);
void ProcessFocusChanged(const ServerWindow* old_focused_window,
const ServerWindow* new_focused_window);
void ProcessTransientWindowAdded(const ServerWindow* window,
@@ -236,6 +239,8 @@ class WindowTreeImpl : public mojom::WindowTree, public AccessPolicyDelegate {
const EmbedCallback& callback) override;
void SetFocus(uint32_t window_id) override;
void SetCanFocus(uint32_t window_id, bool can_focus) override;
+ void SetStandardCursor(uint32_t window_id,
+ mus::mojom::Cursor cursor_id) override;
void SetWindowTextInputState(uint32_t window_id,
mojo::TextInputStatePtr state) override;
void SetImeVisibility(Id transport_window_id,

Powered by Google App Engine
This is Rietveld 408576698