summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/browser_bubble.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/views/browser_bubble.h')
-rw-r--r--chrome/browser/ui/views/browser_bubble.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/ui/views/browser_bubble.h b/chrome/browser/ui/views/browser_bubble.h
index c74d40b..64eb87e 100644
--- a/chrome/browser/ui/views/browser_bubble.h
+++ b/chrome/browser/ui/views/browser_bubble.h
@@ -73,6 +73,7 @@ class BrowserBubble {
// Show or hide the bubble.
virtual void Show(bool activate);
virtual void Hide();
+ bool visible() const { return visible_; }
// The contained view.
views::View* view() const { return view_; }
@@ -126,6 +127,9 @@ class BrowserBubble {
// The bounds relative to the frame.
gfx::Rect bounds_;
+ // Current visibility.
+ bool visible_;
+
// The delegate isn't owned by the bubble.
Delegate* delegate_;