Chromium Code Reviews| Index: chrome/browser/ui/views/omnibox/omnibox_view_views.cc |
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc |
| index 139b5d9abac1dac9e056b0eecdb89153177ccea1..d8000ec8be46cfba04a915e9baebf28f4f192def 100644 |
| --- a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc |
| +++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc |
| @@ -71,12 +71,6 @@ class AutocompleteTextfield : public views::Textfield { |
| return omnibox_view_->HandleKeyReleaseEvent(event); |
| } |
| - virtual bool IsFocusable() const OVERRIDE { |
| - // Bypass Textfield::IsFocusable. The omnibox in popup window requires |
| - // focus in order for text selection to work. |
| - return views::View::IsFocusable(); |
|
Ben Goodger (Google)
2011/12/15 21:21:41
Is this comment no longer valid?
|
| - } |
| - |
| virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE { |
| return omnibox_view_->HandleMousePressEvent(event); |
| } |