1 // Copyright 2018 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_CSS_FONT_DISPLAY_H_ 6 #define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_FONT_DISPLAY_H_ 7 8 namespace blink { 9 10 class CSSValue; 11 12 enum FontDisplay { 13 kFontDisplayAuto, 14 kFontDisplayBlock, 15 kFontDisplaySwap, 16 kFontDisplayFallback, 17 kFontDisplayOptional, 18 kFontDisplayEnumMax, 19 }; 20 21 FontDisplay CSSValueToFontDisplay(const CSSValue*); 22 23 } // namespace blink 24 25 #endif // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_FONT_DISPLAY_H_ 26