| Index: views/controls/textfield/native_textfield_views.cc
|
| ===================================================================
|
| --- views/controls/textfield/native_textfield_views.cc (revision 109585)
|
| +++ views/controls/textfield/native_textfield_views.cc (working copy)
|
| @@ -555,7 +555,7 @@
|
| touch_selection_controller_->ClientViewLostFocus();
|
| }
|
|
|
| -ui::TextInputClient* NativeTextfieldViews::GetTextInputClient() {
|
| +TextInputClient* NativeTextfieldViews::GetTextInputClient() {
|
| return textfield_->read_only() ? NULL : this;
|
| }
|
|
|
| @@ -652,7 +652,7 @@
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
| -// NativeTextfieldViews, ui::TextInputClient implementation, private:
|
| +// NativeTextfieldViews, TextInputClient implementation, private:
|
|
|
| void NativeTextfieldViews::SetCompositionText(
|
| const ui::CompositionText& composition) {
|
| @@ -813,6 +813,10 @@
|
| return false;
|
| }
|
|
|
| +View* NativeTextfieldViews::GetOwnerViewOfTextInputClient() {
|
| + return textfield_;
|
| +}
|
| +
|
| void NativeTextfieldViews::OnCompositionTextConfirmedOrCleared() {
|
| if (skip_input_method_cancel_composition_)
|
| return;
|
|
|