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

Unified Diff: services/ui/public/interfaces/window_tree.mojom

Issue 2118383002: mus: Disregard windows that explicitly set can_accept_events to be false when sending events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ordering; etc Created 4 years, 5 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: 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
dcheng 2016/07/13 14:32:59 Super minor nit: a slightly more standard phrasing
riajiang 2016/07/13 18:03:49 Done.
+ // be able to accept events either.
+ SetCanAcceptEvents(uint32 window_id, bool accept_events);
+
// See documentation for WindowTreeClient::OnWindowInputEvent().
OnWindowInputEventAck(uint32 event_id, EventResult result);

Powered by Google App Engine
This is Rietveld 408576698