Index: components/mus/ws/display_manager.h |
diff --git a/components/mus/ws/display_manager.h b/components/mus/ws/display_manager.h |
index de4f6289895199d1beaf93fb3fbba7a5114b53d1..49a1f92168be0b61533246e09d48c1ccaf92b4e3 100644 |
--- a/components/mus/ws/display_manager.h |
+++ b/components/mus/ws/display_manager.h |
@@ -77,6 +77,10 @@ class DisplayManager { |
virtual void SetTitle(const base::string16& title) = 0; |
+ virtual void SetCapture() = 0; |
+ |
+ virtual void ReleaseCapture() = 0; |
+ |
virtual void SetCursorById(int32_t cursor) = 0; |
virtual mojom::Rotation GetRotation() = 0; |
@@ -119,6 +123,8 @@ class DefaultDisplayManager : public DisplayManager, |
const gfx::Rect& bounds) override; |
void SetViewportSize(const gfx::Size& size) override; |
void SetTitle(const base::string16& title) override; |
+ void SetCapture() override; |
+ void ReleaseCapture() override; |
void SetCursorById(int32_t cursor) override; |
const mojom::ViewportMetrics& GetViewportMetrics() override; |
mojom::Rotation GetRotation() override; |