| Index: components/mus/ws/display_manager.h
|
| diff --git a/components/mus/ws/display_manager.h b/components/mus/ws/display_manager.h
|
| index 4cf6e4b93c45eae8bd4018287ed3a0cd8b531d86..be2c3130c57e5d1733f7056a2d5a792e778b2ead 100644
|
| --- a/components/mus/ws/display_manager.h
|
| +++ b/components/mus/ws/display_manager.h
|
| @@ -15,6 +15,7 @@
|
| #include "base/strings/string16.h"
|
| #include "base/timer/timer.h"
|
| #include "build/build_config.h"
|
| +#include "components/mus/public/interfaces/window_manager_constants.mojom.h"
|
| #include "components/mus/public/interfaces/window_tree.mojom.h"
|
| #include "components/mus/ws/display_manager_delegate.h"
|
| #include "mojo/public/cpp/bindings/callback.h"
|
| @@ -54,6 +55,7 @@ class EventDispatcher;
|
| class ServerWindow;
|
|
|
| // DisplayManager is used to connect the root ServerWindow to a display.
|
| +// TODO(sky): rename this given we have a mojom type with the same name now.
|
| class DisplayManager {
|
| public:
|
| virtual ~DisplayManager() {}
|
| @@ -75,6 +77,8 @@ class DisplayManager {
|
|
|
| virtual void SetCursorById(int32_t cursor) = 0;
|
|
|
| + virtual mojom::Rotation GetRotation() = 0;
|
| +
|
| virtual const mojom::ViewportMetrics& GetViewportMetrics() = 0;
|
|
|
| virtual void UpdateTextInputState(const ui::TextInputState& state) = 0;
|
| @@ -112,6 +116,7 @@ class DefaultDisplayManager : public DisplayManager,
|
| void SetTitle(const base::string16& title) override;
|
| void SetCursorById(int32_t cursor) override;
|
| const mojom::ViewportMetrics& GetViewportMetrics() override;
|
| + mojom::Rotation GetRotation() override;
|
| void UpdateTextInputState(const ui::TextInputState& state) override;
|
| void SetImeVisibility(bool visible) override;
|
| bool IsFramePending() const override;
|
|
|