Index: chrome/browser/tabs/tab_strip_model.h |
=================================================================== |
--- chrome/browser/tabs/tab_strip_model.h (revision 41630) |
+++ chrome/browser/tabs/tab_strip_model.h (working copy) |
@@ -223,6 +223,12 @@ |
// Creates a bookmark folder containing a bookmark for all open tabs. |
virtual void BookmarkAllTabs() = 0; |
+ |
+ // Returns true if the vertical tabstrip presentation should be used. |
+ virtual bool UseVerticalTabs() const = 0; |
+ |
+ // Toggles the use of the vertical tabstrip. |
+ virtual void ToggleUseVerticalTabs() = 0; |
}; |
//////////////////////////////////////////////////////////////////////////////// |
@@ -547,6 +553,7 @@ |
CommandRestoreTab, |
CommandTogglePinned, |
CommandBookmarkAllTabs, |
+ CommandUseVerticalTabs, |
CommandLast |
}; |
@@ -554,6 +561,10 @@ |
bool IsContextMenuCommandEnabled(int context_index, |
ContextMenuCommand command_id) const; |
+ // Returns true if the specified command is checked. |
+ bool IsContextMenuCommandChecked(int context_index, |
+ ContextMenuCommand command_id) const; |
+ |
// Performs the action associated with the specified command for the given |
// TabStripModel index |context_index|. |
void ExecuteContextMenuCommand(int context_index, |