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

Unified Diff: chrome/browser/ui/app_list/app_context_menu.cc

Issue 186213003: <webview>: Context menu API implementation CL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync @tott Created 6 years, 9 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: 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 6d1c3d076ad6893fec3997d2d24b4847e4c55625..33aba7e27df8eb91de56be7e652c291f75f6d46b 100644
--- a/chrome/browser/ui/app_list/app_context_menu.cc
+++ b/chrome/browser/ui/app_list/app_context_menu.cc
@@ -8,6 +8,7 @@
#include "base/command_line.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/extensions/context_menu_matcher.h"
+#include "chrome/browser/extensions/menu_manager.h"
#include "chrome/browser/prefs/incognito_mode_prefs.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/app_list/app_context_menu_delegate.h"
@@ -97,8 +98,8 @@ ui::MenuModel* AppContextMenu::GetMenuModel() {
menu_model_->AddItem(LAUNCH_NEW, base::string16());
int index = 0;
- extension_menu_items_->AppendExtensionItems(app_id_, base::string16(),
- &index);
+ extension_menu_items_->AppendExtensionItems(
+ extensions::MenuItem::ExtensionKey(app_id_), base::string16(), &index);
// Show Pin/Unpin option if shelf is available.
if (controller_->GetPinnable() != AppListControllerDelegate::NO_PIN) {

Powered by Google App Engine
This is Rietveld 408576698