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

Unified Diff: chrome/browser/ui/views/extensions/extension_popup.cc

Issue 10824030: Move ExtensionHost into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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/views/extensions/extension_popup.cc
diff --git a/chrome/browser/ui/views/extensions/extension_popup.cc b/chrome/browser/ui/views/extensions/extension_popup.cc
index ec3fc71034036b72c5c012cfa91e74177fa732ce..68d6925c9a29c58d509adb315e6423205510cdd5 100644
--- a/chrome/browser/ui/views/extensions/extension_popup.cc
+++ b/chrome/browser/ui/views/extensions/extension_popup.cc
@@ -62,7 +62,7 @@ const int ExtensionPopup::kMaxHeight = 600;
ExtensionPopup::ExtensionPopup(
Browser* browser,
- ExtensionHost* host,
+ extensions::ExtensionHost* host,
views::View* anchor_view,
views::BubbleBorder::ArrowLocation arrow_location)
: BubbleDelegateView(anchor_view, arrow_location),
@@ -114,7 +114,7 @@ void ExtensionPopup::Observe(int type,
break;
case chrome::NOTIFICATION_EXTENSION_HOST_VIEW_SHOULD_CLOSE:
// If we aren't the host of the popup, then disregard the notification.
- if (content::Details<ExtensionHost>(host()) == details)
+ if (content::Details<extensions::ExtensionHost>(host()) == details)
GetWidget()->Close();
break;
case content::NOTIFICATION_DEVTOOLS_WINDOW_CLOSING:
@@ -178,7 +178,7 @@ ExtensionPopup* ExtensionPopup::ShowPopup(
views::BubbleBorder::ArrowLocation arrow_location) {
ExtensionProcessManager* manager =
browser->profile()->GetExtensionProcessManager();
- ExtensionHost* host = manager->CreatePopupHost(url, browser);
+ extensions::ExtensionHost* host = manager->CreatePopupHost(url, browser);
ExtensionPopup* popup = new ExtensionPopup(browser, host, anchor_view,
arrow_location);
views::BubbleDelegateView::CreateBubble(popup);

Powered by Google App Engine
This is Rietveld 408576698