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

Unified Diff: services/ui/public/cpp/window_tree_client.h

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/cpp/window_tree_client.h
diff --git a/services/ui/public/cpp/window_tree_client.h b/services/ui/public/cpp/window_tree_client.h
index 898178c5ffd80fc32a818551577a4aaaa544b66d..08a5e10d717c2bcffba7ce90c7defd93adbebed3 100644
--- a/services/ui/public/cpp/window_tree_client.h
+++ b/services/ui/public/cpp/window_tree_client.h
@@ -112,6 +112,7 @@ class WindowTreeClient : public mojom::WindowTreeClient,
void ClearHitTestMask(Id window_id);
void SetFocus(Window* window);
void SetCanFocus(Id window_id, bool can_focus);
+ void SetCanAcceptEvents(Id window_id, bool can_accept_events);
void SetPredefinedCursor(Id window_id, ui::mojom::Cursor cursor_id);
void SetVisible(Window* window, bool visible);
void SetOpacity(Window* window, float opacity);

Powered by Google App Engine
This is Rietveld 408576698