diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-28 19:14:33 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-28 19:14:33 +0000 |
commit | d3038bf0175f75df75385a17298134a2ee39b8a1 (patch) | |
tree | eb795e71e50dfc7bb5f791af24e5d85b0abe54ac /chrome/browser/tab_menu_model.cc | |
parent | db921de9330f6245dc93cf1529c8c180e74d1ae8 (diff) | |
download | chromium_src-d3038bf0175f75df75385a17298134a2ee39b8a1.zip chromium_src-d3038bf0175f75df75385a17298134a2ee39b8a1.tar.gz chromium_src-d3038bf0175f75df75385a17298134a2ee39b8a1.tar.bz2 |
Disables pinned tabs until I land apps. I've #ifdef parts that are
going to stay around, but need to be disabled for now.
BUG=32845
TEST=make sure pinned tabs are disabled for now.
Review URL: http://codereview.chromium.org/557026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37421 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_menu_model.cc')
-rw-r--r-- | chrome/browser/tab_menu_model.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/tab_menu_model.cc b/chrome/browser/tab_menu_model.cc index f426250..986d352 100644 --- a/chrome/browser/tab_menu_model.cc +++ b/chrome/browser/tab_menu_model.cc @@ -18,6 +18,7 @@ void TabMenuModel::Build() { AddItemWithStringId(TabStripModel::CommandReload, IDS_TAB_CXMENU_RELOAD); AddItemWithStringId(TabStripModel::CommandDuplicate, IDS_TAB_CXMENU_DUPLICATE); +#if defined(ENABLE_PINNED_TABS) // On Mac the HIG prefers "pin/unpin" to a checkmark. The Mac code will fix up // the actual string based on the tab's state via the delegate. #if defined(OS_MACOSX) @@ -27,6 +28,7 @@ void TabMenuModel::Build() { AddCheckItemWithStringId(TabStripModel::CommandTogglePinned, IDS_TAB_CXMENU_PIN_TAB); #endif +#endif AddSeparator(); AddItemWithStringId(TabStripModel::CommandCloseTab, IDS_TAB_CXMENU_CLOSETAB); |