| Index: chrome/browser/ui/ash/launcher/launcher_context_menu.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/launcher_context_menu.cc b/chrome/browser/ui/ash/launcher/launcher_context_menu.cc
|
| index b72aab12ab06d3374ed5ee12ac00b92f1f8737a5..9465491489f9d04b2a5072c80d4d785af3d3aaf9 100644
|
| --- a/chrome/browser/ui/ash/launcher/launcher_context_menu.cc
|
| +++ b/chrome/browser/ui/ash/launcher/launcher_context_menu.cc
|
| @@ -150,7 +150,14 @@ void LauncherContextMenu::Init() {
|
| MENU_PIN,
|
| l10n_util::GetStringUTF16(IDS_LAUNCHER_CONTEXT_MENU_PIN));
|
| }
|
| - if (controller_->IsOpen(item_.id)) {
|
| + bool show_close_button = controller_->IsOpen(item_.id);
|
| +#if defined(OS_CHROMEOS)
|
| + if (extension_misc::IsImeMenuExtensionId(
|
| + controller_->GetAppIDForShelfID(item_.id))) {
|
| + show_close_button = false;
|
| + }
|
| +#endif
|
| + if (show_close_button) {
|
| AddItem(MENU_CLOSE,
|
| l10n_util::GetStringUTF16(IDS_LAUNCHER_CONTEXT_MENU_CLOSE));
|
| }
|
|
|