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

Unified Diff: ui/aura/mus/window_tree_client.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 | « ui/aura/mus/window_tree_client.h ('k') | ui/aura/test/mus/test_window_manager_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_tree_client.cc
diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
index b69d69d4946900ce46897ad5dd44e1af744499e9..fb078bcb8149c24182f1519343404d219f9c3172 100644
--- a/ui/aura/mus/window_tree_client.cc
+++ b/ui/aura/mus/window_tree_client.cc
@@ -1884,6 +1884,11 @@ void WindowTreeClient::SetCursorVisible(bool visible) {
window_manager_client_->WmSetCursorVisible(visible);
}
+void WindowTreeClient::SetCursorSize(ui::CursorSize cursor_size) {
+ if (window_manager_client_)
+ window_manager_client_->WmSetCursorSize(cursor_size);
+}
+
void WindowTreeClient::SetGlobalOverrideCursor(
base::Optional<ui::CursorData> cursor) {
if (window_manager_client_)
« no previous file with comments | « ui/aura/mus/window_tree_client.h ('k') | ui/aura/test/mus/test_window_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698