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

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

Issue 2949353003: Implement large cursors in Mushrome. (Closed)
Patch Set: rename everything to CursorSize 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
« no previous file with comments | « services/ui/ws/window_tree.h ('k') | testing/buildbot/filters/ash_unittests_mash.filter » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e57adb8fe5d2fe90b157a7b1e588cdd27fad6fd6 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::WmSetCursorSize(ui::CursorSize cursor_size) {
+ DCHECK(window_manager_state_);
+ window_manager_state_->cursor_state().SetCursorSize(cursor_size);
+}
+
void WindowTree::WmSetGlobalOverrideCursor(
base::Optional<ui::CursorData> cursor) {
DCHECK(window_manager_state_);
« no previous file with comments | « services/ui/ws/window_tree.h ('k') | testing/buildbot/filters/ash_unittests_mash.filter » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698