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

Unified Diff: components/mus/public/interfaces/view_tree.mojom

Issue 1352043005: mus: Implement Window Server Capture Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a test Created 5 years, 3 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/public/interfaces/view_tree.mojom
diff --git a/components/mus/public/interfaces/view_tree.mojom b/components/mus/public/interfaces/view_tree.mojom
index 47ed4c78d4d9c4ec5e6ad13883776c20ca81459a..7bb601faaf637e59b568cc615479a9166df55c1b 100644
--- a/components/mus/public/interfaces/view_tree.mojom
+++ b/components/mus/public/interfaces/view_tree.mojom
@@ -75,6 +75,8 @@ interface ViewTree {
// delete it.
DeleteView(uint32 view_id) => (bool success);
+ SetCapture(uint32 view_id) => (bool success);
+
// Sets the specified bounds of the specified view.
SetViewBounds(uint32 view_id, mojo.Rect bounds) => (bool success);
@@ -195,6 +197,9 @@ interface ViewTreeClient {
// previously embedded in. See Embed() for more information.
OnUnembed();
+ // Sent when a view loses capture.
+ OnLostCapture(uint32 view);
+
// Invoked when a view's bounds have changed.
OnViewBoundsChanged(uint32 view,
mojo.Rect old_bounds,

Powered by Google App Engine
This is Rietveld 408576698