Index: services/ui/public/interfaces/window_tree.mojom |
diff --git a/services/ui/public/interfaces/window_tree.mojom b/services/ui/public/interfaces/window_tree.mojom |
index 6440e2a6b0bd6038f588e259024d0d250888ef18..8307f714322059a48e3a924e2814c0be6429171f 100644 |
--- a/services/ui/public/interfaces/window_tree.mojom |
+++ b/services/ui/public/interfaces/window_tree.mojom |
@@ -238,6 +238,11 @@ interface WindowTree { |
// Otherwise the existing state is used. |
SetImeVisibility(uint32 window_id, bool visible, mojo.TextInputState? state); |
+ // Set whether the specified window can accept events. If the specified |
+ // window is not accepting events, none of its descendent windows would |
+ // be able to accept events either. |
+ SetCanAcceptEvents(uint32 window_id, bool accept_events); |
+ |
// See documentation for WindowTreeClient::OnWindowInputEvent(). |
OnWindowInputEventAck(uint32 event_id, EventResult result); |