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

Unified Diff: chrome/browser/ui/app_list/extension_app_item.h

Issue 10918103: Give platform apps control over launcher right-click context menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: implement antony's comments and rebase Created 8 years, 3 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/extension_app_item.h
diff --git a/chrome/browser/ui/app_list/extension_app_item.h b/chrome/browser/ui/app_list/extension_app_item.h
index 1dd9cb0471bc9fad5f18134caea57605868dd9b0..24729b0c7a27257c6267de5ae15967d69ddf563c 100644
--- a/chrome/browser/ui/app_list/extension_app_item.h
+++ b/chrome/browser/ui/app_list/extension_app_item.h
@@ -18,6 +18,7 @@ class Profile;
class SkBitmap;
namespace extensions {
+class ContextMenuMatcher;
class Extension;
}
@@ -74,6 +75,7 @@ class ExtensionAppItem : public ChromeAppListItem,
scoped_ptr<extensions::IconImage> icon_;
scoped_ptr<ui::SimpleMenuModel> context_menu_model_;
+ scoped_ptr<extensions::ContextMenuMatcher> extension_menu_items_;
DISALLOW_COPY_AND_ASSIGN(ExtensionAppItem);
};

Powered by Google App Engine
This is Rietveld 408576698