| Index: chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc b/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
|
| index 0be00d1f8ea3db91c0f0e13f453330f90ff39eab..9814ec4a780f688782b88abaac50f6da4019ef5e 100644
|
| --- a/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
|
| @@ -210,6 +210,12 @@ bool AutofillPopupControllerImpl::HandleKeyPressEvent(
|
| case ui::VKEY_DELETE:
|
| return (event.modifiers & content::NativeWebKeyboardEvent::ShiftKey) &&
|
| RemoveSelectedLine();
|
| + case ui::VKEY_TAB:
|
| + // A tab press should cause the highlighted line to be selected, but still
|
| + // return false so the tab key press propagates and changes the cursor
|
| + // location.
|
| + AcceptSelectedLine();
|
| + return false;
|
| case ui::VKEY_RETURN:
|
| return AcceptSelectedLine();
|
| default:
|
|
|