#include "third_party/blink/renderer/core/css/offscreen_font_selector.h"
#include "build/build_config.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/platform/fonts/font_cache.h"
#include "third_party/blink/renderer/platform/fonts/font_selector_client.h"
namespace blink {
OffscreenFontSelector::OffscreenFontSelector(WorkerGlobalScope* worker)
: … { … }
OffscreenFontSelector::~OffscreenFontSelector() = default;
FontMatchingMetrics* OffscreenFontSelector::GetFontMatchingMetrics() const { … }
UseCounter* OffscreenFontSelector::GetUseCounter() const { … }
void OffscreenFontSelector::UpdateGenericFontFamilySettings(
const GenericFontFamilySettings& settings) { … }
void OffscreenFontSelector::RegisterForInvalidationCallbacks(
FontSelectorClient* client) { … }
void OffscreenFontSelector::UnregisterForInvalidationCallbacks(
FontSelectorClient* client) { … }
const FontData* OffscreenFontSelector::GetFontData(
const FontDescription& font_description,
const FontFamily& font_family) { … }
void OffscreenFontSelector::FontCacheInvalidated() { … }
void OffscreenFontSelector::FontFaceInvalidated(FontInvalidationReason) { … }
void OffscreenFontSelector::Trace(Visitor* visitor) const { … }
}