Lines Matching refs:menu
276 ui::SimpleMenuModel* menu = new ui::SimpleMenuModel(this); in UpdateStatusTrayIconContextMenu() local
278 menu->AddItem(IDC_ABOUT, l10n_util::GetStringFUTF16(IDS_ABOUT, in UpdateStatusTrayIconContextMenu()
280 menu->AddItem(IDC_OPTIONS, GetPreferencesMenuLabel()); in UpdateStatusTrayIconContextMenu()
281 menu->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER); in UpdateStatusTrayIconContextMenu()
282 menu->AddSeparator(); in UpdateStatusTrayIconContextMenu()
284 context_menu_application_offset_ = menu->GetItemCount(); in UpdateStatusTrayIconContextMenu()
291 menu->AddItem(position, UTF8ToUTF16(name)); in UpdateStatusTrayIconContextMenu()
293 menu->SetIcon(menu->GetItemCount() - 1, *icon); in UpdateStatusTrayIconContextMenu()
296 menu->AddSeparator(); in UpdateStatusTrayIconContextMenu()
297 menu->AddItemWithStringId(IDC_EXIT, IDS_EXIT); in UpdateStatusTrayIconContextMenu()
298 context_menu_ = menu; in UpdateStatusTrayIconContextMenu()
299 status_icon_->SetContextMenu(menu); in UpdateStatusTrayIconContextMenu()