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 c38486e6f1ad95e24c818fba16afa15460d6dc67..c8c7f8c36d5e2d9a1160e642fb6665e8b34d19e5 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, |
@@ -220,14 +221,13 @@ 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; |
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; |