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

Unified Diff: components/mus/ws/server_window_observer.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/server_window.cc ('k') | components/mus/ws/test_change_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/server_window_observer.h
diff --git a/components/mus/ws/server_window_observer.h b/components/mus/ws/server_window_observer.h
index 61d5d16991ed357f44e1b2d86d780e47280bd043..db3373bebf49e88b38836b004b4c337f40000836 100644
--- a/components/mus/ws/server_window_observer.h
+++ b/components/mus/ws/server_window_observer.h
@@ -56,6 +56,9 @@ class ServerWindowObserver {
virtual void OnWillChangeWindowVisibility(ServerWindow* window) {}
virtual void OnWindowVisibilityChanged(ServerWindow* window) {}
+ virtual void OnWindowPredefinedCursorChanged(ServerWindow* window,
+ int32_t cursor_id) {}
+
virtual void OnWindowTextInputStateChanged(ServerWindow* window,
const ui::TextInputState& state) {}
« no previous file with comments | « components/mus/ws/server_window.cc ('k') | components/mus/ws/test_change_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698