webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <CSSValuePool.h>
Public Member Functions | |
RefPtr< CSSValueList > | createFontFaceValue (const AtomicString &) |
Ref< CSSPrimitiveValue > | createFontFamilyValue (const String &, FromSystemFontID=FromSystemFontID::No) |
Ref< CSSInheritedValue > | createInheritedValue () |
Ref< CSSInitialValue > | createImplicitInitialValue () |
Ref< CSSInitialValue > | createExplicitInitialValue () |
Ref< CSSUnsetValue > | createUnsetValue () |
Ref< CSSRevertValue > | createRevertValue () |
Ref< CSSPrimitiveValue > | createIdentifierValue (CSSValueID identifier) |
Ref< CSSPrimitiveValue > | createIdentifierValue (CSSPropertyID identifier) |
Ref< CSSPrimitiveValue > | createColorValue (const Color &) |
Ref< CSSPrimitiveValue > | createValue (double value, CSSPrimitiveValue::UnitType) |
Ref< CSSPrimitiveValue > | createValue (const String &value, CSSPrimitiveValue::UnitType type) |
Ref< CSSPrimitiveValue > | createValue (const Length &value, const RenderStyle &style) |
Ref< CSSPrimitiveValue > | createValue (const LengthSize &value, const RenderStyle &style) |
void | drain () |
Static Public Member Functions | |
static CSSValuePool & | singleton () |
template<typename T > | |
static Ref< CSSPrimitiveValue > | createValue (T &&value) |
Friends | |
class | WTF::NeverDestroyed< CSSValuePool > |
Ref< CSSPrimitiveValue > WebCore::CSSValuePool::createColorValue | ( | const Color & | color | ) |
|
inline |
RefPtr< CSSValueList > WebCore::CSSValuePool::createFontFaceValue | ( | const AtomicString & | string | ) |
Ref< CSSPrimitiveValue > WebCore::CSSValuePool::createFontFamilyValue | ( | const String & | familyName, |
FromSystemFontID | fromSystemFontID = FromSystemFontID::No |
||
) |
Ref< CSSPrimitiveValue > WebCore::CSSValuePool::createIdentifierValue | ( | CSSValueID | identifier | ) |
Ref< CSSPrimitiveValue > WebCore::CSSValuePool::createIdentifierValue | ( | CSSPropertyID | identifier | ) |
|
inline |
|
inline |
|
inline |
|
inline |
Ref< CSSPrimitiveValue > WebCore::CSSValuePool::createValue | ( | double | value, |
CSSPrimitiveValue::UnitType | type | ||
) |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
void WebCore::CSSValuePool::drain | ( | ) |
|
static |
|
friend |