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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 2 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_menu_manager.h
diff --git a/chrome/browser/extensions/extension_menu_manager.h b/chrome/browser/extensions/extension_menu_manager.h
index 299fa059edc0e232d44a706095bfea391824e303..14c2bdf608f0c8b275fded9a4d5d65d1a79564dd 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:
@@ -219,7 +222,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.

Powered by Google App Engine
This is Rietveld 408576698