summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index d176b1d..715559a 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -474,6 +474,7 @@ class Browser : public TabStripModelDelegate,
virtual void CreateHistoricalTab(TabContents* contents);
virtual bool RunUnloadListenerBeforeClosing(TabContents* contents);
virtual bool CanCloseContentsAt(int index);
+ virtual bool CanBookmarkAllTabs() const;
virtual void BookmarkAllTabs();
// Overridden from TabStripModelObserver:
@@ -563,6 +564,9 @@ class Browser : public TabStripModelDelegate,
// loading. |force| is true if the button should change its icon immediately.
void UpdateStopGoState(bool is_loading, bool force);
+ // Returns true if the specified tab contents can be bookmarked.
+ bool CanBookmarkTabContents(TabContents* tab_contents) const;
+
// UI update coalescing and handling ////////////////////////////////////////
// Asks the toolbar (and as such the location bar) to update its state to