Index: chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h |
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h |
index 00cfdcc804b9433e07eea44249988608305429d6..9f35f6c6b72c866fea4bd1a1ffcc67685ba699f2 100644 |
--- a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h |
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h |
@@ -36,7 +36,11 @@ class BookmarkBubbleView : public views::BubbleDelegateView, |
public views::ButtonListener, |
public views::ComboboxListener { |
public: |
+ // If |anchor_view| is null, |anchor_rect| is used to anchor the bubble and |
+ // |parent_window| is used to ensure the bubble closes if the parent closes. |
static void ShowBubble(views::View* anchor_view, |
+ const gfx::Rect& anchor_rect, |
+ gfx::NativeView parent_window, |
bookmarks::BookmarkBubbleObserver* observer, |
scoped_ptr<BookmarkBubbleDelegate> delegate, |
Profile* profile, |