Lines Matching refs:new_text
309 void Textfield::SetText(const base::string16& new_text) {
310 model_->SetText(new_text);
316 void Textfield::AppendText(const base::string16& new_text) {
317 if (new_text.empty())
319 model_->Append(new_text);
324 void Textfield::InsertOrReplaceText(const base::string16& new_text) {
325 if (new_text.empty())
327 model_->InsertText(new_text);
880 base::string16 new_text;
881 event.data().GetString(&new_text);
890 model_->DeleteSelectionAndInsertTextAt(new_text, pos);
894 model_->InsertText(new_text);
1344 void Textfield::InsertText(const base::string16& new_text) {
1346 if (GetTextInputType() == ui::TEXT_INPUT_TYPE_NONE || new_text.empty())
1352 model_->InsertText(new_text);
1354 model_->ReplaceText(new_text);