#include "third_party/blink/renderer/core/html/custom/custom_element.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/qualified_name.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/html/custom/ce_reactions_scope.h"
#include "third_party/blink/renderer/core/html/custom/custom_element_definition.h"
#include "third_party/blink/renderer/core/html/custom/custom_element_reaction_factory.h"
#include "third_party/blink/renderer/core/html/custom/custom_element_reaction_stack.h"
#include "third_party/blink/renderer/core/html/custom/custom_element_registry.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/html/html_unknown_element.h"
#include "third_party/blink/renderer/core/html_element_factory.h"
#include "third_party/blink/renderer/core/html_element_type_helpers.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string_hash.h"
namespace blink {
CustomElementRegistry* CustomElement::Registry(const Element& element) { … }
CustomElementRegistry* CustomElement::Registry(const TreeScope& tree_scope) { … }
static CustomElementDefinition* DefinitionForElementWithoutCheck(
const Element& element) { … }
CustomElementDefinition* CustomElement::DefinitionForElement(
const Element* element) { … }
Vector<AtomicString>& CustomElement::EmbedderCustomElementNames() { … }
void CustomElement::AddEmbedderCustomElementName(const AtomicString& name) { … }
void CustomElement::AddEmbedderCustomElementNameForTesting(
const AtomicString& name,
ExceptionState& exception_state) { … }
bool CustomElement::IsHyphenatedSpecElementName(const AtomicString& name) { … }
bool CustomElement::ShouldCreateCustomElement(const AtomicString& name) { … }
bool CustomElement::ShouldCreateCustomElement(const QualifiedName& tag_name) { … }
bool CustomElement::ShouldCreateCustomizedBuiltinElement(
const AtomicString& local_name,
const Document& document) { … }
bool CustomElement::ShouldCreateCustomizedBuiltinElement(
const QualifiedName& tag_name,
const Document& document) { … }
static CustomElementDefinition* DefinitionFor(
const TreeScope& tree_scope,
const CustomElementDescriptor desc) { … }
HTMLElement* CustomElement::CreateCustomElement(TreeScope& tree_scope,
const QualifiedName& tag_name,
CreateElementFlags flags) { … }
template <CustomElement::CreateUUCheckLevel level>
Element* CustomElement::CreateUncustomizedOrUndefinedElementTemplate(
Document& document,
const QualifiedName& tag_name,
const CreateElementFlags flags,
const AtomicString& is_value) { … }
Element* CustomElement::CreateUncustomizedOrUndefinedElement(
Document& document,
const QualifiedName& tag_name,
const CreateElementFlags flags,
const AtomicString& is_value) { … }
HTMLElement* CustomElement::CreateFailedElement(Document& document,
const QualifiedName& tag_name) { … }
void CustomElement::Enqueue(Element& element, CustomElementReaction& reaction) { … }
void CustomElement::EnqueueConnectedCallback(Element& element) { … }
void CustomElement::EnqueueDisconnectedCallback(Element& element) { … }
void CustomElement::EnqueueAdoptedCallback(Element& element,
Document& old_owner,
Document& new_owner) { … }
void CustomElement::EnqueueAttributeChangedCallback(
Element& element,
const QualifiedName& name,
const AtomicString& old_value,
const AtomicString& new_value) { … }
void CustomElement::EnqueueFormAssociatedCallback(
Element& element,
HTMLFormElement* nullable_form) { … }
void CustomElement::EnqueueFormResetCallback(Element& element) { … }
void CustomElement::EnqueueFormDisabledCallback(Element& element,
bool is_disabled) { … }
void CustomElement::EnqueueFormStateRestoreCallback(Element& element,
const V8ControlValue* value,
const String& mode) { … }
void CustomElement::TryToUpgrade(Element& element) { … }
}