#include "third_party/blink/renderer/core/html/forms/html_form_controls_collection.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_union_element_radionodelist.h"
#include "third_party/blink/renderer/core/html/forms/html_form_element.h"
#include "third_party/blink/renderer/core/html/html_image_element.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
#include "third_party/blink/renderer/platform/wtf/hash_set.h"
namespace blink {
HTMLFormControlsCollection::HTMLFormControlsCollection(
ContainerNode& owner_node)
: … { … }
HTMLFormControlsCollection::HTMLFormControlsCollection(
ContainerNode& owner_node,
CollectionType type)
: … { … }
HTMLFormControlsCollection::~HTMLFormControlsCollection() = default;
const ListedElement::List& HTMLFormControlsCollection::ListedElements() const { … }
const HeapVector<Member<HTMLImageElement>>&
HTMLFormControlsCollection::FormImageElements() const { … }
static unsigned FindListedElement(const ListedElement::List& listed_elements,
Element* element) { … }
HTMLElement* HTMLFormControlsCollection::VirtualItemAfter(
Element* previous) const { … }
void HTMLFormControlsCollection::InvalidateCache(Document* old_document) const { … }
static HTMLElement* FirstNamedItem(const ListedElement::List& elements_array,
const QualifiedName& attr_name,
const String& name) { … }
HTMLElement* HTMLFormControlsCollection::namedItem(
const AtomicString& name) const { … }
void HTMLFormControlsCollection::UpdateIdNameCache() const { … }
V8UnionElementOrRadioNodeList* HTMLFormControlsCollection::namedGetter(
const AtomicString& name) { … }
void HTMLFormControlsCollection::SupportedPropertyNames(Vector<String>& names) { … }
void HTMLFormControlsCollection::Trace(Visitor* visitor) const { … }
}