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

#include <StyleProperties.h>

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

Classes

class  PropertyReference
 

Public Member Functions

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 unsigned averageSizeInBytes ()
 
static unsigned averageSizeInBytes ()
 

Protected Member Functions

 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
 

Friends

class PropertyReference
 
class PropertySetCSSStyleDeclaration
 

Additional Inherited Members

- Protected Attributes inherited from WebCore::StylePropertiesBase
unsigned m_cssParserMode: 3
 
unsigned m_type: 2
 
unsigned m_arraySize: 27
 

Constructor & Destructor Documentation

◆ StyleProperties() [1/4]

WebCore::StyleProperties::StyleProperties ( CSSParserMode  cssParserMode,
StylePropertiesType  type 
)
inlineprotected

◆ StyleProperties() [2/4]

WebCore::StyleProperties::StyleProperties ( CSSParserMode  cssParserMode,
unsigned  immutableArraySize 
)
inlineprotected

◆ StyleProperties() [3/4]

WebCore::StyleProperties::StyleProperties ( CSSParserMode  cssParserMode,
StylePropertiesType  type 
)
inlineprotected

◆ StyleProperties() [4/4]

WebCore::StyleProperties::StyleProperties ( CSSParserMode  cssParserMode,
unsigned  immutableArraySize 
)
inlineprotected

Member Function Documentation

◆ asText() [1/2]

String WebCore::StyleProperties::asText ( ) const

◆ asText() [2/2]

String WebCore::StyleProperties::asText ( ) const

◆ averageSizeInBytes() [1/2]

unsigned WebCore::StyleProperties::averageSizeInBytes ( )
static

◆ averageSizeInBytes() [2/2]

static unsigned WebCore::StyleProperties::averageSizeInBytes ( )
static

◆ copyBlockProperties() [1/2]

Ref<MutableStyleProperties> WebCore::StyleProperties::copyBlockProperties ( ) const

◆ copyBlockProperties() [2/2]

Ref< MutableStyleProperties > WebCore::StyleProperties::copyBlockProperties ( ) const

◆ copyPropertiesInSet() [1/2]

Ref<MutableStyleProperties> WebCore::StyleProperties::copyPropertiesInSet ( const CSSPropertyID set,
unsigned  length 
) const

◆ copyPropertiesInSet() [2/2]

Ref< MutableStyleProperties > WebCore::StyleProperties::copyPropertiesInSet ( const CSSPropertyID set,
unsigned  length 
) const

◆ customPropertyIsImportant() [1/2]

bool WebCore::StyleProperties::customPropertyIsImportant ( const String propertyName) const

◆ customPropertyIsImportant() [2/2]

bool WebCore::StyleProperties::customPropertyIsImportant ( const String propertyName) const

◆ findCustomPropertyIndex() [1/2]

int WebCore::StyleProperties::findCustomPropertyIndex ( const String propertyName) const
inlineprotected

◆ findCustomPropertyIndex() [2/2]

int WebCore::StyleProperties::findCustomPropertyIndex ( const String propertyName) const
protected

◆ findPropertyIndex() [1/2]

int WebCore::StyleProperties::findPropertyIndex ( CSSPropertyID  propertyID) const
inlineprotected

◆ findPropertyIndex() [2/2]

int WebCore::StyleProperties::findPropertyIndex ( CSSPropertyID  ) const
protected

◆ getCustomPropertyCSSValue() [1/2]

RefPtr< CSSValue > WebCore::StyleProperties::getCustomPropertyCSSValue ( const String propertyName) const

◆ getCustomPropertyCSSValue() [2/2]

RefPtr<CSSValue> WebCore::StyleProperties::getCustomPropertyCSSValue ( const String propertyName) const

◆ getCustomPropertyValue() [1/2]

String WebCore::StyleProperties::getCustomPropertyValue ( const String propertyName) const

◆ getCustomPropertyValue() [2/2]

String WebCore::StyleProperties::getCustomPropertyValue ( const String propertyName) const

◆ getPropertyCSSValue() [1/2]

RefPtr< CSSValue > WebCore::StyleProperties::getPropertyCSSValue ( CSSPropertyID  propertyID) const

◆ getPropertyCSSValue() [2/2]

WEBCORE_EXPORT RefPtr<CSSValue> WebCore::StyleProperties::getPropertyCSSValue ( CSSPropertyID  ) const

◆ getPropertyShorthand() [1/2]

String WebCore::StyleProperties::getPropertyShorthand ( CSSPropertyID  propertyID) const

◆ getPropertyShorthand() [2/2]

String WebCore::StyleProperties::getPropertyShorthand ( CSSPropertyID  ) const

◆ getPropertyValue() [1/2]

String WebCore::StyleProperties::getPropertyValue ( CSSPropertyID  propertyID) const

◆ getPropertyValue() [2/2]

WEBCORE_EXPORT String WebCore::StyleProperties::getPropertyValue ( CSSPropertyID  ) const

◆ hasCSSOMWrapper() [1/2]

bool WebCore::StyleProperties::hasCSSOMWrapper ( ) const

◆ hasCSSOMWrapper() [2/2]

bool WebCore::StyleProperties::hasCSSOMWrapper ( ) const

◆ immutableCopyIfNeeded() [1/2]

Ref<ImmutableStyleProperties> WebCore::StyleProperties::immutableCopyIfNeeded ( ) const

◆ immutableCopyIfNeeded() [2/2]

Ref< ImmutableStyleProperties > WebCore::StyleProperties::immutableCopyIfNeeded ( ) const

◆ isEmpty() [1/2]

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

◆ isEmpty() [2/2]

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

◆ isMutable() [1/2]

bool WebCore::StyleProperties::isMutable ( ) const
inline

◆ isMutable() [2/2]

bool WebCore::StyleProperties::isMutable ( ) const
inline

◆ isPropertyImplicit() [1/2]

bool WebCore::StyleProperties::isPropertyImplicit ( CSSPropertyID  ) const

◆ isPropertyImplicit() [2/2]

bool WebCore::StyleProperties::isPropertyImplicit ( CSSPropertyID  propertyID) const

◆ mutableCopy() [1/2]

WEBCORE_EXPORT Ref<MutableStyleProperties> WebCore::StyleProperties::mutableCopy ( ) const

◆ mutableCopy() [2/2]

Ref< MutableStyleProperties > WebCore::StyleProperties::mutableCopy ( ) const

◆ propertyAt() [1/2]

PropertyReference WebCore::StyleProperties::propertyAt ( unsigned  ) const

◆ propertyAt() [2/2]

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

◆ propertyCount() [1/2]

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

◆ propertyCount() [2/2]

unsigned WebCore::StyleProperties::propertyCount ( ) const

◆ propertyIsImportant() [1/2]

bool WebCore::StyleProperties::propertyIsImportant ( CSSPropertyID  propertyID) const

◆ propertyIsImportant() [2/2]

bool WebCore::StyleProperties::propertyIsImportant ( CSSPropertyID  ) const

◆ propertyMatches() [1/2]

bool WebCore::StyleProperties::propertyMatches ( CSSPropertyID  ,
const CSSValue  
) const

◆ propertyMatches() [2/2]

bool WebCore::StyleProperties::propertyMatches ( CSSPropertyID  propertyID,
const CSSValue propertyValue 
) const

◆ showStyle() [1/2]

void WebCore::StyleProperties::showStyle ( )

◆ showStyle() [2/2]

void WebCore::StyleProperties::showStyle ( )

◆ traverseSubresources() [1/2]

bool WebCore::StyleProperties::traverseSubresources ( const std::function< bool(const CachedResource &)> &  handler) const

◆ traverseSubresources() [2/2]

bool WebCore::StyleProperties::traverseSubresources ( const std::function< bool(const CachedResource &)> &  handler) const

Friends And Related Function Documentation

◆ PropertyReference

◆ PropertySetCSSStyleDeclaration


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