| Index: chrome/browser/ui/views/profiles/profile_chooser_view.cc
|
| diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
|
| index 8149ce9327810ec7c4cf5b91a1a4d6aa85f0da3e..27a6867eedfe66b4d156bb2a010db9209adb3d7b 100644
|
| --- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
|
| +++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
|
| @@ -76,6 +76,7 @@
|
| #include "ui/views/layout/fill_layout.h"
|
| #include "ui/views/layout/grid_layout.h"
|
| #include "ui/views/layout/layout_constants.h"
|
| +#include "ui/views/style/platform_style.h"
|
| #include "ui/views/widget/widget.h"
|
|
|
| namespace {
|
| @@ -155,7 +156,7 @@ views::ImageButton* CreateBackButton(views::ButtonListener* listener) {
|
| rb->GetImageSkiaNamed(IDR_BACK_P));
|
| back_button->SetImage(views::ImageButton::STATE_DISABLED,
|
| rb->GetImageSkiaNamed(IDR_BACK_D));
|
| - back_button->SetFocusable(true);
|
| + views::PlatformStyle::SetControlStyleFocus(back_button);
|
| return back_button;
|
| }
|
|
|
| @@ -174,7 +175,7 @@ class BackgroundColorHoverButton : public views::LabelButton {
|
| SetMinSize(gfx::Size(0,
|
| kButtonHeight + views::kRelatedControlVerticalSpacing));
|
| SetImage(STATE_NORMAL, icon);
|
| - SetFocusable(true);
|
| + views::PlatformStyle::SetControlStyleFocus(this);
|
| }
|
|
|
| ~BackgroundColorHoverButton() override {}
|
| @@ -1386,7 +1387,7 @@ views::View* ProfileChooserView::CreateCurrentProfileView(
|
| gfx::CreateVectorIcon(gfx::VectorIconId::WARNING, 18,
|
| gfx::kChromeIconGrey));
|
|
|
| - auth_error_email_button_->SetFocusable(true);
|
| + views::PlatformStyle::SetControlStyleFocus(auth_error_email_button_);
|
| gfx::Insets insets =
|
| views::LabelButtonAssetBorder::GetDefaultInsetsForStyle(
|
| views::Button::STYLE_TEXTBUTTON);
|
|
|