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

Unified Diff: services/ui/ws/display.cc

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 | « services/ui/ws/cursor_unittest.cc ('k') | services/ui/ws/drag_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/display.cc
diff --git a/services/ui/ws/display.cc b/services/ui/ws/display.cc
index fa0ec946fae47d5ab3094e62ec96c5aceab29b6f..98c6cfad66c810d05b30c57c59760f0696bb0a58 100644
--- a/services/ui/ws/display.cc
+++ b/services/ui/ws/display.cc
@@ -37,8 +37,7 @@ namespace ui {
namespace ws {
Display::Display(WindowServer* window_server)
- : window_server_(window_server),
- last_cursor_(mojom::CursorType::CURSOR_NULL) {
+ : window_server_(window_server), last_cursor_(mojom::CursorType::kNull) {
window_server_->window_manager_window_tree_factory_set()->AddObserver(this);
window_server_->user_id_tracker()->AddObserver(this);
}
« no previous file with comments | « services/ui/ws/cursor_unittest.cc ('k') | services/ui/ws/drag_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698