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

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: Fix WindowTreeAppTest.SetCursor. 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/connection_manager.h
diff --git a/components/mus/ws/connection_manager.h b/components/mus/ws/connection_manager.h
index c9cd68a7c7c916688da38636281b414d013fbda6..28519be3467609ab570d7eeef6aab7fcf7931bed 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 OnWindowSetPredefinedCursor(ServerWindow* window,
+ int32_t cursor_id) override;
void OnWindowTextInputStateChanged(ServerWindow* window,
const ui::TextInputState& state) override;
void OnTransientWindowAdded(ServerWindow* window,

Powered by Google App Engine
This is Rietveld 408576698