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

Unified Diff: ui/app_list/app_list_menu.cc

Issue 14007002: Add help button to app launcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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: ui/app_list/app_list_menu.cc
diff --git a/ui/app_list/app_list_menu.cc b/ui/app_list/app_list_menu.cc
index f02a6ef99ab2ec4e1410eb76b9a2750a8382576b..3c1c81f0ee96b17607e28fa03903530b2a97a4f2 100644
--- a/ui/app_list/app_list_menu.cc
+++ b/ui/app_list/app_list_menu.cc
@@ -27,6 +27,9 @@ void AppListMenu::InitMenu() {
menu_model_.AddItem(SHOW_SETTINGS, l10n_util::GetStringUTF16(
IDS_APP_LIST_OPEN_SETTINGS));
+ menu_model_.AddItem(SHOW_HELP, l10n_util::GetStringUTF16(
+ IDS_APP_LIST_HELP));
+
menu_model_.AddItem(SHOW_FEEDBACK, l10n_util::GetStringUTF16(
IDS_APP_LIST_OPEN_FEEDBACK));
}
@@ -51,6 +54,9 @@ void AppListMenu::ExecuteCommand(int command_id, int event_flags) {
case SHOW_SETTINGS:
delegate_->OpenSettings();
break;
+ case SHOW_HELP:
+ delegate_->OpenHelp();
+ break;
case SHOW_FEEDBACK:
delegate_->OpenFeedback();
break;

Powered by Google App Engine
This is Rietveld 408576698