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

Unified Diff: components/mus/ws/connection_manager.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: Do it the other way + explicit checks that it is a mouse pointer. 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
« no previous file with comments | « components/mus/ws/access_policy.h ('k') | components/mus/ws/connection_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/connection_manager.h
diff --git a/components/mus/ws/connection_manager.h b/components/mus/ws/connection_manager.h
index c9cd68a7c7c916688da38636281b414d013fbda6..be2184e5dd207bd1c8dacb02498a825c0825f834 100644
--- a/components/mus/ws/connection_manager.h
+++ b/components/mus/ws/connection_manager.h
@@ -158,6 +158,8 @@ class ConnectionManager : public ServerWindowDelegate,
const ServerWindow* relative_window,
const mojom::OrderDirection direction);
void ProcessWindowDeleted(const WindowId& window);
+ void ProcessWillChangeWindowPredefinedCursor(ServerWindow* window,
+ int32_t cursor_id);
private:
friend class Operation;
@@ -225,6 +227,8 @@ class ConnectionManager : public ServerWindowDelegate,
ServerWindow* window,
const std::string& name,
const std::vector<uint8_t>* new_data) override;
+ void OnWindowPredefinedCursorChanged(ServerWindow* window,
+ int32_t cursor_id) override;
void OnWindowTextInputStateChanged(ServerWindow* window,
const ui::TextInputState& state) override;
void OnTransientWindowAdded(ServerWindow* window,
« no previous file with comments | « components/mus/ws/access_policy.h ('k') | components/mus/ws/connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698