| 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 da037102a0a385e8746be23faf2b0e00f196ab19..d9d584b623224ae98c10a3b3cdd476e7846c3fee 100644
|
| --- a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h
|
| +++ b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| +#include "base/gtest_prod_util.h"
|
| #include "base/strings/string16.h"
|
| #include "chrome/browser/ui/bookmarks/recently_used_folders_combo_model.h"
|
| #include "ui/views/bubble/bubble_delegate.h"
|
| @@ -15,6 +16,7 @@
|
| #include "url/gurl.h"
|
|
|
| class BookmarkBubbleViewObserver;
|
| +class BookmarkSyncPromoView;
|
| class Profile;
|
|
|
| namespace views {
|
| @@ -56,6 +58,10 @@ class BookmarkBubbleView : public views::BubbleDelegateView,
|
| virtual void Init() OVERRIDE;
|
|
|
| private:
|
| + friend class BookmarkBubbleViewTest;
|
| + FRIEND_TEST_ALL_PREFIXES(BookmarkBubbleViewTest, SyncPromoSignedIn);
|
| + FRIEND_TEST_ALL_PREFIXES(BookmarkBubbleViewTest, SyncPromoNotSignedIn);
|
| +
|
| // Creates a BookmarkBubbleView.
|
| BookmarkBubbleView(views::View* anchor_view,
|
| BookmarkBubbleViewObserver* observer,
|
| @@ -119,6 +125,9 @@ class BookmarkBubbleView : public views::BubbleDelegateView,
|
| // the current parent.
|
| views::Combobox* parent_combobox_;
|
|
|
| + // Bookmark sync promo view, if displayed.
|
| + BookmarkSyncPromoView* sync_promo_view_;
|
| +
|
| // When the destructor is invoked should the bookmark be removed?
|
| bool remove_bookmark_;
|
|
|
|
|