Index: chrome/browser/extensions/extension_context_menu_model.h |
diff --git a/chrome/browser/extensions/extension_context_menu_model.h b/chrome/browser/extensions/extension_context_menu_model.h |
index a42b58c9e4e8c2576b8cb26e40410305212779f2..93a793dc8ad340d5d4adfba557a5ad843fd0cfa7 100644 |
--- a/chrome/browser/extensions/extension_context_menu_model.h |
+++ b/chrome/browser/extensions/extension_context_menu_model.h |
@@ -24,24 +24,8 @@ class ExtensionContextMenuModel |
public ui::SimpleMenuModel::Delegate, |
public ExtensionUninstallDialog::Delegate { |
public: |
- // Delegate to handle showing an ExtensionAction popup. |
- class PopupDelegate { |
- public: |
- // Called when the user selects the menu item which requests that the |
- // popup be shown and inspected. |
- virtual void InspectPopup(ExtensionAction* action) = 0; |
- |
- protected: |
- virtual ~PopupDelegate() {} |
- }; |
- |
- // Creates a menu model for the given extension action. If |
- // prefs::kExtensionsUIDeveloperMode is enabled then a menu item |
- // will be shown for "Inspect Popup" which, when selected, will cause |
- // ShowPopupForDevToolsWindow() to be called on |delegate|. |
- ExtensionContextMenuModel(const Extension* extension, |
- Browser* browser, |
- PopupDelegate* delegate); |
+ // Creates a menu model for the given extension action. |
+ ExtensionContextMenuModel(const Extension* extension, Browser* browser); |
virtual ~ExtensionContextMenuModel(); |
// SimpleMenuModel::Delegate overrides. |
@@ -73,9 +57,6 @@ class ExtensionContextMenuModel |
Profile* profile_; |
- // The delegate which handles the 'inspect popup' menu command (or NULL). |
- PopupDelegate* delegate_; |
- |
// Keeps track of the extension uninstall dialog. |
scoped_ptr<ExtensionUninstallDialog> extension_uninstall_dialog_; |