Chromium Code Reviews| 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 12d4a9a35c8f90bd94a1911e293309be08c60d92..1c9f1b830dbf320235b20710062c5d11be10c991 100644 |
| --- a/chrome/browser/ui/app_list/app_context_menu.cc |
| +++ b/chrome/browser/ui/app_list/app_context_menu.cc |
| @@ -7,6 +7,7 @@ |
| #include "base/bind.h" |
| #include "base/command_line.h" |
| #include "chrome/app/chrome_command_ids.h" |
| +#include "chrome/browser/chromeos/genius_app/app_id.h" |
| #include "chrome/browser/extensions/context_menu_matcher.h" |
| #include "chrome/browser/extensions/menu_manager.h" |
| #include "chrome/browser/prefs/incognito_mode_prefs.h" |
| @@ -116,9 +117,12 @@ ui::MenuModel* AppContextMenu::GetMenuModel() { |
| IDS_NEW_TAB_APP_CREATE_SHORTCUT); |
| } |
| - // Don't display the app info dialog for the web store app. |
| + // Don't display the app info dialog for the Store app or the Genius app. |
| + // TODO(sashab): Update the metadata for these apps so their dialogs can be |
|
benwells
2014/06/12 07:11:14
Nit: you should update the bug to describe this an
|
| + // re-enabled. |
| if (controller_->CanDoShowAppInfoFlow() && |
| - app_id_ != extension_misc::kWebStoreAppId) { |
| + app_id_ != extension_misc::kWebStoreAppId && |
| + app_id_ != genius_app::kGeniusAppId) { |
| menu_model_->AddItemWithStringId(SHOW_APP_INFO, |
| IDS_APP_CONTEXT_MENU_SHOW_INFO); |
| } |