Chromium Code Reviews| Index: chrome/browser/tab_contents/infobar.cc |
| diff --git a/chrome/browser/tab_contents/infobar.cc b/chrome/browser/tab_contents/infobar.cc |
| index 0a55bc5bcca745b3c51f1d5ccb69fc5dbb976d93..322e61adf88c4f93a5345b126ee179f50c0c1f1f 100644 |
| --- a/chrome/browser/tab_contents/infobar.cc |
| +++ b/chrome/browser/tab_contents/infobar.cc |
| @@ -34,6 +34,10 @@ SkColor GetInfoBarBottomColor(InfoBarDelegate::Type infobar_type) { |
| kWarningBackgroundColorBottom : kPageActionBackgroundColorBottom; |
| } |
| +int GetInfoBarIconSizePixels() { |
|
Peter Kasting
2011/06/08 20:33:43
Why are you using a function instead of a constant
sail
2011/06/08 20:35:13
does this look ok?
extern const int kInfoBarIco
|
| + return 32; |
| +} |
| + |
| #if defined(TOOLKIT_VIEWS) // TODO(pkasting): Port non-views to use this. |
| InfoBar::InfoBar(TabContentsWrapper* owner, InfoBarDelegate* delegate) |