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

Unified Diff: components/mus/ws/test_change_tracker.h

Issue 2008193002: Change mojo geometry structs from using type converters to StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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: components/mus/ws/test_change_tracker.h
diff --git a/components/mus/ws/test_change_tracker.h b/components/mus/ws/test_change_tracker.h
index d940b71f636c39177c52175f00ce65bf70b7fa94..9c2ee410ddff16bbaad00fa4aa7c9da186c5330e 100644
--- a/components/mus/ws/test_change_tracker.h
+++ b/components/mus/ws/test_change_tracker.h
@@ -75,8 +75,8 @@ struct Change {
Id window_id;
Id window_id2;
Id window_id3;
- mojo::Rect bounds;
- mojo::Rect bounds2;
+ gfx::Rect bounds;
+ gfx::Rect bounds2;
int32_t event_action;
uint32_t event_observer_id;
mojo::String embed_url;
@@ -142,8 +142,8 @@ class TestChangeTracker {
void OnTransientWindowAdded(Id window_id, Id transient_window_id);
void OnTransientWindowRemoved(Id window_id, Id transient_window_id);
void OnWindowBoundsChanged(Id window_id,
- mojo::RectPtr old_bounds,
- mojo::RectPtr new_bounds);
+ const gfx::Rect& old_bounds,
+ const gfx::Rect& new_bounds);
void OnWindowHierarchyChanged(Id window_id,
Id old_parent_id,
Id new_parent_id,

Powered by Google App Engine
This is Rietveld 408576698