Chromium Code Reviews| 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 150a1130377e8103fd43e690e94d51fe17ab8f89..20617d61beb335328e194c45db799fc0451e31f6 100644 |
| --- a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h |
| +++ b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h |
| @@ -13,7 +13,6 @@ |
| #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/controls/link_listener.h" |
| class BookmarkBubbleViewObserver; |
| class Profile; |
| @@ -28,7 +27,6 @@ class Textfield; |
| // bookmark it is created with. Don't create a BookmarkBubbleView directly, |
| // instead use the static Show method. |
| class BookmarkBubbleView : public views::BubbleDelegateView, |
| - public views::LinkListener, |
| public views::ButtonListener, |
| public views::ComboboxListener { |
| public: |
| @@ -68,11 +66,6 @@ class BookmarkBubbleView : public views::BubbleDelegateView, |
| // Returns the title to display. |
| string16 GetTitle(); |
| - // Overridden from views::LinkListener: |
| - // Either unstars the item or shows the bookmark editor (depending upon which |
| - // link was clicked). |
| - virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; |
| - |
| // Overridden from views::ButtonListener: |
| // Closes the bubble or opens the edit dialog. |
| virtual void ButtonPressed(views::Button* sender, |
| @@ -107,8 +100,8 @@ class BookmarkBubbleView : public views::BubbleDelegateView, |
| RecentlyUsedFoldersComboModel parent_model_; |
| - // Link for removing/unstarring the bookmark. |
| - views::Link* remove_link_; |
| + // Button for removing the bookmark. |
|
msw
2013/05/31 23:13:48
nit: combine the 3 button comments and remove the
|
| + views::LabelButton* remove_button_; |
| // Button to bring up the editor. |
| views::LabelButton* edit_button_; |