chromium/third_party/blink/renderer/core/css/style_rule_font_feature_values.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/css/style_rule_font_feature_values.h"
#include "third_party/blink/renderer/core/css/cascade_layer.h"
#include "third_party/blink/renderer/core/css/css_markup.h"
#include "third_party/blink/renderer/platform/wtf/assertions.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"

#include <limits>

namespace blink {

StyleRuleFontFeature::StyleRuleFontFeature(
    StyleRuleFontFeature::FeatureType type)
    :{}

StyleRuleFontFeature::StyleRuleFontFeature(const StyleRuleFontFeature&) =
    default;
StyleRuleFontFeature::~StyleRuleFontFeature() = default;

void StyleRuleFontFeature::TraceAfterDispatch(blink::Visitor* visitor) const {}

void StyleRuleFontFeature::UpdateAlias(AtomicString alias,
                                       const Vector<uint32_t>& features) {}

void StyleRuleFontFeature::OverrideAliasesIn(FontFeatureAliases& destination) {}

FontFeatureValuesStorage::FontFeatureValuesStorage(
    FontFeatureAliases stylistic,
    FontFeatureAliases styleset,
    FontFeatureAliases character_variant,
    FontFeatureAliases swash,
    FontFeatureAliases ornaments,
    FontFeatureAliases annotation)
    :{}

Vector<uint32_t> FontFeatureValuesStorage::ResolveStylistic(
    AtomicString alias) const {}

Vector<uint32_t> FontFeatureValuesStorage::ResolveStyleset(
    AtomicString alias) const {}

Vector<uint32_t> FontFeatureValuesStorage::ResolveCharacterVariant(
    AtomicString alias) const {}

Vector<uint32_t> FontFeatureValuesStorage::ResolveSwash(
    AtomicString alias) const {}

Vector<uint32_t> FontFeatureValuesStorage::ResolveOrnaments(
    AtomicString alias) const {}
Vector<uint32_t> FontFeatureValuesStorage::ResolveAnnotation(
    AtomicString alias) const {}

void FontFeatureValuesStorage::SetLayerOrder(unsigned layer_order) {}

void FontFeatureValuesStorage::FuseUpdate(const FontFeatureValuesStorage& other,
                                          unsigned other_layer_order) {}

/* static */
Vector<uint32_t> FontFeatureValuesStorage::ResolveInternal(
    const FontFeatureAliases& aliases,
    AtomicString alias) {}

StyleRuleFontFeatureValues::StyleRuleFontFeatureValues(
    Vector<AtomicString> families,
    FontFeatureAliases stylistic,
    FontFeatureAliases styleset,
    FontFeatureAliases character_variant,
    FontFeatureAliases swash,
    FontFeatureAliases ornaments,
    FontFeatureAliases annotation)
    :{}

StyleRuleFontFeatureValues::StyleRuleFontFeatureValues(
    const StyleRuleFontFeatureValues&) = default;

StyleRuleFontFeatureValues::~StyleRuleFontFeatureValues() = default;

void StyleRuleFontFeatureValues::SetFamilies(Vector<AtomicString> families) {}

String StyleRuleFontFeatureValues::FamilyAsString() const {}

void StyleRuleFontFeatureValues::TraceAfterDispatch(
    blink::Visitor* visitor) const {}

}  // namespace blink