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

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: Move can_accept_events_ to ui::Window; check if top window can accept events. 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..52727c24cfeab826b83d0022659f6d72f2696754 100644
--- a/services/ui/public/cpp/window_tree_client.h
+++ b/services/ui/public/cpp/window_tree_client.h
@@ -203,6 +203,8 @@ class WindowTreeClient : public mojom::WindowTreeClient,
void AddObserver(WindowTreeClientObserver* observer);
void RemoveObserver(WindowTreeClientObserver* observer);
+ void SetCanAcceptEvents(Id window_id, bool can_accept_events);
sadrul 2016/07/12 19:44:19 Move above, close to SetCanFocus()
riajiang 2016/07/12 20:51:40 Done.
+
#if !defined(NDEBUG)
std::string GetDebugWindowHierarchy() const;
void BuildDebugInfo(const std::string& depth,

Powered by Google App Engine
This is Rietveld 408576698