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

Unified Diff: services/ui/public/cpp/lib/window_tree_client.cc

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: Move function locations. 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/cpp/lib/window_tree_client.cc
diff --git a/services/ui/public/cpp/lib/window_tree_client.cc b/services/ui/public/cpp/lib/window_tree_client.cc
index 570d3e10d63b5c0b8b3995c1b1dfd3e4a4e80204..b8ba7faa18db4c975ea8e663f932e9f1111b3cdb 100644
--- a/services/ui/public/cpp/lib/window_tree_client.cc
+++ b/services/ui/public/cpp/lib/window_tree_client.cc
@@ -705,6 +705,11 @@ void WindowTreeClient::RemoveObserver(WindowTreeClientObserver* observer) {
observers_.RemoveObserver(observer);
}
+void WindowTreeClient::SetAcceptEvents(Id window_id, bool accept_events) {
+ DCHECK(tree_);
+ tree_->SetAcceptEvents(window_id, accept_events);
+}
+
void WindowTreeClient::OnEmbed(ClientSpecificId client_id,
mojom::WindowDataPtr root_data,
mojom::WindowTreePtr tree,

Powered by Google App Engine
This is Rietveld 408576698