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

Unified Diff: services/ui/ws/server_window_observer.h

Issue 2830703003: [views-mus] Support custom cursors. (Closed)
Patch Set: sky comments Created 3 years, 8 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
Index: services/ui/ws/server_window_observer.h
diff --git a/services/ui/ws/server_window_observer.h b/services/ui/ws/server_window_observer.h
index 265c408b5a4bc3400189fbef94704a6836f41510..400c0873235574919105f70b7fb747b71be88459 100644
--- a/services/ui/ws/server_window_observer.h
+++ b/services/ui/ws/server_window_observer.h
@@ -66,10 +66,11 @@ class ServerWindowObserver {
float old_opacity,
float new_opacity) {}
- virtual void OnWindowPredefinedCursorChanged(ServerWindow* window,
- mojom::CursorType cursor_id) {}
- virtual void OnWindowNonClientCursorChanged(ServerWindow* window,
- mojom::CursorType cursor_id) {}
+ virtual void OnWindowCursorChanged(ServerWindow* window,
+ const ui::CursorData& cursor_data) {}
+ virtual void OnWindowNonClientCursorChanged(
+ ServerWindow* window,
+ const ui::CursorData& cursor_data) {}
virtual void OnWindowTextInputStateChanged(ServerWindow* window,
const ui::TextInputState& state) {}

Powered by Google App Engine
This is Rietveld 408576698