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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.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/lib/window_tree_client_impl.h
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.h b/components/mus/public/cpp/lib/window_tree_client_impl.h
index a35b2ea3cea43738982ed59cc8a297bd6758ce2f..6d7bcc52236eea81277010ccc08706811097225f 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.h
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.h
@@ -201,12 +201,12 @@ class WindowTreeClientImpl : public WindowTreeConnection,
int64_t display_id,
bool drawn) override;
void OnWindowBoundsChanged(Id window_id,
- 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,
@@ -245,7 +245,7 @@ class WindowTreeClientImpl : public WindowTreeConnection,
// Overridden from WindowManager:
void WmSetBounds(uint32_t change_id,
Id window_id,
- mojo::RectPtr transit_bounds) override;
+ const gfx::Rect& transit_bounds) override;
void WmSetProperty(uint32_t change_id,
Id window_id,
const mojo::String& name,

Powered by Google App Engine
This is Rietveld 408576698