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

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 (with WidgetObserver) 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
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..6038f03e7c456fe4cf85ba46190d1b8de01c542b 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h
@@ -15,6 +15,7 @@
#include "ui/views/bubble/bubble_delegate.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/controls/combobox/combobox_listener.h"
+#include "ui/views/widget/widget_observer_view.h"
#include "url/gurl.h"
class Profile;
@@ -38,7 +39,7 @@ 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,
+ static void ShowBubble(views::WidgetObserverView* anchor_view,
const gfx::Rect& anchor_rect,
gfx::NativeView parent_window,
bookmarks::BookmarkBubbleObserver* observer,
@@ -71,7 +72,7 @@ class BookmarkBubbleView : public views::BubbleDelegateView,
views::View* GetInitiallyFocusedView() override;
// Creates a BookmarkBubbleView.
- BookmarkBubbleView(views::View* anchor_view,
+ BookmarkBubbleView(views::WidgetObserverView* anchor_view,
bookmarks::BookmarkBubbleObserver* observer,
scoped_ptr<BubbleSyncPromoDelegate> delegate,
Profile* profile,

Powered by Google App Engine
This is Rietveld 408576698