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

Unified Diff: extensions/shell/browser/shell_desktop_controller_aura.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 | « components/exo/wm_helper_mus.cc ('k') | services/ui/public/interfaces/cursor/cursor.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/shell_desktop_controller_aura.cc
diff --git a/extensions/shell/browser/shell_desktop_controller_aura.cc b/extensions/shell/browser/shell_desktop_controller_aura.cc
index 5f9c7cde3168444aa0d4d537086159ebfa079441..794a0cea4916cf00e57868da7f708d739a78d043 100644
--- a/extensions/shell/browser/shell_desktop_controller_aura.cc
+++ b/extensions/shell/browser/shell_desktop_controller_aura.cc
@@ -134,10 +134,10 @@ class ShellNativeCursorManager : public wm::NativeCursorManager {
}
}
- void SetCursorSet(ui::CursorSetType cursor_set,
- wm::NativeCursorManagerDelegate* delegate) override {
- image_cursors_->SetCursorSet(cursor_set);
- delegate->CommitCursorSet(cursor_set);
+ void SetCursorSize(ui::CursorSize cursor_size,
+ wm::NativeCursorManagerDelegate* delegate) override {
+ image_cursors_->SetCursorSize(cursor_size);
+ delegate->CommitCursorSize(cursor_size);
if (delegate->IsCursorVisible())
SetCursor(delegate->GetCursor(), delegate);
}
« no previous file with comments | « components/exo/wm_helper_mus.cc ('k') | services/ui/public/interfaces/cursor/cursor.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698