#include "third_party/blink/renderer/core/html/forms/html_options_collection.h"
#include "third_party/blink/renderer/core/html/forms/html_data_list_element.h"
#include "third_party/blink/renderer/core/html/forms/html_option_element.h"
#include "third_party/blink/renderer/core/html/forms/html_select_element.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
namespace blink {
HTMLOptionsCollection::HTMLOptionsCollection(ContainerNode& select)
: … { … }
HTMLOptionsCollection::HTMLOptionsCollection(ContainerNode& select,
CollectionType type)
: … { … }
void HTMLOptionsCollection::SupportedPropertyNames(Vector<String>& names) { … }
void HTMLOptionsCollection::add(
const V8UnionHTMLOptGroupElementOrHTMLOptionElement* element,
const V8UnionHTMLElementOrLong* before,
ExceptionState& exception_state) { … }
void HTMLOptionsCollection::remove(int index) { … }
int HTMLOptionsCollection::selectedIndex() const { … }
void HTMLOptionsCollection::setSelectedIndex(int index) { … }
void HTMLOptionsCollection::setLength(unsigned length,
ExceptionState& exception_state) { … }
IndexedPropertySetterResult HTMLOptionsCollection::AnonymousIndexedSetter(
unsigned index,
HTMLOptionElement* value,
ExceptionState& exception_state) { … }
}