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

Unified Diff: services/ui/ws/server_window.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: Fix comments 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
« no previous file with comments | « services/ui/ws/default_access_policy.cc ('k') | services/ui/ws/server_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/server_window.h
diff --git a/services/ui/ws/server_window.h b/services/ui/ws/server_window.h
index 6d66668f0114c40c7c87e8a59a56d247a7213a90..562a32c354cce9a1d0c1fe61d8e99dc37711bb88 100644
--- a/services/ui/ws/server_window.h
+++ b/services/ui/ws/server_window.h
@@ -151,6 +151,9 @@ class ServerWindow {
void set_can_focus(bool can_focus) { can_focus_ = can_focus; }
bool can_focus() const { return can_focus_; }
+ void set_can_accept_events(bool value) { can_accept_events_ = value; }
+ bool can_accept_events() const { return can_accept_events_; }
+
// Returns true if this window is attached to a root and all ancestors are
// visible.
bool IsDrawn() const;
@@ -221,6 +224,7 @@ class ServerWindow {
mojom::Cursor non_client_cursor_id_;
float opacity_;
bool can_focus_;
+ bool can_accept_events_;
gfx::Transform transform_;
ui::TextInputState text_input_state_;
« no previous file with comments | « services/ui/ws/default_access_policy.cc ('k') | services/ui/ws/server_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698