Index: chrome/browser/ui/views/status_bubble_views.h |
diff --git a/chrome/browser/ui/views/status_bubble_views.h b/chrome/browser/ui/views/status_bubble_views.h |
index a18136c4fe68da2035dac1da7ed1168aa6471a03..41278c5cec2f5a021141891f450191584ddf6f81 100644 |
--- a/chrome/browser/ui/views/status_bubble_views.h |
+++ b/chrome/browser/ui/views/status_bubble_views.h |
@@ -12,6 +12,7 @@ |
#include "base/memory/weak_ptr.h" |
#include "base/strings/string16.h" |
#include "chrome/browser/ui/status_bubble.h" |
+#include "chrome/browser/ui/views/frame/browser_view.h" |
#include "ui/gfx/geometry/rect.h" |
#include "url/gurl.h" |
@@ -34,8 +35,9 @@ class StatusBubbleViews : public StatusBubble { |
// The combined vertical padding above and below the text. |
static const int kTotalVerticalPadding = 7; |
- // |base_view| is the view that this bubble is positioned relative to. |
- explicit StatusBubbleViews(views::View* base_view); |
+ // |browser_view| created this object. |base_view| is the view that this |
+ // bubble is positioned relative to. |
+ StatusBubbleViews(const BrowserView* browser_view, views::View* base_view); |
~StatusBubbleViews() override; |
views::View* base_view() { return base_view_; } |
@@ -126,6 +128,7 @@ class StatusBubbleViews : public StatusBubble { |
// UI (the location bar, for example). |
std::unique_ptr<views::Widget> popup_; |
+ const BrowserView* browser_view_; |
views::View* base_view_; |
StatusView* view_; |