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

Unified Diff: chrome/browser/app_controller_mac.mm

Issue 17501006: Remove "View Background Pages". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: real gtk fix Created 7 years, 6 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/app/generated_resources.grd ('k') | chrome/browser/background/background_mode_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/app_controller_mac.mm
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
index 4aae313ffe21df569dc4fbb8ea3301bc7bc50127..9ceb4635e03949dcb9de5e7dee94323999643770 100644
--- a/chrome/browser/app_controller_mac.mm
+++ b/chrome/browser/app_controller_mac.mm
@@ -928,7 +928,7 @@ void RecordLastRunAppBundlePath() {
break;
case IDC_TASK_MANAGER:
content::RecordAction(UserMetricsAction("TaskManager"));
- TaskManagerMac::Show(false);
+ TaskManagerMac::Show();
break;
case IDC_OPTIONS:
[self showPreferences:sender];
@@ -1271,15 +1271,6 @@ void RecordLastRunAppBundlePath() {
[appItem setTag:position];
[appMenu addItem:appItem];
}
-
- scoped_nsobject<NSMenuItem> appMenuItem([[NSMenuItem alloc]
- initWithTitle:menuStr
- action:@selector(executeApplication:)
- keyEquivalent:@""]);
- [appMenuItem setTarget:self];
- [appMenuItem setTag:IDC_VIEW_BACKGROUND_PAGES];
- [appMenuItem setSubmenu:appMenu];
- [dockMenu addItem:appMenuItem];
}
}
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/background/background_mode_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698