| Index: chrome/browser/renderer_host/render_widget_host.cc
|
| ===================================================================
|
| --- chrome/browser/renderer_host/render_widget_host.cc (版本 21941)
|
| +++ chrome/browser/renderer_host/render_widget_host.cc (工作副本)
|
| @@ -731,7 +731,10 @@
|
| key_queue_.pop();
|
|
|
| if (!processed) {
|
| - UnhandledKeyboardEvent(front_item);
|
| + // Send the event back to the |view_| first, to give it a chance to
|
| + // handle it again.
|
| + if (!view_->UnhandledKeyboardEvent(front_item))
|
| + UnhandledKeyboardEvent(front_item);
|
|
|
| // WARNING: This RenderWidgetHost can be deallocated at this point
|
| // (i.e. in the case of Ctrl+W, where the call to
|
|
|