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

Unified Diff: chrome/browser/ui/tabs/tab_menu_model.cc

Issue 190543003: Removes --enable-tab-groups-context-menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « chrome/browser/about_flags.cc ('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/ui/tabs/tab_menu_model.cc
diff --git a/chrome/browser/ui/tabs/tab_menu_model.cc b/chrome/browser/ui/tabs/tab_menu_model.cc
index 1f9d839066b62dc114aaf84ba88226a1166e3030..4e7f569c65548c940241fc98a67e30440c135ab7 100644
--- a/chrome/browser/ui/tabs/tab_menu_model.cc
+++ b/chrome/browser/ui/tabs/tab_menu_model.cc
@@ -7,7 +7,6 @@
#include "base/command_line.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/browser/ui/tabs/tab_strip_model_delegate.h"
-#include "chrome/common/chrome_switches.h"
#include "grit/generated_resources.h"
TabMenuModel::TabMenuModel(ui::SimpleMenuModel::Delegate* delegate,
@@ -55,12 +54,4 @@ void TabMenuModel::Build(TabStripModel* tab_strip, int index) {
is_window ? IDS_RESTORE_WINDOW : IDS_RESTORE_TAB);
AddItemWithStringId(TabStripModel::CommandBookmarkAllTabs,
IDS_TAB_CXMENU_BOOKMARK_ALL_TABS);
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableTabGroupsContextMenu)) {
- AddSeparator(ui::NORMAL_SEPARATOR);
- AddItemWithStringId(TabStripModel::CommandSelectByDomain,
- IDS_TAB_CXMENU_SELECT_BY_DOMAIN);
- AddItemWithStringId(TabStripModel::CommandSelectByOpener,
- IDS_TAB_CXMENU_SELECT_BY_OPENER);
- }
}
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698