| Index: chrome/browser/ui/views/extensions/extension_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/extensions/extension_view.cc (revision 97453)
|
| +++ chrome/browser/ui/views/extensions/extension_view.cc (working copy)
|
| @@ -172,8 +172,11 @@
|
|
|
| bool ExtensionView::SkipDefaultKeyEventProcessing(const views::KeyEvent& e) {
|
| // Let the tab key event be processed by the renderer (instead of moving the
|
| - // focus to the next focusable view).
|
| - return (e.key_code() == ui::VKEY_TAB);
|
| + // focus to the next focusable view). Also handle Backspace, since otherwise
|
| + // (on Windows at least), pressing Backspace, when focus is on a text field
|
| + // within the ExtensionView, will navigate the page back instead of erasing a
|
| + // character.
|
| + return (e.key_code() == ui::VKEY_TAB || e.key_code() == ui::VKEY_BACK);
|
| }
|
|
|
| void ExtensionView::OnBoundsChanged(const gfx::Rect& previous_bounds) {
|
|
|