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

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

Issue 2378883002: mus ws: Consistently use mojom::Cursor instead of int32_t. (Closed)
Patch Set: Created 4 years, 3 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/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/display.h
diff --git a/services/ui/ws/display.h b/services/ui/ws/display.h
index 0581e7e7d514a269d431349b2a82c4dd03d11bfb..027d12bfd0dcf3b8add38b1ce1f3b4aa03c211e3 100644
--- a/services/ui/ws/display.h
+++ b/services/ui/ws/display.h
@@ -145,7 +145,7 @@ class Display : public PlatformDisplayDelegate,
// Called just before |tree| is destroyed.
void OnWillDestroyTree(WindowTree* tree);
- void UpdateNativeCursor(int32_t cursor_id);
+ void UpdateNativeCursor(mojom::Cursor cursor_id);
// mojom::WindowTreeHost:
void SetSize(const gfx::Size& size) override;
@@ -206,7 +206,7 @@ class Display : public PlatformDisplayDelegate,
std::unique_ptr<FocusController> focus_controller_;
// The last cursor set. Used to track whether we need to change the cursor.
- int32_t last_cursor_;
+ mojom::Cursor last_cursor_;
ServerWindowTracker activation_parents_;
« no previous file with comments | « services/ui/ws/cursor_unittest.cc ('k') | services/ui/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698