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

Unified Diff: chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc

Issue 10824030: Move ExtensionHost into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 5 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_popup_gtk.cc
diff --git a/chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc b/chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc
index e9a10989f48ec573e23fe146d148e07ff976a008..119705bd6fa0d748592bc9ba48223138b91d946f 100644
--- a/chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc
+++ b/chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc
@@ -40,7 +40,7 @@ const int ExtensionPopupGtk::kMaxWidth = 800;
const int ExtensionPopupGtk::kMaxHeight = 600;
ExtensionPopupGtk::ExtensionPopupGtk(Browser* browser,
- ExtensionHost* host,
+ extensions::ExtensionHost* host,
GtkWidget* anchor,
ShowAction show_action)
: browser_(browser),
@@ -84,7 +84,7 @@ void ExtensionPopupGtk::Show(const GURL& url, Browser* browser,
if (!manager)
return;
- ExtensionHost* host = manager->CreatePopupHost(url, browser);
+ extensions::ExtensionHost* host = manager->CreatePopupHost(url, browser);
// This object will delete itself when the bubble is closed.
new ExtensionPopupGtk(browser, host, anchor, show_action);
}
@@ -94,11 +94,11 @@ void ExtensionPopupGtk::Observe(int type,
const content::NotificationDetails& details) {
switch (type) {
case chrome::NOTIFICATION_EXTENSION_HOST_DID_STOP_LOADING:
- if (content::Details<ExtensionHost>(host_.get()) == details)
+ if (content::Details<extensions::ExtensionHost>(host_.get()) == details)
ShowPopup();
break;
case chrome::NOTIFICATION_EXTENSION_HOST_VIEW_SHOULD_CLOSE:
- if (content::Details<ExtensionHost>(host_.get()) == details)
+ if (content::Details<extensions::ExtensionHost>(host_.get()) == details)
DestroyPopup();
break;
case content::NOTIFICATION_DEVTOOLS_WINDOW_OPENING:
« no previous file with comments | « chrome/browser/ui/gtk/extensions/extension_popup_gtk.h ('k') | chrome/browser/ui/gtk/extensions/extension_view_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698