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

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

Issue 298813002: views: Move MenuButton from TextButton to LabelButton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try fixing linux compile wrt NewAvatarButton. Created 6 years, 6 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_bar_view.h
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h
index 2c4bb4829da66e894a6185d2634c0de5ff74d2a4..7e1cc5646fc621121a31b756396f0c05b513e1b0 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h
@@ -46,7 +46,7 @@ namespace views {
class CustomButton;
class MenuButton;
class MenuItemView;
-class TextButton;
+class LabelButton;
}
// BookmarkBarView renders the BookmarkModel. Each starred entry on the
@@ -291,7 +291,7 @@ class BookmarkBarView : public DetachableToolbarView,
int GetBookmarkButtonCount() const;
// Returns the button at the specified index.
- views::TextButton* GetBookmarkButton(int index);
+ views::LabelButton* GetBookmarkButton(int index);
// Returns BOOKMARK_LAUNCH_LOCATION_DETACHED_BAR or
// BOOKMARK_LAUNCH_LOCATION_ATTACHED_BAR based on detached state.
@@ -314,11 +314,11 @@ class BookmarkBarView : public DetachableToolbarView,
views::View* CreateBookmarkButton(const BookmarkNode* node);
// Creates the button for rendering the apps page shortcut.
- views::TextButton* CreateAppsPageShortcutButton();
+ views::LabelButton* CreateAppsPageShortcutButton();
// Configures the button from the specified node. This sets the text,
// and icon.
- void ConfigureButton(const BookmarkNode* node, views::TextButton* button);
+ void ConfigureButton(const BookmarkNode* node, views::LabelButton* button);
// Implementation for BookmarkNodeAddedImpl.
void BookmarkNodeAddedImpl(BookmarkModel* model,
@@ -411,7 +411,7 @@ class BookmarkBarView : public DetachableToolbarView,
views::MenuButton* managed_bookmarks_button_;
// Shows the Apps page shortcut.
- views::TextButton* apps_page_shortcut_;
+ views::LabelButton* apps_page_shortcut_;
// Task used to delay showing of the drop menu.
base::WeakPtrFactory<BookmarkBarView> show_folder_method_factory_;

Powered by Google App Engine
This is Rietveld 408576698