| Index: chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h
|
| diff --git a/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h b/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h
|
| index e27b864404d0c9bc44cae5dafb687e0b86477911..789868f394cedea7c6a17dfd7f4d0789d087041b 100644
|
| --- a/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h
|
| +++ b/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h
|
| @@ -9,6 +9,10 @@
|
| #include "chrome/browser/autocomplete/autocomplete_match.h"
|
| #include "chrome/browser/infobars/infobar_delegate.h"
|
|
|
| +namespace content {
|
| +class WebContents;
|
| +}
|
| +
|
| class AlternateNavInfoBarDelegate : public InfoBarDelegate {
|
| public:
|
| virtual ~AlternateNavInfoBarDelegate();
|
| @@ -26,6 +30,7 @@ class AlternateNavInfoBarDelegate : public InfoBarDelegate {
|
|
|
| private:
|
| AlternateNavInfoBarDelegate(Profile* profile,
|
| + content::WebContents* web_contents,
|
| const base::string16& text,
|
| const AutocompleteMatch& match,
|
| const GURL& search_url);
|
| @@ -37,8 +42,10 @@ class AlternateNavInfoBarDelegate : public InfoBarDelegate {
|
| // InfoBarDelegate:
|
| virtual int GetIconID() const OVERRIDE;
|
| virtual Type GetInfoBarType() const OVERRIDE;
|
| + virtual void CleanUp() OVERRIDE;
|
|
|
| Profile* profile_;
|
| + content::WebContents* web_contents_;
|
| const base::string16 text_;
|
| const AutocompleteMatch match_;
|
| const GURL search_url_;
|
|
|