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

Side by Side Diff: chrome/browser/ui/views/infobars/one_click_signin_infobar.cc

Issue 14331002: views: Remove SetHighlightColor usages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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) 2012 The Chromium Authors. All rights reserved. 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 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 #include "chrome/browser/ui/views/infobars/one_click_signin_infobar.h" 5 #include "chrome/browser/ui/views/infobars/one_click_signin_infobar.h"
6 6
7 #include "chrome/browser/defaults.h" 7 #include "chrome/browser/defaults.h"
8 #include "chrome/browser/ui/sync/one_click_signin_infobar_delegate.h" 8 #include "chrome/browser/ui/sync/one_click_signin_infobar_delegate.h"
9 #include "chrome/browser/ui/views/infobars/infobar_background.h" 9 #include "chrome/browser/ui/views/infobars/infobar_background.h"
10 #include "third_party/skia/include/core/SkColor.h" 10 #include "third_party/skia/include/core/SkColor.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 one_click_delegate_->GetAlternateColors(&alt_colors); 133 one_click_delegate_->GetAlternateColors(&alt_colors);
134 if (!alt_colors.enabled) 134 if (!alt_colors.enabled)
135 return; 135 return;
136 136
137 set_background(new InfoBarBackground(alt_colors.infobar_top_color, 137 set_background(new InfoBarBackground(alt_colors.infobar_top_color,
138 alt_colors.infobar_bottom_color)); 138 alt_colors.infobar_bottom_color));
139 ok_button()->set_border(new InfoBarColoredButtonBorder( 139 ok_button()->set_border(new InfoBarColoredButtonBorder(
140 alt_colors.button_background_color, 140 alt_colors.button_background_color,
141 alt_colors.button_border_color)); 141 alt_colors.button_border_color));
142 ok_button()->SetEnabledColor(alt_colors.button_text_color); 142 ok_button()->SetEnabledColor(alt_colors.button_text_color);
143 ok_button()->SetHighlightColor(alt_colors.button_text_color);
144 ok_button()->SetHoverColor(alt_colors.button_text_color); 143 ok_button()->SetHoverColor(alt_colors.button_text_color);
145 } 144 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_view.cc ('k') | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698