chromium/third_party/blink/renderer/core/css/resolver/font_builder.cc

/*
 * Copyright (C) 1999 Lars Knoll ([email protected])
 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
 * All rights reserved.
 * Copyright (C) 2013 Google Inc. All rights reserved.
 * Copyright (C) 2015 Collabora Ltd. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 *
 */

#include "third_party/blink/renderer/core/css/resolver/font_builder.h"

#include "third_party/blink/renderer/core/css/css_font_selector.h"
#include "third_party/blink/renderer/core/css/style_engine.h"
#include "third_party/blink/renderer/core/css_value_keywords.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/layout/text_autosizer.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/platform/font_family_names.h"
#include "third_party/blink/renderer/platform/fonts/font_description.h"

namespace blink {

FontBuilder::FontBuilder(Document* document) :{}

void FontBuilder::DidChangeEffectiveZoom() {}

void FontBuilder::DidChangeTextOrientation() {}

void FontBuilder::DidChangeWritingMode() {}

void FontBuilder::DidChangeTextSizeAdjust() {}

FontFamily FontBuilder::StandardFontFamily() const {}

AtomicString FontBuilder::StandardFontFamilyName() const {}

AtomicString FontBuilder::GenericFontFamilyName(
    FontDescription::GenericFamilyType generic_family) const {}

float FontBuilder::FontSizeForKeyword(unsigned keyword,
                                      bool is_monospace) const {}

void FontBuilder::SetFamilyDescription(
    const FontDescription::FamilyDescription& family_description) {}

void FontBuilder::SetFamilyTreeScope(const TreeScope* tree_scope) {}

void FontBuilder::SetWeight(FontSelectionValue weight) {}

void FontBuilder::SetStyle(FontSelectionValue slope) {}

void FontBuilder::SetStretch(FontSelectionValue stretch) {}

void FontBuilder::SetSize(const FontDescription::Size& size) {}

void FontBuilder::SetSizeAdjust(const FontSizeAdjust& size_adjust) {}

void FontBuilder::SetLocale(scoped_refptr<const LayoutLocale> locale) {}

void FontBuilder::SetVariantCaps(FontDescription::FontVariantCaps caps) {}

void FontBuilder::SetVariantEastAsian(const FontVariantEastAsian east_asian) {}

void FontBuilder::SetVariantLigatures(
    const FontDescription::VariantLigatures& ligatures) {}

void FontBuilder::SetVariantNumeric(const FontVariantNumeric& variant_numeric) {}

void FontBuilder::SetFontSynthesisWeight(
    FontDescription::FontSynthesisWeight font_synthesis_weight) {}

void FontBuilder::SetFontSynthesisStyle(
    FontDescription::FontSynthesisStyle font_synthesis_style) {}

void FontBuilder::SetFontSynthesisSmallCaps(
    FontDescription::FontSynthesisSmallCaps font_synthesis_small_caps) {}

void FontBuilder::SetTextRendering(TextRenderingMode text_rendering_mode) {}

void FontBuilder::SetKerning(FontDescription::Kerning kerning) {}

void FontBuilder::SetTextSpacingTrim(TextSpacingTrim text_spacing_trim) {}

void FontBuilder::SetFontOpticalSizing(OpticalSizing font_optical_sizing) {}

void FontBuilder::SetFontPalette(scoped_refptr<const FontPalette> palette) {}

void FontBuilder::SetFontVariantAlternates(
    scoped_refptr<const FontVariantAlternates> variant_alternates) {}

void FontBuilder::SetFontSmoothing(FontSmoothingMode font_smoothing_mode) {}

void FontBuilder::SetFeatureSettings(
    scoped_refptr<const FontFeatureSettings> settings) {}

void FontBuilder::SetVariationSettings(
    scoped_refptr<const FontVariationSettings> settings) {}

void FontBuilder::SetFamilyDescription(
    FontDescription& font_description,
    const FontDescription::FamilyDescription& family_description) {}

void FontBuilder::SetSize(FontDescription& font_description,
                          const FontDescription::Size& size) {}

void FontBuilder::SetVariantPosition(
    FontDescription::FontVariantPosition variant_position) {}

void FontBuilder::SetVariantEmoji(FontVariantEmoji variant_emoji) {}

float FontBuilder::GetComputedSizeFromSpecifiedSize(
    const FontDescription& font_description,
    const ComputedStyleBuilder& builder,
    float specified_size) {}

void FontBuilder::CheckForGenericFamilyChange(
    const FontDescription& parent_description,
    FontDescription& new_description) {}

void FontBuilder::UpdateSpecifiedSize(
    FontDescription& font_description,
    const FontDescription& parent_description) {}

void FontBuilder::UpdateAdjustedSize(FontDescription& font_description,
                                     FontSelector* font_selector) {}

void FontBuilder::UpdateComputedSize(FontDescription& font_description,
                                     const ComputedStyleBuilder& builder) {}

bool FontBuilder::UpdateFontDescription(FontDescription& description,
                                        FontOrientation font_orientation) {}

FontSelector* FontBuilder::FontSelectorFromTreeScope(
    const TreeScope* tree_scope) {}

FontSelector* FontBuilder::ComputeFontSelector(
    const ComputedStyleBuilder& builder) {}

void FontBuilder::CreateFont(ComputedStyleBuilder& builder,
                             const ComputedStyle* parent_style) {}

void FontBuilder::CreateInitialFont(ComputedStyleBuilder& builder) {}

}  // namespace blink