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

Unified Diff: components/mus/public/cpp/tests/test_window_tree.cc

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/public/cpp/tests/test_window_tree.cc
diff --git a/components/mus/public/cpp/tests/test_window_tree.cc b/components/mus/public/cpp/tests/test_window_tree.cc
index d0666884d6fc51c6bb2bce4f4615f8c368c6c492..7231fde6f29277cde5cbc3b372d79ca28760fb8a 100644
--- a/components/mus/public/cpp/tests/test_window_tree.cc
+++ b/components/mus/public/cpp/tests/test_window_tree.cc
@@ -45,17 +45,18 @@ void TestWindowTree::DeleteWindow(uint32_t change_id, uint32_t window_id) {}
void TestWindowTree::SetWindowBounds(uint32_t change_id,
uint32_t window_id,
- mojo::RectPtr bounds) {
+ const gfx::Rect& bounds) {
got_change_ = true;
change_id_ = change_id;
}
void TestWindowTree::SetClientArea(
uint32_t window_id,
- mojo::InsetsPtr insets,
- mojo::Array<mojo::RectPtr> additional_client_areas) {}
+ const gfx::Insets& insets,
+ mojo::Array<gfx::Rect> additional_client_areas) {}
-void TestWindowTree::SetHitTestMask(uint32_t window_id, mojo::RectPtr mask) {}
+void TestWindowTree::SetHitTestMask(uint32_t window_id, const gfx::Rect& mask) {
+}
void TestWindowTree::SetWindowVisibility(uint32_t change_id,
uint32_t window_id,

Powered by Google App Engine
This is Rietveld 408576698