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

Side by Side Diff: chrome/browser/tab_menu_model.cc

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include "chrome/browser/tab_menu_model.h" 5 #include "chrome/browser/tab_menu_model.h"
6 6
7 #include "chrome/browser/defaults.h" 7 #include "chrome/browser/defaults.h"
8 #include "chrome/browser/tabs/tab_strip_model.h" 8 #include "chrome/browser/tabs/tab_strip_model.h"
9 #include "grit/generated_resources.h" 9 #include "grit/generated_resources.h"
10 10
(...skipping 25 matching lines...) Expand all
36 AddItemWithStringId(TabStripModel::CommandCloseOtherTabs, 36 AddItemWithStringId(TabStripModel::CommandCloseOtherTabs,
37 IDS_TAB_CXMENU_CLOSEOTHERTABS); 37 IDS_TAB_CXMENU_CLOSEOTHERTABS);
38 AddItemWithStringId(TabStripModel::CommandCloseTabsToRight, 38 AddItemWithStringId(TabStripModel::CommandCloseTabsToRight,
39 IDS_TAB_CXMENU_CLOSETABSTORIGHT); 39 IDS_TAB_CXMENU_CLOSETABSTORIGHT);
40 AddItemWithStringId(TabStripModel::CommandCloseTabsOpenedBy, 40 AddItemWithStringId(TabStripModel::CommandCloseTabsOpenedBy,
41 IDS_TAB_CXMENU_CLOSETABSOPENEDBY); 41 IDS_TAB_CXMENU_CLOSETABSOPENEDBY);
42 AddSeparator(); 42 AddSeparator();
43 AddItemWithStringId(TabStripModel::CommandRestoreTab, IDS_RESTORE_TAB); 43 AddItemWithStringId(TabStripModel::CommandRestoreTab, IDS_RESTORE_TAB);
44 AddItemWithStringId(TabStripModel::CommandBookmarkAllTabs, 44 AddItemWithStringId(TabStripModel::CommandBookmarkAllTabs,
45 IDS_TAB_CXMENU_BOOKMARK_ALL_TABS); 45 IDS_TAB_CXMENU_BOOKMARK_ALL_TABS);
46 #if defined(OS_WIN)
47 AddSeparator();
48 AddCheckItemWithStringId(TabStripModel::CommandUseVerticalTabs,
49 IDS_TAB_CXMENU_USE_VERTICAL_TABS);
50 #endif
46 } 51 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698