Chromium Code Reviews| Index: views/controls/textfield/native_textfield_views.cc |
| diff --git a/views/controls/textfield/native_textfield_views.cc b/views/controls/textfield/native_textfield_views.cc |
| index 07725fffba6e7513e1f4288c3917505fb99ddf15..7f097bccb87753d5e758ba5ee5a8699bff58f75d 100644 |
| --- a/views/controls/textfield/native_textfield_views.cc |
| +++ b/views/controls/textfield/native_textfield_views.cc |
| @@ -94,6 +94,10 @@ NativeTextfieldViews::~NativeTextfieldViews() { |
| // NativeTextfieldViews, View overrides: |
| bool NativeTextfieldViews::OnMousePressed(const MouseEvent& event) { |
| + if (textfield_->OnMousePressed(event)) { |
|
msw
2011/11/11 01:28:58
Please add a comment here like "Allow the textfiel
jennyz
2011/11/12 01:50:17
Done.
|
| + return true; |
| + } |
|
oshima
2011/11/11 01:52:32
This should be after OnBeforeUserAction() and has
jennyz
2011/11/12 01:50:17
Done.
|
| + |
| OnBeforeUserAction(); |
| textfield_->RequestFocus(); |