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

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

Issue 230453004: Remove InfoBarDelegate::web_contents() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 b9a337f7401e894867c89bd8db152edfc316a85f..220004d65345e9a40731a332dc151949b91eae8c 100644
--- a/chrome/browser/extensions/extension_infobar_delegate.h
+++ b/chrome/browser/extensions/extension_infobar_delegate.h
@@ -13,6 +13,10 @@
class Browser;
class GURL;
+namespace content {
+class WebContents;
+}
+
namespace extensions {
class Extension;
class ExtensionViewHost;
@@ -41,6 +45,9 @@ class ExtensionInfoBarDelegate : public InfoBarDelegate,
bool closing() const { return closing_; }
+ // Returns the WebContents associates with the ExtensionInfoBarDelegate.
blundell 2014/04/09 12:35:12 associated
+ content::WebContents* GetWebContents();
+
private:
ExtensionInfoBarDelegate(Browser* browser,
const extensions::Extension* extension,

Powered by Google App Engine
This is Rietveld 408576698