chromium/third_party/blink/renderer/core/html/forms/html_form_controls_collection.cc

/*
 * Copyright (C) 1999 Lars Knoll ([email protected])
 *           (C) 1999 Antti Koivisto ([email protected])
 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2010, 2011, 2012 Apple Inc. All
 * rights reserved.
 * Copyright (C) 2014 Samsung Electronics. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 *
 */

#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 {

// Since the collections are to be "live", we have to do the
// calculation every time if anything has changed.

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 {}

}  // namespace blink