| Index: chrome/browser/views/bookmark_bar_view.h
|
| ===================================================================
|
| --- chrome/browser/views/bookmark_bar_view.h (revision 33455)
|
| +++ chrome/browser/views/bookmark_bar_view.h (working copy)
|
| @@ -207,6 +207,11 @@
|
| // Maximum size of buttons on the bookmark bar.
|
| static const int kMaxButtonWidth;
|
|
|
| + // If a button is currently throbbing, it is stopped. If immediate is true
|
| + // the throb stops immediately, otherwise it stops after a couple more
|
| + // throbs.
|
| + void StopThrobbing(bool immediate);
|
| +
|
| // If true we're running tests. This short circuits a couple of animations.
|
| static bool testing_;
|
|
|
| @@ -396,15 +401,12 @@
|
| // visible, this returns GetBookmarkButtonCount().
|
| int GetFirstHiddenNodeIndex();
|
|
|
| - // If the bookmark bubble is showing this determines which view should throb
|
| - // and starts it throbbing. Does nothing if bookmark bubble isn't showing.
|
| - void StartThrobbing();
|
| + // This determines which view should throb and starts it
|
| + // throbbing (e.g when the bookmark bubble is showing).
|
| + // If |overflow_only| is true, start throbbing only if |node| is hidden in
|
| + // the overflow menu.
|
| + void StartThrobbing(const BookmarkNode* node, bool overflow_only);
|
|
|
| - // If a button is currently throbbing, it is stopped. If immediate is true
|
| - // the throb stops immediately, otherwise it stops after a couple more
|
| - // throbs.
|
| - void StopThrobbing(bool immediate);
|
| -
|
| // Updates the colors for all the child objects in the bookmarks bar.
|
| void UpdateColors();
|
|
|
| @@ -474,9 +476,6 @@
|
| // Animation controlling showing and hiding of the bar.
|
| scoped_ptr<SlideAnimation> size_animation_;
|
|
|
| - // If the bookmark bubble is showing, this is the URL.
|
| - GURL bubble_url_;
|
| -
|
| // If the bookmark bubble is showing, this is the visible ancestor of the URL.
|
| // The visible ancestor is either the other_bookmarked_button_,
|
| // overflow_button_ or a button on the bar.
|
|
|