#include "third_party/blink/renderer/core/html/custom/custom_element_definition.h"
#include "third_party/blink/renderer/core/dom/attr.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/html/custom/custom_element.h"
#include "third_party/blink/renderer/core/html/custom/custom_element_construction_stack.h"
#include "third_party/blink/renderer/core/html/custom/custom_element_reaction.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/custom/element_internals.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/html_element_factory.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
namespace blink {
CustomElementDefinition::CustomElementDefinition(
CustomElementRegistry& registry,
const CustomElementDescriptor& descriptor)
: … { … }
CustomElementDefinition::CustomElementDefinition(
CustomElementRegistry& registry,
const CustomElementDescriptor& descriptor,
const HashSet<AtomicString>& observed_attributes,
const Vector<String>& disabled_features,
FormAssociationFlag form_association_flag)
: … { … }
CustomElementDefinition::~CustomElementDefinition() = default;
void CustomElementDefinition::Trace(Visitor* visitor) const { … }
static String ErrorMessageForConstructorResult(Element& element,
Document& document,
const QualifiedName& tag_name) { … }
void CustomElementDefinition::CheckConstructorResult(
Element* element,
Document& document,
const QualifiedName& tag_name,
ExceptionState& exception_state) { … }
HTMLElement* CustomElementDefinition::CreateElementForConstructor(
Document& document) { … }
HTMLElement* CustomElementDefinition::CreateElement(
Document& document,
const QualifiedName& tag_name,
CreateElementFlags flags) { … }
void CustomElementDefinition::Upgrade(Element& element) { … }
bool CustomElementDefinition::HasAttributeChangedCallback(
const QualifiedName& name) const { … }
bool CustomElementDefinition::HasStyleAttributeChangedCallback() const { … }
void CustomElementDefinition::EnqueueUpgradeReaction(Element& element) { … }
void CustomElementDefinition::EnqueueConnectedCallback(Element& element) { … }
void CustomElementDefinition::EnqueueDisconnectedCallback(Element& element) { … }
void CustomElementDefinition::EnqueueAdoptedCallback(Element& element,
Document& old_document,
Document& new_document) { … }
void CustomElementDefinition::EnqueueAttributeChangedCallback(
Element& element,
const QualifiedName& name,
const AtomicString& old_value,
const AtomicString& new_value) { … }
void CustomElementDefinition::EnqueueAttributeChangedCallbackForAllAttributes(
Element& element) { … }
}