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

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

Issue 1308293002: [Mac] Refactor bookmark pulsing into BookmarkBubbleObserverCocoa. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bookmarkeditor
Patch Set: Address comments. Update unit_tests. Created 5 years, 4 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 51892ab0c766cc867657fa181d2ba99982538be7..00cfdcc804b9433e07eea44249988608305429d6 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h
@@ -17,9 +17,12 @@
#include "ui/views/controls/combobox/combobox_listener.h"
#include "url/gurl.h"
-class BookmarkBubbleViewObserver;
class Profile;
+namespace bookmarks {
+class BookmarkBubbleObserver;
+}
+
namespace views {
class LabelButton;
class Textfield;
@@ -34,7 +37,7 @@ class BookmarkBubbleView : public views::BubbleDelegateView,
public views::ComboboxListener {
public:
static void ShowBubble(views::View* anchor_view,
- BookmarkBubbleViewObserver* observer,
+ bookmarks::BookmarkBubbleObserver* observer,
scoped_ptr<BookmarkBubbleDelegate> delegate,
Profile* profile,
const GURL& url,
@@ -65,7 +68,7 @@ class BookmarkBubbleView : public views::BubbleDelegateView,
// Creates a BookmarkBubbleView.
BookmarkBubbleView(views::View* anchor_view,
- BookmarkBubbleViewObserver* observer,
+ bookmarks::BookmarkBubbleObserver* observer,
scoped_ptr<BookmarkBubbleDelegate> delegate,
Profile* profile,
const GURL& url,
@@ -97,7 +100,7 @@ class BookmarkBubbleView : public views::BubbleDelegateView,
static BookmarkBubbleView* bookmark_bubble_;
// Our observer, to notify when the bubble shows or hides.
- BookmarkBubbleViewObserver* observer_;
+ bookmarks::BookmarkBubbleObserver* observer_;
// Delegate, to handle clicks on the sign in link.
scoped_ptr<BookmarkBubbleDelegate> delegate_;
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698