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

Unified Diff: components/mus/public/cpp/tests/test_window_tree.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/public/cpp/tests/test_window_tree.h
diff --git a/components/mus/public/cpp/tests/test_window_tree.h b/components/mus/public/cpp/tests/test_window_tree.h
index 2e14b72186b2651c3c7bf7dafee7ca272841d833..324d6d31be64310131d1078bfa8f3553f572bd59 100644
--- a/components/mus/public/cpp/tests/test_window_tree.h
+++ b/components/mus/public/cpp/tests/test_window_tree.h
@@ -42,12 +42,11 @@ class TestWindowTree : public mojom::WindowTree {
void DeleteWindow(uint32_t change_id, uint32_t window_id) override;
void SetWindowBounds(uint32_t change_id,
uint32_t window_id,
- mojo::RectPtr bounds) override;
- void SetClientArea(
- uint32_t window_id,
- mojo::InsetsPtr insets,
- mojo::Array<mojo::RectPtr> additional_client_areas) override;
- void SetHitTestMask(uint32_t window_id, mojo::RectPtr mask) override;
+ const gfx::Rect& bounds) override;
+ void SetClientArea(uint32_t window_id,
+ const gfx::Insets& insets,
+ mojo::Array<gfx::Rect> additional_client_areas) override;
+ void SetHitTestMask(uint32_t window_id, const gfx::Rect& mask) override;
void SetWindowVisibility(uint32_t change_id,
uint32_t window_id,
bool visible) override;

Powered by Google App Engine
This is Rietveld 408576698