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

Unified Diff: services/ui/public/cpp/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: Only set accept_events when it's false 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.h
diff --git a/services/ui/public/cpp/window.h b/services/ui/public/cpp/window.h
index 4298e795e308a3cc528bd2abd30f19602fb8b250..731f497b4ab4f207e9301d75acdebca8486a8396 100644
--- a/services/ui/public/cpp/window.h
+++ b/services/ui/public/cpp/window.h
@@ -225,6 +225,8 @@ class Window {
// Returns an internal name, set by a client app when it creates a window.
std::string GetName() const;
+ void SetAcceptEvents(bool accept_events);
sky 2016/07/06 16:21:25 nit: this is a bad location as GetName is more deb
riajiang 2016/07/08 17:59:59 Done.
+
protected:
// This class is subclassed only by test classes that provide a public ctor.
Window();

Powered by Google App Engine
This is Rietveld 408576698