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

Side by Side Diff: components/infobars/core/confirm_infobar_delegate.h

Issue 289083004: infobars: Componentize ConfirmInfoBarDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « components/infobars/DEPS ('k') | components/infobars/core/confirm_infobar_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_INFOBARS_CONFIRM_INFOBAR_DELEGATE_H_ 5 #ifndef COMPONENTS_INFOBARS_CORE_CONFIRM_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_INFOBARS_CONFIRM_INFOBAR_DELEGATE_H_ 6 #define COMPONENTS_INFOBARS_CORE_CONFIRM_INFOBAR_DELEGATE_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "components/infobars/core/infobar_delegate.h" 10 #include "components/infobars/core/infobar_delegate.h"
11 11
12 namespace infobars { 12 namespace infobars {
13 class InfoBar; 13 class InfoBar;
14 } 14 }
15 15
16 // An interface derived from InfoBarDelegate implemented by objects wishing to 16 // An interface derived from InfoBarDelegate implemented by objects wishing to
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 private: 76 private:
77 // InfoBarDelegate: 77 // InfoBarDelegate:
78 virtual bool EqualsDelegate( 78 virtual bool EqualsDelegate(
79 infobars::InfoBarDelegate* delegate) const OVERRIDE; 79 infobars::InfoBarDelegate* delegate) const OVERRIDE;
80 virtual ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate() OVERRIDE; 80 virtual ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate() OVERRIDE;
81 81
82 DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBarDelegate); 82 DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBarDelegate);
83 }; 83 };
84 84
85 #endif // CHROME_BROWSER_INFOBARS_CONFIRM_INFOBAR_DELEGATE_H_ 85 #endif // COMPONENTS_INFOBARS_CORE_CONFIRM_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/infobars/DEPS ('k') | components/infobars/core/confirm_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698