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

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

Issue 5582002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/tab_menu_model.h" 5 #include "chrome/browser/ui/tabs/tab_menu_model.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/browser/tabs/tab_strip_model.h" 8 #include "chrome/browser/tabs/tab_strip_model.h"
9 #include "chrome/common/chrome_switches.h" 9 #include "chrome/common/chrome_switches.h"
10 #include "chrome/common/pref_names.h" 10 #include "chrome/common/pref_names.h"
11 #include "grit/generated_resources.h" 11 #include "grit/generated_resources.h"
12 12
13 TabMenuModel::TabMenuModel(menus::SimpleMenuModel::Delegate* delegate, 13 TabMenuModel::TabMenuModel(menus::SimpleMenuModel::Delegate* delegate,
14 bool is_pinned) 14 bool is_pinned)
15 : menus::SimpleMenuModel(delegate) { 15 : menus::SimpleMenuModel(delegate) {
(...skipping 29 matching lines...) Expand all
45 AddSeparator(); 45 AddSeparator();
46 AddItemWithStringId(TabStripModel::CommandRestoreTab, IDS_RESTORE_TAB); 46 AddItemWithStringId(TabStripModel::CommandRestoreTab, IDS_RESTORE_TAB);
47 AddItemWithStringId(TabStripModel::CommandBookmarkAllTabs, 47 AddItemWithStringId(TabStripModel::CommandBookmarkAllTabs,
48 IDS_TAB_CXMENU_BOOKMARK_ALL_TABS); 48 IDS_TAB_CXMENU_BOOKMARK_ALL_TABS);
49 if (AreVerticalTabsEnabled()) { 49 if (AreVerticalTabsEnabled()) {
50 AddSeparator(); 50 AddSeparator();
51 AddCheckItemWithStringId(TabStripModel::CommandUseVerticalTabs, 51 AddCheckItemWithStringId(TabStripModel::CommandUseVerticalTabs,
52 IDS_TAB_CXMENU_USE_VERTICAL_TABS); 52 IDS_TAB_CXMENU_USE_VERTICAL_TABS);
53 } 53 }
54 } 54 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/tabs/tab_menu_model.h ('k') | chrome/browser/ui/tabs/tab_menu_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698