Home | History | Annotate | Download | only in autofill

Lines Matching refs:textfield

59 #include "ui/views/controls/textfield/textfield.h"
197 // Textfield is right aligned.
199 views::View* textfield = child_at(2);
200 if (textfield->visible()) {
201 const int preferred_width = textfield->GetPreferredSize().width();
202 textfield->SetBounds(bounds.width() - preferred_width, bounds.y(),
204 end_x = textfield->bounds().x() - kAroundTextPadding;
1071 // TODO(estade): get the sizing and spacing right on this textfield.
1396 textfield()->GetText();
1649 void AutofillDialogViews::ContentsChanged(views::Textfield* sender,
1661 bool AutofillDialogViews::HandleKeyEvent(views::Textfield* sender,
1668 bool AutofillDialogViews::HandleMouseEvent(views::Textfield* sender,
2050 ExpandingTextfield* textfield = text_mapping->second;
2051 if (textfield->GetText().empty())
2052 textfield->SetText(input.initial_value);
2190 SetValidityForInput(group->suggested_info->textfield(), message.text);
2221 ExpandingTextfield* cvc = group.suggested_info->textfield();
2256 ExpandingTextfield* textfield = TextfieldForType(type);
2261 if (!combobox && !textfield)
2264 DCHECK_NE(!!combobox, !!textfield);
2265 DetailsGroup* group = textfield ? GroupForView(textfield) :
2267 base::string16 text = textfield ?
2268 textfield->GetText() :
2279 // If the field is a textfield and is invalid, check if the text is now valid.
2284 if (textfield && textfield->invalid() && was_edit) {
2286 textfield,
2288 group->section, type, textfield->GetText()));
2292 if (!textfield->invalid())
2351 if (input_view == group->suggested_info->textfield()) {
2374 return group->suggested_info->textfield();
2392 const views::View* textfield) {
2394 textfield->GetAncestorWithClassName(ExpandingTextfield::kViewClassName);
2397 if (expanding == cc_group->suggested_info->textfield())
2464 ExpandingTextfield* textfield = textfield_it->second;
2466 textfield->SetIcon(field_icon_it->second);
2468 textfield->SetTooltipIcon(delegate_->TooltipForField(field_type));
2484 ExpandingTextfield* textfield= text_mapping->second;
2485 textfield->SetEditable(editable);