chromium/third_party/blink/renderer/core/css/css_font_selector_base.h

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_FONT_SELECTOR_BASE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_FONT_SELECTOR_BASE_H_

#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/css/font_face_cache.h"
#include "third_party/blink/renderer/platform/fonts/font_selector.h"
#include "third_party/blink/renderer/platform/fonts/generic_font_family_settings.h"
#include "third_party/blink/renderer/platform/wtf/forward.h"

namespace blink {

class FontDescription;
class FontFamily;
class FontMatchingMetrics;

// `CSSFontSelectorBase` is the base class of CSS related font selectors:
//  * `CSSFontSelector` for `StyleEngine`
//  * `PopupMenuCSSFontSelector` derived from `CSSFontSelector`
//  * `OffscreenFontSelector` for `WorkerGlobalScope`.
class CORE_EXPORT CSSFontSelectorBase : public FontSelector {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_FONT_SELECTOR_BASE_H_