Chromium Code Reviews| Index: chrome/browser/infobars/content_confirm_infobar_delegate.h |
| diff --git a/chrome/browser/infobars/content_confirm_infobar_delegate.h b/chrome/browser/infobars/content_confirm_infobar_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ca0f47ec082e47667f761a4b05eb161d5fff35d6 |
| --- /dev/null |
| +++ b/chrome/browser/infobars/content_confirm_infobar_delegate.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_INFOBARS_CONTENT_CONFIRM_INFOBAR_DELEGATE_H_ |
| +#define CHROME_BROWSER_INFOBARS_CONTENT_CONFIRM_INFOBAR_DELEGATE_H_ |
| + |
| +#include "chrome/browser/infobars/confirm_infobar_delegate.h" |
| + |
| +namespace content { |
| +class WebContents; |
| +} // namespace content |
| + |
| +class ContentConfirmInfoBarDelegate : public ConfirmInfoBarDelegate { |
|
droger
2014/03/18 15:59:53
ContentConfirmInfoBarDelegate is a ConfirmInfoBarD
|
| + public: |
| + virtual ~ContentConfirmInfoBarDelegate(); |
| + |
| + content::WebContents* web_contents() { return web_contents_; } |
| + |
| + protected: |
| + explicit ContentConfirmInfoBarDelegate(content::WebContents* web_contents); |
| + |
| + private: |
| + // InfoBarDelegate: |
| + virtual void CleanUp() OVERRIDE; |
| + |
| + content::WebContents* web_contents_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(ContentConfirmInfoBarDelegate); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_INFOBARS_CONTENT_CONFIRM_INFOBAR_DELEGATE_H_ |