diff options
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_views.cc')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_views.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_views.cc b/chrome/browser/autocomplete/autocomplete_edit_view_views.cc index 184aa9d..922908a 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_views.cc +++ b/chrome/browser/autocomplete/autocomplete_edit_view_views.cc @@ -53,13 +53,14 @@ class AutocompleteTextfield : public views::Textfield { autocomplete_edit_view_->HandleFocusOut(); } - virtual bool OnKeyPressed(const views::KeyEvent& e) OVERRIDE { - bool handled = views::Textfield::OnKeyPressed(e); - return autocomplete_edit_view_->HandleAfterKeyEvent(e, handled) || handled; + virtual bool OnKeyPressed(const views::KeyEvent& event) OVERRIDE { + bool handled = views::Textfield::OnKeyPressed(event); + return autocomplete_edit_view_->HandleAfterKeyEvent(event, handled) || + handled; } - virtual bool OnKeyReleased(const views::KeyEvent& e) OVERRIDE { - return autocomplete_edit_view_->HandleKeyReleaseEvent(e); + virtual bool OnKeyReleased(const views::KeyEvent& event) OVERRIDE { + return autocomplete_edit_view_->HandleKeyReleaseEvent(event); } virtual bool IsFocusable() const OVERRIDE { |