| 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 f90bb19b54b8b5ec422d8f8ed37b936e3548eab3..5dbb5fb18bc8e1ab9dd2a717ad5af2b0d17b8e8b 100644
|
| --- a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h
|
| +++ b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h
|
| @@ -38,14 +38,16 @@ class BookmarkBubbleView : public views::BubbleDelegateView,
|
| 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<BubbleSyncPromoDelegate> delegate,
|
| - Profile* profile,
|
| - const GURL& url,
|
| - bool already_bookmarked);
|
| + // Returns the newly created bubble's Widget or nullptr in case when the
|
| + // bubble already exists.
|
| + static views::Widget* ShowBubble(views::View* anchor_view,
|
| + const gfx::Rect& anchor_rect,
|
| + gfx::NativeView parent_window,
|
| + bookmarks::BookmarkBubbleObserver* observer,
|
| + scoped_ptr<BubbleSyncPromoDelegate> delegate,
|
| + Profile* profile,
|
| + const GURL& url,
|
| + bool already_bookmarked);
|
|
|
| static void Hide();
|
|
|
|
|