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

Unified Diff: chrome/browser/ui/app_list/app_context_menu.cc

Issue 2787693002: Remove more dead app list code. (Closed)
Patch Set: updated comment Created 3 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
Index: chrome/browser/ui/app_list/app_context_menu.cc
diff --git a/chrome/browser/ui/app_list/app_context_menu.cc b/chrome/browser/ui/app_list/app_context_menu.cc
index 0a8fffa01443e8d53db61ce4fbc50eb26202337d..0bd5259eccb258902d7a8573c12034449a0565bc 100644
--- a/chrome/browser/ui/app_list/app_context_menu.cc
+++ b/chrome/browser/ui/app_list/app_context_menu.cc
@@ -43,11 +43,6 @@ void AppContextMenu::BuildMenu(ui::SimpleMenuModel* menu_model) {
IDS_APP_LIST_CONTEXT_MENU_UNPIN :
IDS_APP_LIST_CONTEXT_MENU_PIN);
}
-
- if (controller_->CanDoCreateShortcutsFlow()) {
- menu_model_->AddItemWithStringId(CREATE_SHORTCUTS,
- IDS_NEW_TAB_APP_CREATE_SHORTCUT);
- }
}
bool AppContextMenu::IsItemForCommandIdDynamic(int command_id) const {
@@ -98,9 +93,6 @@ void AppContextMenu::ExecuteCommand(int command_id, int event_flags) {
case TOGGLE_PIN:
TogglePin(app_id_);
break;
- case CREATE_SHORTCUTS:
- controller_->DoCreateShortcutsFlow(profile_, app_id_);
- break;
}
}
« no previous file with comments | « chrome/browser/ui/app_list/app_context_menu.h ('k') | chrome/browser/ui/app_list/app_context_menu_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698