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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h

Issue 1518543002: Adds MD ink ripple animations to buttons within location bar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds MD ink ripple animations to buttons within location bar (missing member init) Created 4 years, 11 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 | « no previous file | chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698