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

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_action_context_menu.h

Issue 9968076: Remove Inspect Popup command from browser actions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Moved includes to cc Created 8 years, 8 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/cocoa/extensions/extension_action_context_menu.h
diff --git a/chrome/browser/ui/cocoa/extensions/extension_action_context_menu.h b/chrome/browser/ui/cocoa/extensions/extension_action_context_menu.h
index ab234355b7cc7a5ba39bef9b782ec94730bf63e7..7ff52a307233c06f153a75a0dd3ada7f34a629b0 100644
--- a/chrome/browser/ui/cocoa/extensions/extension_action_context_menu.h
+++ b/chrome/browser/ui/cocoa/extensions/extension_action_context_menu.h
@@ -18,9 +18,6 @@ class Profile;
namespace extension_action_context_menu {
-class DevmodeObserver;
-class ProfileObserverBridge;
-
} // namespace extension_action_context_menu
// A context menu used by any extension UI components that require it.
@@ -35,16 +32,6 @@ class ProfileObserverBridge;
// The browser profile of the window that contains this extension. Weak.
Profile* profile_;
- // The inspector menu item. Need to keep this around to add and remove it.
- scoped_nsobject<NSMenuItem> inspectorItem_;
-
- // The observer used to listen for pref changed notifications.
- scoped_ptr<extension_action_context_menu::DevmodeObserver> observer_;
-
- // The observer used to reset |observer_| when the profile is destroyed.
- scoped_ptr<extension_action_context_menu::ProfileObserverBridge>
- profile_observer_;
-
// Used to load the extension icon asynchronously on the I/O thread then show
// the uninstall confirmation dialog.
scoped_ptr<AsyncUninstaller> uninstaller_;
@@ -55,13 +42,6 @@ class ProfileObserverBridge;
profile:(Profile*)profile
extensionAction:(ExtensionAction*)action;
-// Show or hide the inspector menu item.
-- (void)updateInspectorItem;
-
-// Notifies the ExtensionActionContextMenu that the profile is is being
-// destroyed.
-- (void)invalidateProfile;
-
@end
typedef ExtensionActionContextMenu ExtensionActionContextMenuMac;

Powered by Google App Engine
This is Rietveld 408576698