| Index: components/mus/public/cpp/window.h
|
| diff --git a/components/mus/public/cpp/window.h b/components/mus/public/cpp/window.h
|
| index 885caf87eaadfe4ec4c4c71e8c7899941e1e4c96..2ed283e3453b07ebc04df83b3739ff64fc5efbd4 100644
|
| --- a/components/mus/public/cpp/window.h
|
| +++ b/components/mus/public/cpp/window.h
|
| @@ -19,6 +19,11 @@
|
| #include "third_party/mojo/src/mojo/public/cpp/system/macros.h"
|
| #include "ui/mojo/geometry/geometry.mojom.h"
|
|
|
| +namespace gfx {
|
| +class Rect;
|
| +class Size;
|
| +}
|
| +
|
| namespace mus {
|
|
|
| class ServiceProviderImpl;
|
| @@ -147,6 +152,12 @@ class Window {
|
| void SetTextInputState(mojo::TextInputStatePtr state);
|
| void SetImeVisibility(bool visible, mojo::TextInputStatePtr state);
|
|
|
| + // The following make their way to the WindowManager. See
|
| + // window_manager.mojom for details.
|
| + void SetPreferredSize(const gfx::Size& size);
|
| + void RequestBoundsChange(const gfx::Rect& bounds);
|
| + void SetShowState(mojom::ShowState show_state);
|
| +
|
| // Focus.
|
| void SetFocus();
|
| bool HasFocus() const;
|
|
|