summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmark_bar_context_menu_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/bookmark_bar_context_menu_controller.h')
-rw-r--r--chrome/browser/bookmark_bar_context_menu_controller.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/bookmark_bar_context_menu_controller.h b/chrome/browser/bookmark_bar_context_menu_controller.h
index 9332bca..a6fd38a 100644
--- a/chrome/browser/bookmark_bar_context_menu_controller.h
+++ b/chrome/browser/bookmark_bar_context_menu_controller.h
@@ -7,6 +7,7 @@
#include "chrome/views/chrome_menu.h"
#include "chrome/browser/views/bookmark_bar_view.h"
+#include "webkit/glue/window_open_disposition.h"
class BookmarkNode;
class PageNavigator;
@@ -17,6 +18,14 @@ class PageNavigator;
class BookmarkBarContextMenuController : public ChromeViews::MenuDelegate,
public BookmarkBarView::ModelChangedListener {
public:
+ // Recursively opens all bookmarks of |node|. |initial_disposition| dictates
+ // how the first URL is opened, all subsequent URLs are opened as background
+ // tabs.
+ static void OpenAll(HWND parent,
+ PageNavigator* navigator,
+ BookmarkNode* node,
+ WindowOpenDisposition initial_disposition);
+
BookmarkBarContextMenuController(BookmarkBarView* view,
BookmarkNode* node);