Chromium Code Reviews| Index: ash/shell/lock_view.cc |
| diff --git a/ash/shell/lock_view.cc b/ash/shell/lock_view.cc |
| index 8fa39711e455de3dfe0b9d154c50e676c7bb188c..67b5571a5155ed1baf97f68401e0020d1b7f29e1 100644 |
| --- a/ash/shell/lock_view.cc |
| +++ b/ash/shell/lock_view.cc |
| @@ -30,7 +30,7 @@ class LockView : public views::WidgetDelegateView, |
| this, base::ASCIIToUTF16("Unlock"))) { |
| unlock_button_->SetStyle(views::Button::STYLE_BUTTON); |
| AddChildView(unlock_button_); |
| - unlock_button_->SetFocusBehavior(FocusBehavior::ALWAYS); |
| + views::Button::ConfigureDefaultFocus(unlock_button_); |
|
tapted
2016/04/20 06:05:57
It feels inconsistent to flip things around when c
karandeepb
2016/05/03 02:54:12
I used a static method because I thought it was be
tapted
2016/05/03 08:08:25
Ack. Thanks for investigating that! I wonder if it
karandeepb
2016/05/04 01:56:38
Yup I was also a bit surprised by this. But LabelB
|
| } |
| ~LockView() override {} |