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 1796f136838c4dbb608bfd6f36b322c986ffd5a8..ea67de7d614cd0ae3379bce96f6314cdae956b07 100644 |
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h |
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h |
@@ -286,9 +286,11 @@ class BookmarkBarView : public DetachableToolbarView, |
// It's easy to get the mapping wrong. For this reason all these methods are |
// private. |
- // Returns the number of buttons corresponding to starred urls/folders. This |
- // is equivalent to the number of children the bookmark bar node from the |
- // bookmark bar model has. |
+ // Returns the number of bookmark bar url/folder buttons that have been |
+ // created. This does not necessarily represent the number of bookmark bar |
+ // nodes, nor the number of visible bookmark bar buttons. Buttons are created |
+ // lazily to fill available space, and may be hidden for ordering or sizing |
+ // changes. |
int GetBookmarkButtonCount() const; |
// Returns the button at the specified index. |