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

Unified Diff: chrome/browser/extensions/extension_infobar_delegate.h

Issue 8068020: Converts usage of GetBrowserViewForNativeWindow to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks Created 9 years, 3 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/extensions/extension_infobar_delegate.h
diff --git a/chrome/browser/extensions/extension_infobar_delegate.h b/chrome/browser/extensions/extension_infobar_delegate.h
index 8a86992266149a7cf9c6bb5a050867967a958945..4eb2809643c96836a120f4cc01bc372bef0fcfb1 100644
--- a/chrome/browser/extensions/extension_infobar_delegate.h
+++ b/chrome/browser/extensions/extension_infobar_delegate.h
@@ -44,6 +44,8 @@ class ExtensionInfoBarDelegate : public InfoBarDelegate,
bool closing() const { return closing_; }
+ Browser* browser() { return browser_; }
Peter Kasting 2011/09/29 17:39:20 Nit: Not necessary. The only caller is an Extensi
+
private:
virtual ~ExtensionInfoBarDelegate();
@@ -59,6 +61,8 @@ class ExtensionInfoBarDelegate : public InfoBarDelegate,
const NotificationSource& source,
const NotificationDetails& details) OVERRIDE;
+ Browser* browser_;
+
// The extension host we are showing the InfoBar for. The delegate needs to
// own this since the InfoBar gets deleted and recreated when you switch tabs
// and come back (and we don't want the user's interaction with the InfoBar to

Powered by Google App Engine
This is Rietveld 408576698