| Index: ui/views/controls/textfield/textfield.cc
|
| diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
|
| index 74d18b70564e2ea7e60de96e11fb9c83c41cfb45..a1344b0dc8ba09c89ea80e5553318ffee1936aab 100644
|
| --- a/ui/views/controls/textfield/textfield.cc
|
| +++ b/ui/views/controls/textfield/textfield.cc
|
| @@ -293,7 +293,10 @@ Textfield::Textfield()
|
| set_drag_controller(this);
|
| GetRenderText()->SetFontList(GetDefaultFontList());
|
| SetBorder(scoped_ptr<Border>(new FocusableBorder()));
|
| - SetFocusable(true);
|
| +
|
| + // On Mac, only textfields and lists are focusable by default. Hence use
|
| + // ALWAYS instead of CONTROL focus behavior.
|
| + SetFocusBehavior(ALWAYS);
|
|
|
| if (ViewsDelegate::GetInstance()) {
|
| password_reveal_duration_ =
|
|
|