#include "third_party/blink/renderer/core/css/local_font_face_source.h"
#include "base/metrics/histogram_functions.h"
#include "build/build_config.h"
#include "third_party/blink/renderer/core/css/css_custom_font_data.h"
#include "third_party/blink/renderer/core/css/css_font_face.h"
#include "third_party/blink/renderer/core/probe/core_probes.h"
#include "third_party/blink/renderer/platform/fonts/font_cache.h"
#include "third_party/blink/renderer/platform/fonts/font_custom_platform_data.h"
#include "third_party/blink/renderer/platform/fonts/font_description.h"
#include "third_party/blink/renderer/platform/fonts/font_global_context.h"
#include "third_party/blink/renderer/platform/fonts/font_selector.h"
#include "third_party/blink/renderer/platform/fonts/font_unique_name_lookup.h"
#include "third_party/blink/renderer/platform/fonts/simple_font_data.h"
#include "third_party/blink/renderer/platform/heap/persistent.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
namespace blink {
LocalFontFaceSource::LocalFontFaceSource(CSSFontFace* css_font_face,
FontSelector* font_selector,
const String& font_name)
: … { … }
LocalFontFaceSource::~LocalFontFaceSource() { … }
bool LocalFontFaceSource::IsLocalNonBlocking() const { … }
bool LocalFontFaceSource::IsLocalFontAvailable(
const FontDescription& font_description) const { … }
const SimpleFontData* LocalFontFaceSource::CreateLoadingFallbackFontData(
const FontDescription& font_description) { … }
const SimpleFontData* LocalFontFaceSource::CreateFontData(
const FontDescription& font_description,
const FontSelectionCapabilities& font_selection_capabilities) { … }
void LocalFontFaceSource::BeginLoadIfNeeded() { … }
void LocalFontFaceSource::NotifyFontUniqueNameLookupReady() { … }
bool LocalFontFaceSource::IsLoaded() const { … }
bool LocalFontFaceSource::IsLoading() const { … }
bool LocalFontFaceSource::IsValid() const { … }
void LocalFontFaceSource::LocalFontHistograms::Record(bool load_success) { … }
void LocalFontFaceSource::Trace(Visitor* visitor) const { … }
void LocalFontFaceSource::ReportFontLookup(
const FontDescription& font_description,
const SimpleFontData* font_data,
bool is_loading_fallback) { … }
}