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

Unified Diff: chrome/browser/ui/ash/launcher/launcher_context_menu.cc

Issue 359493005: Extend contextMenus API to support browser/page actions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 4 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
« no previous file with comments | « chrome/browser/ui/app_list/app_context_menu.cc ('k') | chrome/common/extensions/api/context_menus.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c63743be5cf91e8b3c93da15079b1c47a6ef1c54..50a5975de725175c2deb60ba95f1c1867fc38d3a 100644
--- a/chrome/browser/ui/ash/launcher/launcher_context_menu.cc
+++ b/chrome/browser/ui/ash/launcher/launcher_context_menu.cc
@@ -161,8 +161,10 @@ void LauncherContextMenu::Init() {
controller_->GetAppIDForShelfID(item_.id));
if (!app_key.empty()) {
int index = 0;
- extension_items_->AppendExtensionItems(
- app_key, base::string16(), &index);
+ extension_items_->AppendExtensionItems(app_key,
+ base::string16(),
+ &index,
+ false); // is_action_menu
AddSeparator(ui::NORMAL_SEPARATOR);
}
}
« no previous file with comments | « chrome/browser/ui/app_list/app_context_menu.cc ('k') | chrome/common/extensions/api/context_menus.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698