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

Unified Diff: ash/wm/native_cursor_manager_ash_classic.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 | « ash/wm/native_cursor_manager_ash_classic.h ('k') | ash/wm/native_cursor_manager_ash_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/native_cursor_manager_ash_classic.cc
diff --git a/ash/wm/native_cursor_manager_ash_classic.cc b/ash/wm/native_cursor_manager_ash_classic.cc
index 8b5112c9698f9ab9912a52ac4d4c5860b244b644..7514717d57c149ebee4487f3b047111b695425dc 100644
--- a/ash/wm/native_cursor_manager_ash_classic.cc
+++ b/ash/wm/native_cursor_manager_ash_classic.cc
@@ -119,11 +119,11 @@ void NativeCursorManagerAshClassic::SetCursor(
SetCursorOnAllRootWindows(cursor);
}
-void NativeCursorManagerAshClassic::SetCursorSet(
- ui::CursorSetType cursor_set,
+void NativeCursorManagerAshClassic::SetCursorSize(
+ ui::CursorSize cursor_size,
::wm::NativeCursorManagerDelegate* delegate) {
- image_cursors_->SetCursorSet(cursor_set);
- delegate->CommitCursorSet(cursor_set);
+ image_cursors_->SetCursorSize(cursor_size);
+ delegate->CommitCursorSize(cursor_size);
// Sets the cursor to reflect the scale change immediately.
if (delegate->IsCursorVisible())
@@ -132,7 +132,7 @@ void NativeCursorManagerAshClassic::SetCursorSet(
Shell::Get()
->window_tree_host_manager()
->cursor_window_controller()
- ->SetCursorSet(cursor_set);
+ ->SetCursorSize(cursor_size);
}
void NativeCursorManagerAshClassic::SetVisibility(
« no previous file with comments | « ash/wm/native_cursor_manager_ash_classic.h ('k') | ash/wm/native_cursor_manager_ash_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698