webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Friends | List of all members
WebCore::CSSValuePool Class Reference

#include <CSSValuePool.h>

Public Member Functions

RefPtr< CSSValueListcreateFontFaceValue (const AtomicString &)
 
Ref< CSSPrimitiveValuecreateFontFamilyValue (const String &, FromSystemFontID=FromSystemFontID::No)
 
Ref< CSSInheritedValuecreateInheritedValue ()
 
Ref< CSSInitialValuecreateImplicitInitialValue ()
 
Ref< CSSInitialValuecreateExplicitInitialValue ()
 
Ref< CSSUnsetValuecreateUnsetValue ()
 
Ref< CSSRevertValuecreateRevertValue ()
 
Ref< CSSPrimitiveValuecreateIdentifierValue (CSSValueID identifier)
 
Ref< CSSPrimitiveValuecreateIdentifierValue (CSSPropertyID identifier)
 
Ref< CSSPrimitiveValuecreateColorValue (const Color &)
 
Ref< CSSPrimitiveValuecreateValue (double value, CSSPrimitiveValue::UnitType)
 
Ref< CSSPrimitiveValuecreateValue (const String &value, CSSPrimitiveValue::UnitType type)
 
Ref< CSSPrimitiveValuecreateValue (const Length &value, const RenderStyle &style)
 
Ref< CSSPrimitiveValuecreateValue (const LengthSize &value, const RenderStyle &style)
 
void drain ()
 

Static Public Member Functions

static CSSValuePoolsingleton ()
 
template<typename T >
static Ref< CSSPrimitiveValuecreateValue (T &&value)
 

Friends

class WTF::NeverDestroyed< CSSValuePool >
 

Member Function Documentation

◆ createColorValue()

Ref< CSSPrimitiveValue > WebCore::CSSValuePool::createColorValue ( const Color color)

◆ createExplicitInitialValue()

Ref<CSSInitialValue> WebCore::CSSValuePool::createExplicitInitialValue ( )
inline

◆ createFontFaceValue()

RefPtr< CSSValueList > WebCore::CSSValuePool::createFontFaceValue ( const AtomicString string)

◆ createFontFamilyValue()

Ref< CSSPrimitiveValue > WebCore::CSSValuePool::createFontFamilyValue ( const String familyName,
FromSystemFontID  fromSystemFontID = FromSystemFontID::No 
)

◆ createIdentifierValue() [1/2]

Ref< CSSPrimitiveValue > WebCore::CSSValuePool::createIdentifierValue ( CSSValueID  identifier)

◆ createIdentifierValue() [2/2]

Ref< CSSPrimitiveValue > WebCore::CSSValuePool::createIdentifierValue ( CSSPropertyID  identifier)

◆ createImplicitInitialValue()

Ref<CSSInitialValue> WebCore::CSSValuePool::createImplicitInitialValue ( )
inline

◆ createInheritedValue()

Ref<CSSInheritedValue> WebCore::CSSValuePool::createInheritedValue ( )
inline

◆ createRevertValue()

Ref<CSSRevertValue> WebCore::CSSValuePool::createRevertValue ( )
inline

◆ createUnsetValue()

Ref<CSSUnsetValue> WebCore::CSSValuePool::createUnsetValue ( )
inline

◆ createValue() [1/5]

Ref< CSSPrimitiveValue > WebCore::CSSValuePool::createValue ( double  value,
CSSPrimitiveValue::UnitType  type 
)

◆ createValue() [2/5]

Ref<CSSPrimitiveValue> WebCore::CSSValuePool::createValue ( const String value,
CSSPrimitiveValue::UnitType  type 
)
inline

◆ createValue() [3/5]

Ref<CSSPrimitiveValue> WebCore::CSSValuePool::createValue ( const Length value,
const RenderStyle style 
)
inline

◆ createValue() [4/5]

Ref<CSSPrimitiveValue> WebCore::CSSValuePool::createValue ( const LengthSize value,
const RenderStyle style 
)
inline

◆ createValue() [5/5]

template<typename T >
static Ref<CSSPrimitiveValue> WebCore::CSSValuePool::createValue ( T &&  value)
inlinestatic

◆ drain()

void WebCore::CSSValuePool::drain ( )

◆ singleton()

CSSValuePool & WebCore::CSSValuePool::singleton ( )
static

Friends And Related Function Documentation

◆ WTF::NeverDestroyed< CSSValuePool >


The documentation for this class was generated from the following files: