summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/tabs
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 23:04:21 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 23:04:21 +0000
commitdbdde8f24205b7931388b7880cd525a0e1057df9 (patch)
tree74d63c7a8e288c4b476f9697b7427eb693d50e83 /chrome/browser/gtk/tabs
parentb7e991c273b3666a4ffb73b79a20a569580dfa84 (diff)
downloadchromium_src-dbdde8f24205b7931388b7880cd525a0e1057df9.zip
chromium_src-dbdde8f24205b7931388b7880cd525a0e1057df9.tar.gz
chromium_src-dbdde8f24205b7931388b7880cd525a0e1057df9.tar.bz2
Remove "Close tabs opened by this tab".
BUG=none TEST=Right click a tab, "Close opened by" should not be in the context menu. Review URL: http://codereview.chromium.org/2903004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52143 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/tabs')
-rw-r--r--chrome/browser/gtk/tabs/tab_strip_gtk.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/gtk/tabs/tab_strip_gtk.cc b/chrome/browser/gtk/tabs/tab_strip_gtk.cc
index affdeae..edce407 100644
--- a/chrome/browser/gtk/tabs/tab_strip_gtk.cc
+++ b/chrome/browser/gtk/tabs/tab_strip_gtk.cc
@@ -1150,8 +1150,7 @@ void TabStripGtk::ExecuteCommandForTab(
void TabStripGtk::StartHighlightTabsForCommand(
TabStripModel::ContextMenuCommand command_id, TabGtk* tab) {
- if (command_id == TabStripModel::CommandCloseTabsOpenedBy ||
- command_id == TabStripModel::CommandCloseOtherTabs ||
+ if (command_id == TabStripModel::CommandCloseOtherTabs ||
command_id == TabStripModel::CommandCloseTabsToRight) {
NOTIMPLEMENTED();
}
@@ -1159,8 +1158,7 @@ void TabStripGtk::StartHighlightTabsForCommand(
void TabStripGtk::StopHighlightTabsForCommand(
TabStripModel::ContextMenuCommand command_id, TabGtk* tab) {
- if (command_id == TabStripModel::CommandCloseTabsOpenedBy ||
- command_id == TabStripModel::CommandCloseTabsToRight ||
+ if (command_id == TabStripModel::CommandCloseTabsToRight ||
command_id == TabStripModel::CommandCloseOtherTabs) {
// Just tell all Tabs to stop pulsing - it's safe.
StopAllHighlighting();