| Index: ui/views/controls/textfield/textfield.cc
|
| diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
|
| index e6d8012fcf490fad838bc0c52b9b7ef96cb7cb7a..f0e4fb22c1555990a5551167fb1312c1cb940328 100644
|
| --- a/ui/views/controls/textfield/textfield.cc
|
| +++ b/ui/views/controls/textfield/textfield.cc
|
| @@ -558,6 +558,10 @@ const char* Textfield::GetClassName() const {
|
| return kViewClassName;
|
| }
|
|
|
| +gfx::RenderText* Textfield::GetRenderText() const {
|
| + return model_->render_text();
|
| +}
|
| +
|
| gfx::NativeCursor Textfield::GetCursor(const ui::MouseEvent& event) {
|
| bool in_selection = GetRenderText()->IsPointInSelection(event.location());
|
| bool drag_event = event.type() == ui::ET_MOUSE_DRAGGED;
|
| @@ -1559,10 +1563,6 @@ void Textfield::DoInsertChar(base::char16 ch) {
|
| OnAfterUserAction();
|
| }
|
|
|
| -gfx::RenderText* Textfield::GetRenderText() const {
|
| - return model_->render_text();
|
| -}
|
| -
|
| base::string16 Textfield::GetSelectionClipboardText() const {
|
| base::string16 selection_clipboard_text;
|
| ui::Clipboard::GetForCurrentThread()->ReadText(
|
|
|