webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
WebCore::ImmutableStyleProperties Class Referencefinal

#include <StyleProperties.h>

Inheritance diagram for WebCore::ImmutableStyleProperties:
WebCore::StyleProperties WebCore::StyleProperties WebCore::StylePropertiesBase WebCore::StylePropertiesBase WebCore::StylePropertiesBase WebCore::StylePropertiesBase WTF::RefCounted< StylePropertiesBase > WTF::RefCounted< StylePropertiesBase > WTF::RefCounted< StylePropertiesBase > WTF::RefCounted< StylePropertiesBase > WTF::RefCounted< StylePropertiesBase > WTF::RefCounted< StylePropertiesBase > WTF::RefCounted< StylePropertiesBase > WTF::RefCounted< StylePropertiesBase >

Public Member Functions

WEBCORE_EXPORT ~ImmutableStyleProperties ()
 
unsigned propertyCount () const
 
bool isEmpty () const
 
PropertyReference propertyAt (unsigned index) const
 
const CSSValue ** valueArray () const
 
const StylePropertyMetadatametadataArray () const
 
int findPropertyIndex (CSSPropertyID) const
 
int findCustomPropertyIndex (const String &propertyName) const
 
WEBCORE_EXPORT ~ImmutableStyleProperties ()
 
unsigned propertyCount () const
 
bool isEmpty () const
 
PropertyReference propertyAt (unsigned index) const
 
const CSSValue ** valueArray () const
 
const StylePropertyMetadatametadataArray () const
 
int findPropertyIndex (CSSPropertyID) const
 
int findCustomPropertyIndex (const String &propertyName) const
 
- Public Member Functions inherited from WebCore::StyleProperties
unsigned propertyCount () const
 
bool isEmpty () const
 
PropertyReference propertyAt (unsigned) const
 
WEBCORE_EXPORT RefPtr< CSSValuegetPropertyCSSValue (CSSPropertyID) const
 
WEBCORE_EXPORT String getPropertyValue (CSSPropertyID) const
 
bool propertyIsImportant (CSSPropertyID) const
 
String getPropertyShorthand (CSSPropertyID) const
 
bool isPropertyImplicit (CSSPropertyID) const
 
RefPtr< CSSValuegetCustomPropertyCSSValue (const String &propertyName) const
 
String getCustomPropertyValue (const String &propertyName) const
 
bool customPropertyIsImportant (const String &propertyName) const
 
Ref< MutableStylePropertiescopyBlockProperties () const
 
WEBCORE_EXPORT Ref< MutableStylePropertiesmutableCopy () const
 
Ref< ImmutableStylePropertiesimmutableCopyIfNeeded () const
 
Ref< MutableStylePropertiescopyPropertiesInSet (const CSSPropertyID *set, unsigned length) const
 
String asText () const
 
bool hasCSSOMWrapper () const
 
bool isMutable () const
 
bool traverseSubresources (const std::function< bool(const CachedResource &)> &handler) const
 
void showStyle ()
 
bool propertyMatches (CSSPropertyID, const CSSValue *) const
 
unsigned propertyCount () const
 
bool isEmpty () const
 
PropertyReference propertyAt (unsigned) const
 
WEBCORE_EXPORT RefPtr< CSSValuegetPropertyCSSValue (CSSPropertyID) const
 
WEBCORE_EXPORT String getPropertyValue (CSSPropertyID) const
 
bool propertyIsImportant (CSSPropertyID) const
 
String getPropertyShorthand (CSSPropertyID) const
 
bool isPropertyImplicit (CSSPropertyID) const
 
RefPtr< CSSValuegetCustomPropertyCSSValue (const String &propertyName) const
 
String getCustomPropertyValue (const String &propertyName) const
 
bool customPropertyIsImportant (const String &propertyName) const
 
Ref< MutableStylePropertiescopyBlockProperties () const
 
WEBCORE_EXPORT Ref< MutableStylePropertiesmutableCopy () const
 
Ref< ImmutableStylePropertiesimmutableCopyIfNeeded () const
 
Ref< MutableStylePropertiescopyPropertiesInSet (const CSSPropertyID *set, unsigned length) const
 
String asText () const
 
bool hasCSSOMWrapper () const
 
bool isMutable () const
 
bool traverseSubresources (const std::function< bool(const CachedResource &)> &handler) const
 
void showStyle ()
 
bool propertyMatches (CSSPropertyID, const CSSValue *) const
 
- Public Member Functions inherited from WebCore::StylePropertiesBase
void deref ()
 
StylePropertiesType type () const
 
CSSParserMode cssParserMode () const
 
void deref ()
 
StylePropertiesType type () const
 
CSSParserMode cssParserMode () const
 
- Public Member Functions inherited from WTF::RefCounted< StylePropertiesBase >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< ImmutableStylePropertiescreate (const CSSProperty *properties, unsigned count, CSSParserMode)
 
static Ref< ImmutableStylePropertiescreate (const CSSProperty *properties, unsigned count, CSSParserMode)
 
- Static Public Member Functions inherited from WebCore::StyleProperties
static unsigned averageSizeInBytes ()
 
static unsigned averageSizeInBytes ()
 

Public Attributes

voidm_storage
 

Additional Inherited Members

- Protected Member Functions inherited from WebCore::StyleProperties
 StyleProperties (CSSParserMode cssParserMode, StylePropertiesType type)
 
 StyleProperties (CSSParserMode cssParserMode, unsigned immutableArraySize)
 
int findPropertyIndex (CSSPropertyID) const
 
int findCustomPropertyIndex (const String &propertyName) const
 
 StyleProperties (CSSParserMode cssParserMode, StylePropertiesType type)
 
 StyleProperties (CSSParserMode cssParserMode, unsigned immutableArraySize)
 
int findPropertyIndex (CSSPropertyID) const
 
int findCustomPropertyIndex (const String &propertyName) const
 
- Protected Member Functions inherited from WebCore::StylePropertiesBase
 StylePropertiesBase (CSSParserMode cssParserMode, StylePropertiesType type)
 
 StylePropertiesBase (CSSParserMode cssParserMode, unsigned immutableArraySize)
 
 StylePropertiesBase (CSSParserMode cssParserMode, StylePropertiesType type)
 
 StylePropertiesBase (CSSParserMode cssParserMode, unsigned immutableArraySize)
 
- Protected Member Functions inherited from WTF::RefCounted< StylePropertiesBase >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
- Protected Attributes inherited from WebCore::StylePropertiesBase
unsigned m_cssParserMode: 3
 
unsigned m_type: 2
 
unsigned m_arraySize: 27
 

Constructor & Destructor Documentation

◆ ~ImmutableStyleProperties() [1/2]

WebCore::ImmutableStyleProperties::~ImmutableStyleProperties ( )

◆ ~ImmutableStyleProperties() [2/2]

WEBCORE_EXPORT WebCore::ImmutableStyleProperties::~ImmutableStyleProperties ( )

Member Function Documentation

◆ create() [1/2]

Ref< ImmutableStyleProperties > WebCore::ImmutableStyleProperties::create ( const CSSProperty properties,
unsigned  count,
CSSParserMode  cssParserMode 
)
static

◆ create() [2/2]

static Ref<ImmutableStyleProperties> WebCore::ImmutableStyleProperties::create ( const CSSProperty properties,
unsigned  count,
CSSParserMode   
)
static

◆ findCustomPropertyIndex() [1/2]

int WebCore::ImmutableStyleProperties::findCustomPropertyIndex ( const String propertyName) const

◆ findCustomPropertyIndex() [2/2]

int WebCore::ImmutableStyleProperties::findCustomPropertyIndex ( const String propertyName) const

◆ findPropertyIndex() [1/2]

int WebCore::ImmutableStyleProperties::findPropertyIndex ( CSSPropertyID  propertyID) const

◆ findPropertyIndex() [2/2]

int WebCore::ImmutableStyleProperties::findPropertyIndex ( CSSPropertyID  ) const

◆ isEmpty() [1/2]

bool WebCore::ImmutableStyleProperties::isEmpty ( void  ) const
inline

◆ isEmpty() [2/2]

bool WebCore::ImmutableStyleProperties::isEmpty ( void  ) const
inline

◆ metadataArray() [1/2]

const StylePropertyMetadata* WebCore::ImmutableStyleProperties::metadataArray ( ) const

◆ metadataArray() [2/2]

const StylePropertyMetadata * WebCore::ImmutableStyleProperties::metadataArray ( ) const
inline

◆ propertyAt() [1/2]

ImmutableStyleProperties::PropertyReference WebCore::ImmutableStyleProperties::propertyAt ( unsigned  index) const
inline

◆ propertyAt() [2/2]

PropertyReference WebCore::ImmutableStyleProperties::propertyAt ( unsigned  index) const

◆ propertyCount() [1/2]

unsigned WebCore::ImmutableStyleProperties::propertyCount ( ) const
inline

◆ propertyCount() [2/2]

unsigned WebCore::ImmutableStyleProperties::propertyCount ( ) const
inline

◆ valueArray() [1/2]

const CSSValue ** WebCore::ImmutableStyleProperties::valueArray ( ) const
inline

◆ valueArray() [2/2]

const CSSValue** WebCore::ImmutableStyleProperties::valueArray ( ) const

Member Data Documentation

◆ m_storage

void * WebCore::ImmutableStyleProperties::m_storage

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