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

Unified Diff: chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc

Issue 15061006: views: Switch Checkbox over to LabelButton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm dcheck Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_dialog_views.cc ('k') | ui/views/controls/button/button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc
diff --git a/chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc b/chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc
index f90e9b227e360a63d7ecf14bd22755bf9333128d..0e51a45f8fc759e887853d0936ac6c81b2a82b1a 100644
--- a/chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc
+++ b/chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc
@@ -251,8 +251,8 @@ void ChromeToMobileBubbleView::Init() {
if (mobiles->GetDictionary(index, &mobile) &&
mobile->GetString("name", &name)) {
radio = new views::RadioButton(name, 0);
- radio->SetEnabledColor(SK_ColorBLACK);
- radio->SetHoverColor(SK_ColorBLACK);
+ radio->SetTextColor(views::Button::STATE_NORMAL, SK_ColorBLACK);
+ radio->SetTextColor(views::Button::STATE_HOVERED, SK_ColorBLACK);
radio_buttons_.push_back(radio);
layout->StartRow(0, kRadioColumnSetId);
layout->AddView(radio);
@@ -267,8 +267,8 @@ void ChromeToMobileBubbleView::Init() {
l10n_util::GetStringFUTF16(IDS_CHROME_TO_MOBILE_BUBBLE_SEND_COPY,
l10n_util::GetStringUTF16(
IDS_CHROME_TO_MOBILE_BUBBLE_SEND_COPY_GENERATING)));
- send_copy_->SetEnabledColor(SK_ColorBLACK);
- send_copy_->SetHoverColor(SK_ColorBLACK);
+ send_copy_->SetTextColor(views::Button::STATE_NORMAL, SK_ColorBLACK);
+ send_copy_->SetTextColor(views::Button::STATE_HOVERED, SK_ColorBLACK);
send_copy_->SetEnabled(false);
layout->StartRow(0, kSingleColumnSetId);
layout->AddView(send_copy_);
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_dialog_views.cc ('k') | ui/views/controls/button/button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698