summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_menu_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_menu_manager.h')
-rw-r--r--chrome/browser/extensions/extension_menu_manager.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_menu_manager.h b/chrome/browser/extensions/extension_menu_manager.h
index 30a8b35..1235bdb 100644
--- a/chrome/browser/extensions/extension_menu_manager.h
+++ b/chrome/browser/extensions/extension_menu_manager.h
@@ -22,7 +22,6 @@
#include "content/public/browser/notification_registrar.h"
-class Extension;
class Profile;
class SkBitmap;
@@ -31,6 +30,10 @@ class WebContents;
struct ContextMenuParams;
}
+namespace extensions {
+class Extension;
+}
+
// Represents a menu item added by an extension.
class ExtensionMenuItem {
public:
@@ -224,7 +227,8 @@ class ExtensionMenuManager : public content::NotificationObserver {
// Adds a top-level menu item for an extension, requiring the |extension|
// pointer so it can load the icon for the extension. Takes ownership of
// |item|. Returns a boolean indicating success or failure.
- bool AddContextItem(const Extension* extension, ExtensionMenuItem* item);
+ bool AddContextItem(const extensions::Extension* extension,
+ ExtensionMenuItem* item);
// Add an item as a child of another item which has been previously added, and
// takes ownership of |item|. Returns a boolean indicating success or failure.