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

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

Issue 3461019: FBTF: Move virtual methods to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Win+chromeos+mac fixes Created 10 years, 2 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/infobar_delegate.h"
(...skipping 21 matching lines...) Expand all
32 virtual bool Accept(); 32 virtual bool Accept();
33 virtual bool Cancel(); 33 virtual bool Cancel();
34 virtual string16 GetLinkText(); 34 virtual string16 GetLinkText();
35 virtual bool LinkClicked(WindowOpenDisposition disposition); 35 virtual bool LinkClicked(WindowOpenDisposition disposition);
36 36
37 #if defined(OS_WIN) 37 #if defined(OS_WIN)
38 // Overridden from InfoBarDelegate: 38 // Overridden from InfoBarDelegate:
39 virtual InfoBar* CreateInfoBar(); 39 virtual InfoBar* CreateInfoBar();
40 #endif // defined(OS_WIN) 40 #endif // defined(OS_WIN)
41 41
42 virtual Type GetInfoBarType() { 42 virtual Type GetInfoBarType();
43 return PAGE_ACTION_TYPE;
44 }
45 43
46 private: 44 private:
47 // The AutoFillManager that initiated this InfoBar. 45 // The AutoFillManager that initiated this InfoBar.
48 AutoFillManager* host_; 46 AutoFillManager* host_;
49 47
50 DISALLOW_COPY_AND_ASSIGN(AutoFillCCInfoBarDelegate); 48 DISALLOW_COPY_AND_ASSIGN(AutoFillCCInfoBarDelegate);
51 }; 49 };
52 50
53 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_ 51 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698