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

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

Issue 3027004: New Blue style for for autofill Info-bar, to be eventually used for all info ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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) 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/tab_contents/infobar_delegate.h" 10 #include "chrome/browser/tab_contents/infobar_delegate.h"
(...skipping 17 matching lines...) Expand all
28 virtual std::wstring GetMessageText() const; 28 virtual std::wstring GetMessageText() const;
29 virtual SkBitmap* GetIcon() const; 29 virtual SkBitmap* GetIcon() const;
30 virtual int GetButtons() const; 30 virtual int GetButtons() const;
31 virtual std::wstring GetButtonLabel( 31 virtual std::wstring GetButtonLabel(
32 ConfirmInfoBarDelegate::InfoBarButton button) const; 32 ConfirmInfoBarDelegate::InfoBarButton button) const;
33 virtual bool Accept(); 33 virtual bool Accept();
34 virtual bool Cancel(); 34 virtual bool Cancel();
35 virtual std::wstring GetLinkText(); 35 virtual std::wstring GetLinkText();
36 virtual bool LinkClicked(WindowOpenDisposition disposition); 36 virtual bool LinkClicked(WindowOpenDisposition disposition);
37 37
38 #if defined(OS_WIN)
39 // Overridden from InfoBarDelegate:
40 virtual InfoBar* CreateInfoBar();
41 #endif // defined(OS_WIN)
42
43 virtual Type GetInfoBarType() {
44 return PAGE_ACTION_TYPE;
45 }
46
38 private: 47 private:
39 // The browser. 48 // The browser.
40 Browser* browser_; 49 Browser* browser_;
41 50
42 // The AutoFillManager that initiated this InfoBar. 51 // The AutoFillManager that initiated this InfoBar.
43 AutoFillManager* host_; 52 AutoFillManager* host_;
44 53
45 DISALLOW_COPY_AND_ASSIGN(AutoFillCCInfoBarDelegate); 54 DISALLOW_COPY_AND_ASSIGN(AutoFillCCInfoBarDelegate);
46 }; 55 };
47 56
48 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_ 57 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698