blob: c658114e984d5983bd0bfc1438572bcb56b59a8e [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// 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_FONT_DISPLAY_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_FONT_DISPLAY_H_
namespace blink {
class CSSValue;
// These values are persisted to logs. Entries should not be renumbered and
// numeric values should never be reused.
enum class FontDisplay {
kAuto,
kBlock,
kSwap,
kFallback,
kOptional,
kMaxValue = kOptional,
};
FontDisplay CSSValueToFontDisplay(const CSSValue*);
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_FONT_DISPLAY_H_