| Index: trunk/src/ui/views/controls/textfield/native_textfield_views.cc
|
| ===================================================================
|
| --- trunk/src/ui/views/controls/textfield/native_textfield_views.cc (revision 220120)
|
| +++ trunk/src/ui/views/controls/textfield/native_textfield_views.cc (working copy)
|
| @@ -680,6 +680,7 @@
|
| GetRenderText()->set_focused(true);
|
| is_cursor_visible_ = true;
|
| SchedulePaint();
|
| + GetInputMethod()->OnFocus();
|
| OnCaretBoundsChanged();
|
| // Start blinking cursor.
|
| base::MessageLoop::current()->PostDelayedTask(
|
| @@ -691,6 +692,7 @@
|
|
|
| void NativeTextfieldViews::HandleBlur() {
|
| GetRenderText()->set_focused(false);
|
| + GetInputMethod()->OnBlur();
|
| // Stop blinking cursor.
|
| cursor_timer_.InvalidateWeakPtrs();
|
| if (is_cursor_visible_) {
|
|
|