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

Side by Side Diff: chrome/browser/autofill/autofill_cc_infobar_delegate.h

Issue 6598057: Split infobar_delegate.[cc,h] into separate pieces for the different classes defined within, so that (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix wrong include Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "chrome/browser/tab_contents/infobar_delegate.h" 10 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
11 11
12 class AutoFillManager; 12 class AutoFillManager;
13 13
14 // An InfoBar delegate that enables the user to allow or deny storing credit 14 // An InfoBar delegate that enables the user to allow or deny storing credit
15 // card information gathered from a form submission. 15 // card information gathered from a form submission.
16 class AutoFillCCInfoBarDelegate : public ConfirmInfoBarDelegate { 16 class AutoFillCCInfoBarDelegate : public ConfirmInfoBarDelegate {
17 public: 17 public:
18 AutoFillCCInfoBarDelegate(TabContents* tab_contents, AutoFillManager* host); 18 AutoFillCCInfoBarDelegate(TabContents* tab_contents, AutoFillManager* host);
19 19
20 private: 20 private:
(...skipping 12 matching lines...) Expand all
33 virtual string16 GetLinkText(); 33 virtual string16 GetLinkText();
34 virtual bool LinkClicked(WindowOpenDisposition disposition); 34 virtual bool LinkClicked(WindowOpenDisposition disposition);
35 35
36 // The AutoFillManager that initiated this InfoBar. 36 // The AutoFillManager that initiated this InfoBar.
37 AutoFillManager* host_; 37 AutoFillManager* host_;
38 38
39 DISALLOW_COPY_AND_ASSIGN(AutoFillCCInfoBarDelegate); 39 DISALLOW_COPY_AND_ASSIGN(AutoFillCCInfoBarDelegate);
40 }; 40 };
41 41
42 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_ 42 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/alternate_nav_url_fetcher.h ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698