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

Unified Diff: ui/app_list/views/signin_view.cc

Issue 14631022: Add support for blue buttons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 | « no previous file | ui/resources/ui_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/signin_view.cc
diff --git a/ui/app_list/views/signin_view.cc b/ui/app_list/views/signin_view.cc
index c5a04b2116bdd2724a3df40a10b5f8707b26b78f..74724e73462c91c468b09fac96efb91a923459ac 100644
--- a/ui/app_list/views/signin_view.cc
+++ b/ui/app_list/views/signin_view.cc
@@ -8,7 +8,7 @@
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/font.h"
#include "ui/views/background.h"
-#include "ui/views/controls/button/label_button.h"
+#include "ui/views/controls/button/blue_button.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/link.h"
#include "ui/views/layout/grid_layout.h"
@@ -82,10 +82,10 @@ SigninView::SigninView(SigninDelegate* delegate, int width)
kHeadingPadding - title_descender);
layout->AddView(text);
- views::LabelButton* signin_button = new views::LabelButton(
+ views::BlueButton* signin_button = new views::BlueButton(
this,
delegate_->GetSigninButtonText());
- signin_button->SetStyle(views::Button::STYLE_NATIVE_TEXTBUTTON);
+ signin_button->SetFont(*button_font_);
layout->StartRowWithPadding(0, kButtonSetId, 0,
kButtonPadding - text_descender);
layout->AddView(signin_button);
« no previous file with comments | « no previous file | ui/resources/ui_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698