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

Unified Diff: ui/base/cursor/cursor_loader.h

Issue 2833163002: Change ui cursor identifiers to an enum class. (Closed)
Patch Set: OK, it can't be explicit for mac. Created 3 years, 8 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/base/cursor/cursor_data.cc ('k') | ui/base/cursor/cursor_loader_ozone.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cursor/cursor_loader.h
diff --git a/ui/base/cursor/cursor_loader.h b/ui/base/cursor/cursor_loader.h
index 0d53ac964e19393f8f37bef56cf2add86c02b6db..fca5e7dce44c0deffb2917201acbbb907e5cfabe 100644
--- a/ui/base/cursor/cursor_loader.h
+++ b/ui/base/cursor/cursor_loader.h
@@ -37,7 +37,7 @@ class UI_BASE_EXPORT CursorLoader {
}
// Creates a cursor from an image resource and puts it in the cursor map.
- virtual void LoadImageCursor(int id,
+ virtual void LoadImageCursor(CursorType id,
int resource_id,
const gfx::Point& hot) = 0;
@@ -46,7 +46,7 @@ class UI_BASE_EXPORT CursorLoader {
// from left to right. Also, each frame is assumed to be square
// (width == height).
// |frame_delay_ms| is the delay between frames in millisecond.
- virtual void LoadAnimatedCursor(int id,
+ virtual void LoadAnimatedCursor(CursorType id,
int resource_id,
const gfx::Point& hot,
int frame_delay_ms) = 0;
« no previous file with comments | « ui/base/cursor/cursor_data.cc ('k') | ui/base/cursor/cursor_loader_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698