Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/api/infobars/one_click_signin_infobar_delegate.h" | |
| 6 | |
| 7 const SkColor OneClickSigninInfoBarDelegate::kDefaultColor = | |
| 8 SkColorSetARGB(0, 0, 0, 0); | |
|
Peter Kasting
2012/09/11 23:02:07
Nit: Unless you need a fully-transparent value, ju
Roger Tawa OOO till Jul 10th
2012/09/12 15:07:14
Removed default colour.
| |
| 9 | |
| 10 OneClickSigninInfoBarDelegate::OneClickSigninInfoBarDelegate( | |
| 11 InfoBarService* infobar_service) | |
| 12 : ConfirmInfoBarDelegate(infobar_service) { | |
|
Peter Kasting
2012/09/11 23:02:07
Nit: Indent 4
Roger Tawa OOO till Jul 10th
2012/09/12 15:07:14
Done.
| |
| 13 } | |
| 14 | |
| 15 OneClickSigninInfoBarDelegate::~OneClickSigninInfoBarDelegate() { | |
| 16 } | |
| 17 | |
| 18 void OneClickSigninInfoBarDelegate::GetAlternateColors( | |
| 19 AlternateColors* alt_colors) { | |
| 20 alt_colors->infobar_bottom_color = kDefaultColor; | |
| 21 alt_colors->infobar_top_color = kDefaultColor; | |
| 22 alt_colors->button_text_color = kDefaultColor; | |
| 23 alt_colors->button_background_color = kDefaultColor; | |
| 24 alt_colors->button_border_color = kDefaultColor; | |
| 25 } | |
| OLD | NEW |