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

Unified Diff: chrome/browser/extensions/extension_context_menu_model.h

Issue 10382149: Refactor the various ways to control what users can do to extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/extensions/extension_context_menu_model.h
===================================================================
--- chrome/browser/extensions/extension_context_menu_model.h (revision 140193)
+++ chrome/browser/extensions/extension_context_menu_model.h (working copy)
@@ -28,6 +28,15 @@
public ui::SimpleMenuModel::Delegate,
public ExtensionUninstallDialog::Delegate {
public:
+ enum MenuEntries {
+ NAME = 0,
+ CONFIGURE,
+ HIDE,
+ DISABLE,
+ UNINSTALL,
+ MANAGE
+ };
+
// Creates a menu model for the given extension action.
ExtensionContextMenuModel(const extensions::Extension* extension,
Browser* browser);

Powered by Google App Engine
This is Rietveld 408576698