Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6850)

Unified Diff: chrome/browser/views/tabs/tab.h

Issue 1001003: Allow dynamic switching in and out of sidetabs mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/views/tabs/tab.h
===================================================================
--- chrome/browser/views/tabs/tab.h (revision 41630)
+++ chrome/browser/views/tabs/tab.h (working copy)
@@ -46,6 +46,10 @@
virtual bool IsCommandEnabledForTab(
TabStripModel::ContextMenuCommand command_id, const Tab* tab) const = 0;
+ // Returns true if the specified command is checked for the specified Tab.
+ virtual bool IsCommandCheckedForTab(
+ TabStripModel::ContextMenuCommand command_id, const Tab* tab) const = 0;
+
// Executes the specified command for the specified Tab.
virtual void ExecuteCommandForTab(
TabStripModel::ContextMenuCommand command_id, Tab* tab) = 0;

Powered by Google App Engine
This is Rietveld 408576698