Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: components/mus/ws/display_manager.h

Issue 1605773004: mus: Implement Window Server Capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Original Review Comments Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/mus/ws/display_manager.h
diff --git a/components/mus/ws/display_manager.h b/components/mus/ws/display_manager.h
index 32f0c63135de4c709906650fb317c098ea38844b..d03d331b6f52b5aed7ab131344179fb5784dd235 100644
--- a/components/mus/ws/display_manager.h
+++ b/components/mus/ws/display_manager.h
@@ -72,6 +72,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 const mojom::ViewportMetrics& GetViewportMetrics() = 0;
@@ -109,6 +113,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;
void UpdateTextInputState(const ui::TextInputState& state) override;

Powered by Google App Engine
This is Rietveld 408576698