chromium/third_party/blink/renderer/platform/fonts/shaping/variation_selector_mode.h

// Copyright 2024 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_PLATFORM_FONTS_SHAPING_VARIATION_SELECTOR_MODE_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_SHAPING_VARIATION_SELECTOR_MODE_H_

#include "base/notreached.h"
#include "third_party/blink/renderer/platform/fonts/font_variant_emoji.h"
#include "third_party/blink/renderer/platform/platform_export.h"

namespace blink {
enum VariationSelectorMode {};

PLATFORM_EXPORT bool ShouldIgnoreVariationSelector(VariationSelectorMode mode);

PLATFORM_EXPORT bool UseFontVariantEmojiVariationSelector(
    VariationSelectorMode mode);

PLATFORM_EXPORT VariationSelectorMode
GetVariationSelectorModeFromFontVariantEmoji(
    FontVariantEmoji font_variant_emoji);

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_SHAPING_VARIATION_SELECTOR_MODE_H_