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

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: 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 b606800e125276d3290b5cf436bbffcb73e7a32c..1a3d52a754f11a67ceefd98181a603c8ebfbb2d2 100644
--- a/components/mus/ws/test_change_tracker.h
+++ b/components/mus/ws/test_change_tracker.h
@@ -76,8 +76,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;
@@ -143,8 +143,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 OnWindowViewportMetricsChanged(mojom::ViewportMetricsPtr old_bounds,
mojom::ViewportMetricsPtr new_bounds);
void OnWindowHierarchyChanged(Id window_id,

Powered by Google App Engine
This is Rietveld 408576698