Index: ui/views/bubble/bubble_delegate.h |
diff --git a/ui/views/bubble/bubble_delegate.h b/ui/views/bubble/bubble_delegate.h |
index 1963fad8e9be582e818fb14dd691b4f6831f7c15..04cac9cff95c6c7741ac9da12cf7a369435f4ef2 100644 |
--- a/ui/views/bubble/bubble_delegate.h |
+++ b/ui/views/bubble/bubble_delegate.h |
@@ -83,6 +83,9 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView, |
use_focusless_ = use_focusless; |
} |
+ bool accept_events() const { return accept_events_; } |
+ void set_accept_events(bool accept_events) { accept_events_ = accept_events; } |
+ |
bool try_mirroring_arrow() const { return try_mirroring_arrow_; } |
void set_try_mirroring_arrow(bool try_mirroring_arrow) { |
try_mirroring_arrow_ = try_mirroring_arrow; |
@@ -178,6 +181,9 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView, |
// These bubbles are not interactive and should not gain focus. |
bool use_focusless_; |
+ // Specifies whether the popup accepts events or lets them pass through. |
+ bool accept_events_; |
+ |
// If true (defaults to true), the arrow may be mirrored to fit the |
// bubble on screen better. |
bool try_mirroring_arrow_; |