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

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

Issue 2830703003: [views-mus] Support custom cursors. (Closed)
Patch Set: rebase to tot 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..df33e10cf6dfcfc80514694cec0e3de0b49eda0a 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 OnWindowCursorChanged(ServerWindow* window,
+ const ui::CursorData& cursor_id) {}
sky 2017/04/26 22:16:16 cursor_id -> cursor_data ? (same comment for next
Elliot Glaysher 2017/04/26 23:09:04 fixed here and elsewhere
virtual void OnWindowNonClientCursorChanged(ServerWindow* window,
- mojom::CursorType cursor_id) {}
+ const ui::CursorData& cursor_id) {
+ }
virtual void OnWindowTextInputStateChanged(ServerWindow* window,
const ui::TextInputState& state) {}

Powered by Google App Engine
This is Rietveld 408576698