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

Unified Diff: components/mus/ws/test_utils.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_utils.h
diff --git a/components/mus/ws/test_utils.h b/components/mus/ws/test_utils.h
index ba6ce9b8742b9ed0a8d1b54cfa91d67e1974b4d9..634b2f2dbc7b4a77deff05a5ca9fb2fe884d08d1 100644
--- a/components/mus/ws/test_utils.h
+++ b/components/mus/ws/test_utils.h
@@ -234,7 +234,7 @@ class TestWindowManager : public mojom::WindowManager {
// WindowManager:
void WmSetBounds(uint32_t change_id,
uint32_t window_id,
- mojo::RectPtr bounds) override {}
+ const gfx::Rect& bounds) override {}
void WmSetProperty(uint32_t change_id,
uint32_t window_id,
const mojo::String& name,
@@ -288,12 +288,12 @@ class TestWindowTreeClient : public mus::mojom::WindowTreeClient {
int64_t display_id,
bool drawn) override;
void OnWindowBoundsChanged(uint32_t window,
- mojo::RectPtr old_bounds,
- mojo::RectPtr new_bounds) override;
+ const gfx::Rect& old_bounds,
+ const gfx::Rect& new_bounds) override;
void OnClientAreaChanged(
uint32_t window_id,
- mojo::InsetsPtr new_client_area,
- mojo::Array<mojo::RectPtr> new_additional_client_areas) override;
+ const gfx::Insets& new_client_area,
+ mojo::Array<gfx::Rect> new_additional_client_areas) override;
void OnTransientWindowAdded(uint32_t window_id,
uint32_t transient_window_id) override;
void OnTransientWindowRemoved(uint32_t window_id,

Powered by Google App Engine
This is Rietveld 408576698