chromium/third_party/blink/renderer/core/dom/element_rare_data_vector.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/dom/element_rare_data_vector.h"

#include "third_party/blink/renderer/core/animation/element_animations.h"
#include "third_party/blink/renderer/core/aom/accessible_node.h"
#include "third_party/blink/renderer/core/css/container_query_data.h"
#include "third_party/blink/renderer/core/css/cssom/inline_style_property_map.h"
#include "third_party/blink/renderer/core/css/inline_css_style_declaration.h"
#include "third_party/blink/renderer/core/css/out_of_flow_data.h"
#include "third_party/blink/renderer/core/css/style_scope_data.h"
#include "third_party/blink/renderer/core/display_lock/display_lock_context.h"
#include "third_party/blink/renderer/core/dom/attr.h"
#include "third_party/blink/renderer/core/dom/dataset_dom_string_map.h"
#include "third_party/blink/renderer/core/dom/dom_token_list.h"
#include "third_party/blink/renderer/core/dom/has_invalidation_flags.h"
#include "third_party/blink/renderer/core/dom/named_node_map.h"
#include "third_party/blink/renderer/core/dom/names_map.h"
#include "third_party/blink/renderer/core/dom/node_rare_data.h"
#include "third_party/blink/renderer/core/dom/popover_data.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/dom/space_split_string.h"
#include "third_party/blink/renderer/core/editing/ime/edit_context.h"
#include "third_party/blink/renderer/core/html/anchor_element_observer.h"
#include "third_party/blink/renderer/core/html/custom/custom_element_definition.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/intersection_observer/element_intersection_observer_data.h"
#include "third_party/blink/renderer/core/layout/anchor_position_scroll_data.h"
#include "third_party/blink/renderer/core/resize_observer/resize_observation.h"
#include "third_party/blink/renderer/core/resize_observer/resize_observer.h"
#include "third_party/blink/renderer/platform/heap/collection_support/heap_hash_map.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"

namespace blink {

ElementRareDataVector::ElementRareDataVector() = default;

ElementRareDataVector::~ElementRareDataVector() {}

ElementRareDataField* ElementRareDataVector::GetField(FieldId field_id) const {}

void ElementRareDataVector::SetField(FieldId field_id,
                                     ElementRareDataField* field) {}

bool ElementRareDataVector::HasPseudoElements() const {}
void ElementRareDataVector::ClearPseudoElements() {}
void ElementRareDataVector::SetPseudoElement(
    PseudoId pseudo_id,
    PseudoElement* element,
    const AtomicString& document_transition_tag) {}
PseudoElement* ElementRareDataVector::GetPseudoElement(
    PseudoId pseudo_id,
    const AtomicString& document_transition_tag) const {}
PseudoElementData::PseudoElementVector
ElementRareDataVector::GetPseudoElements() const {}

CSSStyleDeclaration& ElementRareDataVector::EnsureInlineCSSStyleDeclaration(
    Element* owner_element) {}

ShadowRoot* ElementRareDataVector::GetShadowRoot() const {}
void ElementRareDataVector::SetShadowRoot(ShadowRoot& shadow_root) {}

NamedNodeMap* ElementRareDataVector::AttributeMap() const {}
void ElementRareDataVector::SetAttributeMap(NamedNodeMap* attribute_map) {}

DOMTokenList* ElementRareDataVector::GetClassList() const {}
void ElementRareDataVector::SetClassList(DOMTokenList* class_list) {}

DatasetDOMStringMap* ElementRareDataVector::Dataset() const {}
void ElementRareDataVector::SetDataset(DatasetDOMStringMap* dataset) {}

ScrollOffset ElementRareDataVector::SavedLayerScrollOffset() const {}
void ElementRareDataVector::SetSavedLayerScrollOffset(ScrollOffset offset) {}

ElementAnimations* ElementRareDataVector::GetElementAnimations() {}
void ElementRareDataVector::SetElementAnimations(
    ElementAnimations* element_animations) {}

AttrNodeList& ElementRareDataVector::EnsureAttrNodeList() {}
AttrNodeList* ElementRareDataVector::GetAttrNodeList() {}
void ElementRareDataVector::RemoveAttrNodeList() {}
void ElementRareDataVector::AddAttr(Attr* attr) {}

ElementIntersectionObserverData*
ElementRareDataVector::IntersectionObserverData() const {}
ElementIntersectionObserverData&
ElementRareDataVector::EnsureIntersectionObserverData() {}

ContainerQueryEvaluator* ElementRareDataVector::GetContainerQueryEvaluator()
    const {}
void ElementRareDataVector::SetContainerQueryEvaluator(
    ContainerQueryEvaluator* evaluator) {}

const AtomicString& ElementRareDataVector::GetNonce() const {}
void ElementRareDataVector::SetNonce(const AtomicString& nonce) {}

const AtomicString& ElementRareDataVector::IsValue() const {}
void ElementRareDataVector::SetIsValue(const AtomicString& is_value) {}

EditContext* ElementRareDataVector::GetEditContext() const {}
void ElementRareDataVector::SetEditContext(EditContext* edit_context) {}

void ElementRareDataVector::SetPart(DOMTokenList* part) {}
DOMTokenList* ElementRareDataVector::GetPart() const {}

void ElementRareDataVector::SetPartNamesMap(const AtomicString part_names) {}
const NamesMap* ElementRareDataVector::PartNamesMap() const {}

InlineStylePropertyMap& ElementRareDataVector::EnsureInlineStylePropertyMap(
    Element* owner_element) {}
InlineStylePropertyMap* ElementRareDataVector::GetInlineStylePropertyMap() {}

const ElementInternals* ElementRareDataVector::GetElementInternals() const {}
ElementInternals& ElementRareDataVector::EnsureElementInternals(
    HTMLElement& target) {}

AccessibleNode* ElementRareDataVector::GetAccessibleNode() const {}
AccessibleNode* ElementRareDataVector::EnsureAccessibleNode(
    Element* owner_element) {}
void ElementRareDataVector::ClearAccessibleNode() {}

DisplayLockContext* ElementRareDataVector::EnsureDisplayLockContext(
    Element* element) {}
DisplayLockContext* ElementRareDataVector::GetDisplayLockContext() const {}

ContainerQueryData& ElementRareDataVector::EnsureContainerQueryData() {}
ContainerQueryData* ElementRareDataVector::GetContainerQueryData() const {}
void ElementRareDataVector::ClearContainerQueryData() {}

StyleScopeData& ElementRareDataVector::EnsureStyleScopeData() {}
StyleScopeData* ElementRareDataVector::GetStyleScopeData() const {}

OutOfFlowData& ElementRareDataVector::EnsureOutOfFlowData() {}

OutOfFlowData* ElementRareDataVector::GetOutOfFlowData() const {}

void ElementRareDataVector::ClearOutOfFlowData() {}

const RegionCaptureCropId* ElementRareDataVector::GetRegionCaptureCropId()
    const {}
void ElementRareDataVector::SetRegionCaptureCropId(
    std::unique_ptr<RegionCaptureCropId> crop_id) {}

const RestrictionTargetId* ElementRareDataVector::GetRestrictionTargetId()
    const {}
void ElementRareDataVector::SetRestrictionTargetId(
    std::unique_ptr<RestrictionTargetId> id) {}

ElementRareDataVector::ResizeObserverDataMap*
ElementRareDataVector::ResizeObserverData() const {}
ElementRareDataVector::ResizeObserverDataMap&
ElementRareDataVector::EnsureResizeObserverData() {}

void ElementRareDataVector::SetCustomElementDefinition(
    CustomElementDefinition* definition) {}
CustomElementDefinition* ElementRareDataVector::GetCustomElementDefinition()
    const {}

void ElementRareDataVector::SetLastRememberedBlockSize(
    std::optional<LayoutUnit> size) {}
void ElementRareDataVector::SetLastRememberedInlineSize(
    std::optional<LayoutUnit> size) {}

std::optional<LayoutUnit> ElementRareDataVector::LastRememberedBlockSize()
    const {}
std::optional<LayoutUnit> ElementRareDataVector::LastRememberedInlineSize()
    const {}

PopoverData* ElementRareDataVector::GetPopoverData() const {}
PopoverData& ElementRareDataVector::EnsurePopoverData() {}
void ElementRareDataVector::RemovePopoverData() {}

AnchorPositionScrollData* ElementRareDataVector::GetAnchorPositionScrollData()
    const {}
void ElementRareDataVector::RemoveAnchorPositionScrollData() {}
AnchorPositionScrollData& ElementRareDataVector::EnsureAnchorPositionScrollData(
    Element* anchored_element) {}

AnchorElementObserver& ElementRareDataVector::EnsureAnchorElementObserver(
    Element* new_source_element) {}

AnchorElementObserver* ElementRareDataVector::GetAnchorElementObserver() const {}

void ElementRareDataVector::IncrementImplicitlyAnchoredElementCount() {}
void ElementRareDataVector::DecrementImplicitlyAnchoredElementCount() {}
bool ElementRareDataVector::HasImplicitlyAnchoredElement() const {}

void ElementRareDataVector::Trace(blink::Visitor* visitor) const {}

}  // namespace blink