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

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: Create InFlightCaptureChange add tests 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 be2c3130c57e5d1733f7056a2d5a792e778b2ead..b23b8db72917eee0e50d589c5e24372adc53728e 100644
--- a/components/mus/ws/display_manager.h
+++ b/components/mus/ws/display_manager.h
@@ -75,6 +75,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;
@@ -114,6 +118,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;

Powered by Google App Engine
This is Rietveld 408576698