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

Unified Diff: ui/views/bubble/bubble_delegate.h

Issue 10828266: Minor fixes to BubbleBorder2 and LauncherTooltipManager: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 4 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
« no previous file with comments | « ui/views/bubble/bubble_border_2.cc ('k') | ui/views/bubble/bubble_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « ui/views/bubble/bubble_border_2.cc ('k') | ui/views/bubble/bubble_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698