| Index: chrome/browser/views/tab_contents_container_view.cc
|
| ===================================================================
|
| --- chrome/browser/views/tab_contents_container_view.cc (revision 9548)
|
| +++ chrome/browser/views/tab_contents_container_view.cc (working copy)
|
| @@ -178,6 +178,10 @@
|
|
|
| bool TabContentsContainerView::ShouldLookupAccelerators(
|
| const views::KeyEvent& e) {
|
| + // Don't look-up accelerators if we are showing a non-crashed WebContents.
|
| + // We'll first give the page a chance to process the key events. If it does
|
| + // not process them, they'll be returned to us and we'll treat them as
|
| + // accelerators then.
|
| if (tab_contents_ && !tab_contents_->is_crashed() &&
|
| tab_contents_->AsWebContents())
|
| return false;
|
|
|