| 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 38a8c413eacc9ab7d60ee6f91d017a9b1af59382..780c4bec897728942391e50f9ad8c07b914f1831 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,
|
| @@ -119,8 +120,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;
|
|
|