Chromium Code Reviews| Index: chrome/browser/api/infobars/one_click_signin_infobar_delegate.cc |
| diff --git a/chrome/browser/api/infobars/one_click_signin_infobar_delegate.cc b/chrome/browser/api/infobars/one_click_signin_infobar_delegate.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6a3c1705d6eaf9c886b22e9cc23a8ffa02c7a5a1 |
| --- /dev/null |
| +++ b/chrome/browser/api/infobars/one_click_signin_infobar_delegate.cc |
| @@ -0,0 +1,25 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/browser/api/infobars/one_click_signin_infobar_delegate.h" |
| + |
| +const SkColor OneClickSigninInfoBarDelegate::kDefaultColor = |
| + 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.
|
| + |
| +OneClickSigninInfoBarDelegate::OneClickSigninInfoBarDelegate( |
| + InfoBarService* infobar_service) |
| + : 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.
|
| +} |
| + |
| +OneClickSigninInfoBarDelegate::~OneClickSigninInfoBarDelegate() { |
| +} |
| + |
| +void OneClickSigninInfoBarDelegate::GetAlternateColors( |
| + AlternateColors* alt_colors) { |
| + alt_colors->infobar_bottom_color = kDefaultColor; |
| + alt_colors->infobar_top_color = kDefaultColor; |
| + alt_colors->button_text_color = kDefaultColor; |
| + alt_colors->button_background_color = kDefaultColor; |
| + alt_colors->button_border_color = kDefaultColor; |
| +} |