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

Unified Diff: views/widget/native_widget_aura.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: minor changes 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
Index: views/widget/native_widget_aura.h
diff --git a/views/widget/native_widget_aura.h b/views/widget/native_widget_aura.h
index c93c61b21feae3a8fe6784d901cfe4b5226f64ad..a58c06ab72f33fc73716e4567352538cd53d9551 100644
--- a/views/widget/native_widget_aura.h
+++ b/views/widget/native_widget_aura.h
@@ -131,6 +131,7 @@ class VIEWS_EXPORT NativeWidgetAura : public internal::NativeWidgetPrivate,
virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE;
virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE;
virtual bool ShouldActivate(aura::Event* event) OVERRIDE;
+ virtual bool ShouldAcceptEvents() OVERRIDE;
virtual void OnActivated() OVERRIDE;
virtual void OnLostActive() OVERRIDE;
virtual void OnCaptureLost() OVERRIDE;
@@ -156,6 +157,9 @@ class VIEWS_EXPORT NativeWidgetAura : public internal::NativeWidgetPrivate,
// Can we be made active?
bool can_activate_;
+ // If false, the window will pass all events through to any windows behind it.
+ bool accept_events_;
+
gfx::NativeCursor cursor_;
scoped_ptr<TooltipManagerViews> tooltip_manager_;

Powered by Google App Engine
This is Rietveld 408576698