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

Unified Diff: chrome/browser/ui/gtk/infobars/extension_infobar_gtk.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/gtk/infobars/extension_infobar_gtk.cc
diff --git a/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc b/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc
index 4ad5c218a3ecf79b75c1309a98d5691aeba98517..07ae2a873e118cbf77e03ab853970bd8dfb8e0cf 100644
--- a/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc
+++ b/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc
@@ -109,8 +109,8 @@ void ExtensionInfoBarGtk::BuildWidgets() {
gtk_util::CenterWidgetInHBox(hbox_, button_, false, 0);
// Start loading the image for the menu button.
- const extensions::Extension* extension = delegate_->extension_host()->
- extension();
+ const extensions::Extension* extension =
+ delegate_->extension_host()->extension();
ExtensionResource icon_resource = extension->GetIconResource(
ExtensionIconSet::EXTENSION_ICON_BITTY, ExtensionIconSet::MATCH_EXACTLY);
// Create a tracker to load the image. It will report back on OnImageLoaded.
@@ -124,7 +124,7 @@ void ExtensionInfoBarGtk::BuildWidgets() {
gtk_alignment_set_padding(GTK_ALIGNMENT(alignment_), 0, 1, 0, 0);
gtk_box_pack_start(GTK_BOX(hbox_), alignment_, TRUE, TRUE, 0);
- ExtensionHost* extension_host = delegate_->extension_host();
+ extensions::ExtensionHost* extension_host = delegate_->extension_host();
view_ = extension_host->view();
if (gtk_widget_get_parent(view_->native_view())) {

Powered by Google App Engine
This is Rietveld 408576698