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

Unified Diff: chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.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/gtk/extensions/extension_installed_bubble_gtk.h
diff --git a/chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.h b/chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.h
index cf217232a3e7add53861e1c4bb49dd8839c5738e..54f9d060b9d48d928565e9c1d31e9f09bf9b87d9 100644
--- a/chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.h
+++ b/chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.h
@@ -16,9 +16,12 @@
#include "third_party/skia/include/core/SkBitmap.h"
class Browser;
-class Extension;
class SkBitmap;
+namespace extensions {
+class Extension;
+}
+
// Provides feedback to the user upon successful installation of an
// extension. Depending on the type of extension, the BubbleGtk will
// point to:
@@ -47,14 +50,16 @@ class ExtensionInstalledBubbleGtk
// 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:
friend class base::RefCountedThreadSafe<ExtensionInstalledBubbleGtk>;
// Private ctor. Registers a listener for EXTENSION_LOADED.
- ExtensionInstalledBubbleGtk(const Extension* extension, Browser *browser,
+ ExtensionInstalledBubbleGtk(const extensions::Extension* extension,
+ Browser *browser,
const SkBitmap& icon);
virtual ~ExtensionInstalledBubbleGtk();
@@ -76,7 +81,7 @@ class ExtensionInstalledBubbleGtk
static void OnButtonClick(GtkWidget* button,
ExtensionInstalledBubbleGtk* toolbar);
- const Extension* extension_;
+ const extensions::Extension* extension_;
Browser* browser_;
SkBitmap icon_;
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698