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

Unified Diff: services/ui/ws/window_tree.cc

Issue 2949353003: Implement large cursors in Mushrome. (Closed)
Patch Set: Remove old cursor.h includes. Created 3 years, 6 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/window_tree.cc
diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
index ee3cbc149637ace04585064e844d33f06ff1886e..55874e97450135f874b901a5ea0e5dd4d45e01b9 100644
--- a/services/ui/ws/window_tree.cc
+++ b/services/ui/ws/window_tree.cc
@@ -2356,6 +2356,11 @@ void WindowTree::WmSetCursorVisible(bool visible) {
window_manager_state_->cursor_state().SetCursorVisible(visible);
}
+void WindowTree::WmSetCursorSet(ui::CursorSet cursor_set) {
+ DCHECK(window_manager_state_);
+ window_manager_state_->cursor_state().SetCursorSet(cursor_set);
+}
+
void WindowTree::WmSetGlobalOverrideCursor(
base::Optional<ui::CursorData> cursor) {
DCHECK(window_manager_state_);

Powered by Google App Engine
This is Rietveld 408576698