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

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

Issue 2830703003: [views-mus] Support custom cursors. (Closed)
Patch Set: fix cast_shell_linux 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
« no previous file with comments | « services/ui/ws/cursor_unittest.cc ('k') | services/ui/ws/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/display.h
diff --git a/services/ui/ws/display.h b/services/ui/ws/display.h
index b83ce211e0758096538faa4ba054e9508b406cf7..f2d8c732c54df8870e90b21bbcc11db6d0824f8b 100644
--- a/services/ui/ws/display.h
+++ b/services/ui/ws/display.h
@@ -149,7 +149,7 @@ class Display : public PlatformDisplayDelegate,
// |display_root| being destroyed.
void RemoveWindowManagerDisplayRoot(WindowManagerDisplayRoot* display_root);
- void UpdateNativeCursor(mojom::CursorType cursor_id);
+ void UpdateNativeCursor(const ui::CursorData& cursor);
// mojom::WindowTreeHost:
void SetSize(const gfx::Size& size) override;
@@ -219,7 +219,7 @@ class Display : public PlatformDisplayDelegate,
display::Display display_;
// The last cursor set. Used to track whether we need to change the cursor.
- mojom::CursorType last_cursor_;
+ ui::CursorData last_cursor_;
ServerWindowTracker activation_parents_;
« no previous file with comments | « services/ui/ws/cursor_unittest.cc ('k') | services/ui/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698