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

Unified Diff: chrome/browser/tab_menu_model.cc

Issue 557026: Disables pinned tabs until I land apps. I've #ifdef parts that are... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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
« no previous file with comments | « chrome/browser/tab_menu_model.h ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_menu_model.cc
===================================================================
--- chrome/browser/tab_menu_model.cc (revision 37310)
+++ chrome/browser/tab_menu_model.cc (working copy)
@@ -18,6 +18,7 @@
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 @@
AddCheckItemWithStringId(TabStripModel::CommandTogglePinned,
IDS_TAB_CXMENU_PIN_TAB);
#endif
+#endif
AddSeparator();
AddItemWithStringId(TabStripModel::CommandCloseTab,
IDS_TAB_CXMENU_CLOSETAB);
« no previous file with comments | « chrome/browser/tab_menu_model.h ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698