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

Unified Diff: ui/aura/window.h

Issue 8570011: Aura: windows in aura should honor Widget::InitParams::accept_events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: modified according to comments Created 9 years, 1 month 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 | « no previous file | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 485bcb41b5ea3b6a7df52550b665eb843546f619..20e0e7996434fac6af067035cfdfa7ff02fcfd4a 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -208,6 +208,8 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
stops_event_propagation_ = stops_event_propagation;
}
+ void set_ignore_events(bool ignore_events) { ignore_events_ = ignore_events; }
+
// Returns true if relative-to-this-Window's-origin |local_point| falls
// within this Window's bounds.
bool ContainsPoint(const gfx::Point& local_point);
@@ -340,6 +342,9 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
// provided this window has children. See set_stops_event_propagation().
bool stops_event_propagation_;
+ // Makes the window pass all events through to any windows behind it.
+ bool ignore_events_;
+
ObserverList<WindowObserver> observers_;
// We're using ViewProp to store the property (for now) instead of
« no previous file with comments | « no previous file | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698