Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
=================================================================== |
--- content/browser/renderer_host/render_widget_host_view_aura.cc (revision 180972) |
+++ content/browser/renderer_host/render_widget_host_view_aura.cc (working copy) |
@@ -1750,6 +1750,11 @@ |
// object. |
input_method->SetFocusedTextInputClient(this); |
host_->SetInputMethodActive(input_method->IsActive()); |
+ |
+ // Often the application can set focus to the view in response to a key |
+ // down. However the following char event shouldn't be sent to the web |
+ // page. |
+ host_->SuppressNextCharEvents(); |
} else { |
host_->SetInputMethodActive(false); |
} |