diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/css/font_display.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/css/font_display.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/core/css/font_display.h b/chromium/third_party/blink/renderer/core/css/font_display.h new file mode 100644 index 00000000000..ede328708df --- /dev/null +++ b/chromium/third_party/blink/renderer/core/css/font_display.h @@ -0,0 +1,25 @@ +// 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; + +enum FontDisplay { + kFontDisplayAuto, + kFontDisplayBlock, + kFontDisplaySwap, + kFontDisplayFallback, + kFontDisplayOptional, + kFontDisplayEnumMax, +}; + +FontDisplay CSSValueToFontDisplay(const CSSValue*); + +} // namespace blink + +#endif // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_FONT_DISPLAY_H_ |