Chromium Code Reviews| 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, |