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

Unified Diff: chrome/browser/ui/views/extensions/extension_installed_bubble.h

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 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/ui/views/extensions/extension_installed_bubble.h
diff --git a/chrome/browser/ui/views/extensions/extension_installed_bubble.h b/chrome/browser/ui/views/extensions/extension_installed_bubble.h
index 4da3d0e931930fb5ab58c108a8a8b96896eb2807..5cc828d0cde01c3e9a86d3f19f33d60bd38498df 100644
--- a/chrome/browser/ui/views/extensions/extension_installed_bubble.h
+++ b/chrome/browser/ui/views/extensions/extension_installed_bubble.h
@@ -12,7 +12,10 @@
#include "ui/views/bubble/bubble_delegate.h"
class Browser;
+
+namespace extensions {
class Extension;
+}
// Provides feedback to the user upon successful installation of an
// extension. Depending on the type of extension, the Bubble will
@@ -41,12 +44,13 @@ class ExtensionInstalledBubble
// the extension has loaded. |extension| is the installed extension. |browser|
// is the browser window which will host the bubble. |icon| is the install
// icon of the extension.
- static void Show(
- const Extension* extension, Browser *browser, const SkBitmap& icon);
+ static void Show(const extensions::Extension* extension,
+ Browser *browser,
+ const SkBitmap& icon);
private:
// Private ctor. Registers a listener for EXTENSION_LOADED.
- ExtensionInstalledBubble(const Extension* extension,
+ ExtensionInstalledBubble(const extensions::Extension* extension,
Browser *browser,
const SkBitmap& icon);
@@ -66,7 +70,7 @@ class ExtensionInstalledBubble
// views::BubbleDelegate
virtual gfx::Rect GetAnchorRect() OVERRIDE;
- const Extension* extension_;
+ const extensions::Extension* extension_;
Browser* browser_;
SkBitmap icon_;
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698