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

// Copyright 2017 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/font_face_set.h"

#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/core/css/font_face_cache.h"
#include "third_party/blink/renderer/core/css/font_face_set_load_event.h"
#include "third_party/blink/renderer/platform/font_family_names.h"
#include "third_party/blink/renderer/platform/fonts/font.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"

namespace blink {

const int FontFaceSet::kDefaultFontSize =;

// static
const AtomicString& FontFaceSet::DefaultFontFamily() {}

void FontFaceSet::HandlePendingEventsAndPromisesSoon() {}

void FontFaceSet::HandlePendingEventsAndPromises() {}

void FontFaceSet::FireLoadingEvent() {}

FontFaceSet* FontFaceSet::addForBinding(ScriptState*,
                                        FontFace* font_face,
                                        ExceptionState&) {}

void FontFaceSet::clearForBinding(ScriptState*, ExceptionState&) {}

bool FontFaceSet::deleteForBinding(ScriptState*,
                                   FontFace* font_face,
                                   ExceptionState&) {}

bool FontFaceSet::hasForBinding(ScriptState*,
                                FontFace* font_face,
                                ExceptionState&) const {}

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

wtf_size_t FontFaceSet::size() const {}

void FontFaceSet::AddFontFacesToFontFaceCache(FontFaceCache* font_face_cache) {}

void FontFaceSet::AddToLoadingFonts(FontFace* font_face) {}

void FontFaceSet::RemoveFromLoadingFonts(FontFace* font_face) {}

void FontFaceSet::LoadFontPromiseResolver::LoadFonts() {}

ScriptPromise<IDLSequence<FontFace>> FontFaceSet::load(
    ScriptState* script_state,
    const String& font_string,
    const String& text) {}

bool FontFaceSet::check(const String& font_string,
                        const String& text,
                        ExceptionState& exception_state) {}

void FontFaceSet::FireDoneEvent() {}

bool FontFaceSet::ShouldSignalReady() const {}

void FontFaceSet::LoadFontPromiseResolver::NotifyLoaded(FontFace* font_face) {}

void FontFaceSet::LoadFontPromiseResolver::NotifyError(FontFace* font_face) {}

void FontFaceSet::LoadFontPromiseResolver::Trace(Visitor* visitor) const {}

bool FontFaceSet::IterationSource::FetchNextItem(ScriptState*,
                                                 FontFace*& value,
                                                 ExceptionState&) {}

FontFaceSetIterable::IterationSource* FontFaceSet::CreateIterationSource(
    ScriptState*,
    ExceptionState&) {}

}  // namespace blink