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

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

Issue 2784663003: mus: Rename mojom::Cursor to mojom::CursorType. (Closed)
Patch Set: Created 3 years, 9 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/display.h ('k') | services/ui/ws/drag_controller.h » ('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 c10cdd5fb9ff6198f618c9863b7c79753d40b0b2..9394778908ca86937184d45c79cc8b14f3d92a05 100644
--- a/services/ui/ws/display.cc
+++ b/services/ui/ws/display.cc
@@ -33,7 +33,8 @@ namespace ui {
namespace ws {
Display::Display(WindowServer* window_server)
- : window_server_(window_server), last_cursor_(mojom::Cursor::CURSOR_NULL) {
+ : window_server_(window_server),
+ last_cursor_(mojom::CursorType::CURSOR_NULL) {
window_server_->window_manager_window_tree_factory_set()->AddObserver(this);
window_server_->user_id_tracker()->AddObserver(this);
}
@@ -181,7 +182,7 @@ void Display::OnWillDestroyTree(WindowTree* tree) {
}
}
-void Display::UpdateNativeCursor(mojom::Cursor cursor_id) {
+void Display::UpdateNativeCursor(mojom::CursorType cursor_id) {
if (cursor_id != last_cursor_) {
platform_display_->SetCursorById(cursor_id);
last_cursor_ = cursor_id;
« no previous file with comments | « services/ui/ws/display.h ('k') | services/ui/ws/drag_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698