#include "third_party/blink/renderer/core/html/forms/html_form_control_element_with_state.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/html/forms/html_form_element.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/core/input_type_names.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
namespace blink {
FormControlType;
namespace {
enum class AutoCompleteCategory { … };
AutoCompleteCategory GetAutoCompleteCategory(const AtomicString& token) { … }
wtf_size_t GetMaxTokensForCategory(AutoCompleteCategory category) { … }
}
HTMLFormControlElementWithState::HTMLFormControlElementWithState(
const QualifiedName& tag_name,
Document& doc)
: … { … }
HTMLFormControlElementWithState::~HTMLFormControlElementWithState() = default;
bool HTMLFormControlElementWithState::ShouldAutocomplete() const { … }
bool HTMLFormControlElementWithState::IsWearingAutofillAnchorMantle() const { … }
String HTMLFormControlElementWithState::IDLExposedAutofillValue() const { … }
void HTMLFormControlElementWithState::setIDLExposedAutofillValue(
const String& autocomplete_value) { … }
bool HTMLFormControlElementWithState::ClassSupportsStateRestore() const { … }
bool HTMLFormControlElementWithState::ShouldSaveAndRestoreFormControlState()
const { … }
void HTMLFormControlElementWithState::DispatchInputEvent() { … }
void HTMLFormControlElementWithState::DispatchChangeEvent() { … }
void HTMLFormControlElementWithState::DispatchCancelEvent() { … }
void HTMLFormControlElementWithState::FinishParsingChildren() { … }
bool HTMLFormControlElementWithState::IsFormControlElementWithState() const { … }
void HTMLFormControlElementWithState::ResetImpl() { … }
int HTMLFormControlElementWithState::DefaultTabIndex() const { … }
void HTMLFormControlElementWithState::SetUserHasEditedTheField() { … }
void HTMLFormControlElementWithState::SetUserHasEditedTheFieldAndBlurred() { … }
void HTMLFormControlElementWithState::ForceUserValid() { … }
bool HTMLFormControlElementWithState::MatchesUserInvalidPseudo() { … }
bool HTMLFormControlElementWithState::MatchesUserValidPseudo() { … }
}