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

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

Issue 2830703003: [views-mus] Support custom cursors. (Closed)
Patch Set: fix cast_shell_linux 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/server_window_observer.h ('k') | services/ui/ws/test_change_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/test_change_tracker.h
diff --git a/services/ui/ws/test_change_tracker.h b/services/ui/ws/test_change_tracker.h
index 98f259f35497f100c010cabae8a198bc2f10f3e1..c4162ad02d2690a5e99032b0ef59184d3f48af0c 100644
--- a/services/ui/ws/test_change_tracker.h
+++ b/services/ui/ws/test_change_tracker.h
@@ -89,7 +89,7 @@ struct Change {
float float_value;
std::string property_key;
std::string property_value;
- int32_t cursor_id;
+ ui::CursorType cursor_type;
uint32_t change_id;
cc::SurfaceId surface_id;
gfx::Size frame_size;
@@ -179,8 +179,7 @@ class TestChangeTracker {
const std::string& name,
const base::Optional<std::vector<uint8_t>>& data);
void OnWindowFocused(Id window_id);
- void OnWindowPredefinedCursorChanged(Id window_id,
- mojom::CursorType cursor_id);
+ void OnWindowCursorChanged(Id window_id, const ui::CursorData& cursor);
void OnChangeCompleted(uint32_t change_id, bool success);
void OnTopLevelCreated(uint32_t change_id,
mojom::WindowDataPtr window_data,
« no previous file with comments | « services/ui/ws/server_window_observer.h ('k') | services/ui/ws/test_change_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698