Lines Matching refs:username

75   // First field is the username, skip it if not present.
309 blink::WebInputElement username = element; // We need a non-const.
313 FillUserNameAndPassword(&username,
361 // If wait_for_username is true we will fill when the username loses focus.
410 const blink::WebString& username,
422 username_element.setValue(username, true);
424 username_element.setSelectionRange(username.length(), username.length());
434 const blink::WebString& username,
447 username_element.setSuggestedValue(username);
814 // Check whether the password form has a username input field.
831 // until the user types in a valid username.
956 // If we can't modify the password, don't try to set the username
960 // Try to set the username to the preferred name, but only if the field
969 // Fill if we have an exact match for the username. Note that this sets
970 // username to autofilled.
984 // Don't fill username if password can't be set.
993 // username and password will contain the match found if any.
994 base::string16 username;
1001 username = fill_data.basic_data.fields[0].value;
1011 username = iter->first;
1018 if (username.empty() && password.empty()) {
1027 username = iter->second[i];
1032 if (!username.empty() && !password.empty())
1040 // TODO(tkent): Check maxlength and pattern for both username and password
1043 // Input matches the username, fill in required values.
1046 username_element->setValue(username, true);
1051 username.length());
1053 } else if (current_username != username) {
1054 // If the username can't be filled and it doesn't match a saved password
1075 // We need non-const versions of the username and password inputs.
1076 blink::WebInputElement username = username_input;
1081 if (username.selectionStart() != username.selectionEnd() ||
1082 username.selectionEnd() != static_cast<int>(username.value().length())) {
1087 ShowSuggestionPopup(fill_data, username, false);
1092 FillUserNameAndPassword(&username,
1103 // There may not be a username field, so get the frame from the password
1143 blink::WebInputElement* username,
1145 if (!username->suggestedValue().isEmpty()) {
1146 username->setSuggestedValue(blink::WebString());
1147 username->setAutofilled(was_username_autofilled_);
1148 username->setSelectionRange(username_selection_start_,
1149 username->value().length());