| Index: components/mus/ws/window_tree_impl.h
|
| diff --git a/components/mus/ws/window_tree_impl.h b/components/mus/ws/window_tree_impl.h
|
| index 9b4519767fbbec3b5607495da3ac29035bc767a0..2448bd4acda14b47dbebfe71ec95d1fedaf527ae 100644
|
| --- a/components/mus/ws/window_tree_impl.h
|
| +++ b/components/mus/ws/window_tree_impl.h
|
| @@ -19,6 +19,7 @@
|
| #include "components/mus/ws/ids.h"
|
|
|
| namespace gfx {
|
| +class Insets;
|
| class Rect;
|
| }
|
|
|
| @@ -91,8 +92,8 @@ class WindowTreeImpl : public mojom::WindowTree, public AccessPolicyDelegate {
|
| const gfx::Rect& new_bounds,
|
| bool originated_change);
|
| void ProcessClientAreaChanged(const ServerWindow* window,
|
| - const gfx::Rect& old_client_area,
|
| - const gfx::Rect& new_client_area,
|
| + const gfx::Insets& old_client_area,
|
| + const gfx::Insets& new_client_area,
|
| bool originated_change);
|
| void ProcessViewportMetricsChanged(const mojom::ViewportMetrics& old_metrics,
|
| const mojom::ViewportMetrics& new_metrics,
|
| @@ -218,7 +219,7 @@ class WindowTreeImpl : public mojom::WindowTree, public AccessPolicyDelegate {
|
| void SetImeVisibility(Id transport_window_id,
|
| bool visible,
|
| mojo::TextInputStatePtr state) override;
|
| - void SetClientArea(Id transport_window_id, mojo::RectPtr rect) override;
|
| + void SetClientArea(Id transport_window_id, mojo::InsetsPtr insets) override;
|
| void SetPreferredSize(uint32_t window_id,
|
| mojo::SizePtr size,
|
| const SetPreferredSizeCallback& callback) override;
|
| @@ -228,7 +229,6 @@ class WindowTreeImpl : public mojom::WindowTree, public AccessPolicyDelegate {
|
| void SetShowState(uint32_t window_id,
|
| mus::mojom::ShowState show_state,
|
| const SetShowStateCallback& callback) override;
|
| - void GetDisplays(const GetDisplaysCallback& callback) override;
|
|
|
| // AccessPolicyDelegate:
|
| bool IsRootForAccessPolicy(const WindowId& id) const override;
|
|
|