| 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 c6ce955b4d9448dc3e4a8560bb59e43687f02876..4b8baeac7d6119d22a6550a8654e6702fdf9a9e3 100644
|
| --- a/components/mus/public/cpp/lib/window_tree_client_impl.h
|
| +++ b/components/mus/public/cpp/lib/window_tree_client_impl.h
|
| @@ -12,6 +12,7 @@
|
| #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h"
|
|
|
| namespace gfx {
|
| +class Insets;
|
| class Size;
|
| }
|
|
|
| @@ -52,7 +53,7 @@ class WindowTreeClientImpl : public WindowTreeConnection,
|
| bool OwnsWindow(Id id) const;
|
|
|
| void SetBounds(Id window_id, const gfx::Rect& bounds);
|
| - void SetClientArea(Id window_id, const gfx::Rect& client_area);
|
| + void SetClientArea(Id window_id, const gfx::Insets& client_area);
|
| void SetFocus(Id window_id);
|
| void SetVisible(Id window_id, bool visible);
|
| void SetProperty(Id window_id,
|
| @@ -123,8 +124,8 @@ class WindowTreeClientImpl : public WindowTreeConnection,
|
| mojo::RectPtr old_bounds,
|
| mojo::RectPtr new_bounds) override;
|
| void OnClientAreaChanged(uint32_t window_id,
|
| - mojo::RectPtr old_client_area,
|
| - mojo::RectPtr new_client_area) override;
|
| + mojo::InsetsPtr old_client_area,
|
| + mojo::InsetsPtr new_client_area) override;
|
| void OnWindowViewportMetricsChanged(
|
| mojom::ViewportMetricsPtr old_metrics,
|
| mojom::ViewportMetricsPtr new_metrics) override;
|
|
|