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

Unified Diff: chrome/browser/infobars/content_confirm_infobar_delegate.h

Issue 190063006: Infobar Componentization Proof of Concept (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor fixes Created 6 years, 9 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/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_

Powered by Google App Engine
This is Rietveld 408576698