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

Side by Side Diff: chrome/browser/api/infobars/one_click_signin_infobar_delegate.cc

Issue 10911169: Setup field trial for one-click signin inforbar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Steve's review comments Created 8 years, 3 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
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698