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

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

Issue 1677513002: mus Window Server: implement event capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « components/mus/ws/default_access_policy.cc ('k') | components/mus/ws/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « components/mus/ws/default_access_policy.cc ('k') | components/mus/ws/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698