chromium/third_party/blink/renderer/core/css/counter_style_map.cc

// Copyright 2020 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/css/counter_style_map.h"

#include "third_party/blink/renderer/core/css/cascade_layer_map.h"
#include "third_party/blink/renderer/core/css/css_default_style_sheets.h"
#include "third_party/blink/renderer/core/css/resolver/scoped_style_resolver.h"
#include "third_party/blink/renderer/core/css/rule_set.h"
#include "third_party/blink/renderer/core/css/style_engine.h"
#include "third_party/blink/renderer/core/css/style_rule_counter_style.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/platform/instrumentation/tracing/trace_event.h"

namespace blink {

namespace {

bool CounterStyleShouldOverride(Document& document,
                                const TreeScope* tree_scope,
                                const StyleRuleCounterStyle& new_rule,
                                const StyleRuleCounterStyle& existing_rule) {}

}  // namespace

// static
CounterStyleMap* CounterStyleMap::GetUserCounterStyleMap(Document& document) {}

// static
CounterStyleMap* CounterStyleMap::GetAuthorCounterStyleMap(
    const TreeScope& scope) {}

// static
CounterStyleMap* CounterStyleMap::CreateUserCounterStyleMap(
    Document& document) {}

// static
CounterStyleMap* CounterStyleMap::CreateAuthorCounterStyleMap(
    TreeScope& tree_scope) {}

CounterStyleMap::CounterStyleMap(Document* document, TreeScope* tree_scope)
    :{}

void CounterStyleMap::AddCounterStyles(const RuleSet& rule_set) {}

CounterStyleMap* CounterStyleMap::GetAncestorMap() const {}

CounterStyle* CounterStyleMap::FindCounterStyleAcrossScopes(
    const AtomicString& name) const {}

void CounterStyleMap::ResolveExtendsFor(CounterStyle& counter_style) {}

void CounterStyleMap::ResolveFallbackFor(CounterStyle& counter_style) {}

void CounterStyleMap::ResolveSpeakAsReferenceFor(CounterStyle& counter_style) {}

void CounterStyleMap::ResolveReferences(
    HeapHashSet<Member<CounterStyleMap>>& visited_maps) {}

void CounterStyleMap::MarkDirtyCounterStyles(
    HeapHashSet<Member<CounterStyle>>& visited_counter_styles) {}

// static
void CounterStyleMap::MarkAllDirtyCounterStyles(
    Document& document,
    const HeapHashSet<Member<TreeScope>>& active_tree_scopes) {}

// static
void CounterStyleMap::ResolveAllReferences(
    Document& document,
    const HeapHashSet<Member<TreeScope>>& active_tree_scopes) {}

void CounterStyleMap::Dispose() {}

void CounterStyleMap::Trace(Visitor* visitor) const {}

}  // namespace blink