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

Unified Diff: chrome/browser/gtk/bookmark_bar_gtk.h

Issue 155342: A little bit of bookmark bar cleanup, a little bit of padding improvement.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 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
« no previous file with comments | « chrome/app/chrome_dll_main.cc ('k') | chrome/browser/gtk/bookmark_bar_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/bookmark_bar_gtk.h
===================================================================
--- chrome/browser/gtk/bookmark_bar_gtk.h (revision 20336)
+++ chrome/browser/gtk/bookmark_bar_gtk.h (working copy)
@@ -77,11 +77,11 @@
private:
// Helper function which generates GtkToolItems for |bookmark_toolbar_|.
- void CreateAllBookmarkButtons(const BookmarkNode* node);
+ void CreateAllBookmarkButtons();
// Sets the visibility of the instructional text based on whether there are
- // any bookmarks in |node|. |node| is assumed to be the bookmarks bar node.
- void SetInstructionState(const BookmarkNode* boomarks_bar_node);
+ // any bookmarks in the bookmark bar node.
+ void SetInstructionState();
// Helper function which destroys all the bookmark buttons in the GtkToolbar.
void RemoveAllBookmarkButtons();
@@ -93,7 +93,7 @@
// Overridden from BookmarkModelObserver:
- // Invoked when the bookmark bar model has finished loading. Creates a button
+ // Invoked when the bookmark model has finished loading. Creates a button
// for each of the children of the root node from the model.
virtual void Loaded(BookmarkModel* model);
@@ -217,10 +217,6 @@
// The other bookmarks button.
GtkWidget* other_bookmarks_button_;
- // The label inside |other_bookmarks_button_|. We keep a reference so we can
- // change the text color.
- GtkWidget* other_bookmarks_label_;
-
// Whether we should ignore the next button release event (because we were
// dragging).
bool ignore_button_release_;
« no previous file with comments | « chrome/app/chrome_dll_main.cc ('k') | chrome/browser/gtk/bookmark_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698