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

Unified Diff: ui/views/widget/desktop_aura/desktop_native_cursor_manager.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
Index: ui/views/widget/desktop_aura/desktop_native_cursor_manager.h
diff --git a/ui/views/widget/desktop_aura/desktop_native_cursor_manager.h b/ui/views/widget/desktop_aura/desktop_native_cursor_manager.h
index 9f7879015b5576b03a765c0b85f7c8d136b5db44..38881f8b14bd0a9810f62aab1fbcce7a7d82555b 100644
--- a/ui/views/widget/desktop_aura/desktop_native_cursor_manager.h
+++ b/ui/views/widget/desktop_aura/desktop_native_cursor_manager.h
@@ -38,7 +38,7 @@ class VIEWS_EXPORT DesktopNativeCursorManager
// Builds a cursor and sets the internal platform representation. The return
// value should not be cached.
- gfx::NativeCursor GetInitializedCursor(int type);
+ gfx::NativeCursor GetInitializedCursor(ui::CursorType type);
// Adds |host| to the set |hosts_|.
void AddHost(aura::WindowTreeHost* host);

Powered by Google App Engine
This is Rietveld 408576698