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, |