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

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: Remove stray LOG 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 b8e98b6b8b94ac1390ed70dc829ec663c8f9b1cf..195fb23fdece45f056cb3d922910734110b31d47 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h
@@ -45,7 +45,7 @@ namespace views {
class CustomButton;
class MenuButton;
class MenuItemView;
-class TextButton;
+class LabelButton;
}
// BookmarkBarView renders the BookmarkModel. Each starred entry on the
@@ -288,7 +288,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.
@@ -308,11 +308,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,
@@ -402,7 +402,7 @@ class BookmarkBarView : public DetachableToolbarView,
views::MenuButton* other_bookmarked_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