summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/bookmark_bar_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/bookmark_bar_view.h')
-rw-r--r--chrome/browser/views/bookmark_bar_view.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/views/bookmark_bar_view.h b/chrome/browser/views/bookmark_bar_view.h
index 3475a61..5982fbf 100644
--- a/chrome/browser/views/bookmark_bar_view.h
+++ b/chrome/browser/views/bookmark_bar_view.h
@@ -7,6 +7,7 @@
#include "chrome/browser/bookmarks/bookmark_drag_data.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
+#include "chrome/browser/extensions/extensions_service.h"
#include "chrome/common/slide_animation.h"
#include "chrome/views/label.h"
#include "chrome/views/menu.h"
@@ -384,6 +385,11 @@ class BookmarkBarView : public views::View,
// throbs.
void StopThrobbing(bool immediate);
+ // Add any extension toolstrips which may be requested by the given
+ // extensions. Views for the toolstrips are inserted after the last bookmark
+ // button. Returns true if there were any new toolstrips added.
+ bool AddExtensionToolstrips(const ExtensionList* extensions);
+
Profile* profile_;
// Used for opening urls.
@@ -436,6 +442,9 @@ class BookmarkBarView : public views::View,
// overflow_button_ or a button on the bar.
views::BaseButton* throbbing_view_;
+ // How many extension toolstrips we have showing in the toolbar.
+ int num_extension_toolstrips_;
+
DISALLOW_COPY_AND_ASSIGN(BookmarkBarView);
};