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

#include <CSSStyleRule.h>

Inheritance diagram for WebCore::CSSStyleRule:
WebCore::CSSRule WebCore::CSSRule WTF::RefCounted< CSSRule > WTF::RefCounted< CSSRule > WTF::RefCounted< CSSRule > WTF::RefCounted< CSSRule > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

virtual ~CSSStyleRule ()
 
WEBCORE_EXPORT String selectorText () const
 
WEBCORE_EXPORT void setSelectorText (const String &)
 
WEBCORE_EXPORT CSSStyleDeclarationstyle ()
 
StyleRulestyleRule () const
 
virtual ~CSSStyleRule ()
 
WEBCORE_EXPORT String selectorText () const
 
WEBCORE_EXPORT void setSelectorText (const String &)
 
WEBCORE_EXPORT CSSStyleDeclarationstyle ()
 
StyleRulestyleRule () const
 
- Public Member Functions inherited from WebCore::CSSRule
virtual ~CSSRule ()
 
void setParentStyleSheet (CSSStyleSheet *styleSheet)
 
void setParentRule (CSSRule *rule)
 
CSSStyleSheetparentStyleSheet () const
 
CSSRuleparentRule () const
 
WEBCORE_EXPORT ExceptionOr< voidsetCssText (const String &)
 
virtual ~CSSRule ()
 
void setParentStyleSheet (CSSStyleSheet *styleSheet)
 
void setParentRule (CSSRule *rule)
 
CSSStyleSheetparentStyleSheet () const
 
CSSRuleparentRule () const
 
WEBCORE_EXPORT ExceptionOr< voidsetCssText (const String &)
 
- Public Member Functions inherited from WTF::RefCounted< CSSRule >
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< CSSStyleRulecreate (StyleRule &rule, CSSStyleSheet *sheet)
 
static Ref< CSSStyleRulecreate (StyleRule &rule, CSSStyleSheet *sheet)
 

Additional Inherited Members

- Public Types inherited from WebCore::CSSRule
enum  Type {
  UNKNOWN_RULE, STYLE_RULE, CHARSET_RULE, IMPORT_RULE,
  MEDIA_RULE, FONT_FACE_RULE, PAGE_RULE, KEYFRAMES_RULE,
  KEYFRAME_RULE, NAMESPACE_RULE = 10, SUPPORTS_RULE = 12, UNKNOWN_RULE,
  STYLE_RULE, CHARSET_RULE, IMPORT_RULE, MEDIA_RULE,
  FONT_FACE_RULE, PAGE_RULE, KEYFRAMES_RULE, KEYFRAME_RULE,
  NAMESPACE_RULE = 10, SUPPORTS_RULE = 12
}
 
enum  DeprecatedType { WEBKIT_KEYFRAMES_RULE = 7, WEBKIT_KEYFRAME_RULE = 8, WEBKIT_KEYFRAMES_RULE = 7, WEBKIT_KEYFRAME_RULE = 8 }
 
enum  Type {
  UNKNOWN_RULE, STYLE_RULE, CHARSET_RULE, IMPORT_RULE,
  MEDIA_RULE, FONT_FACE_RULE, PAGE_RULE, KEYFRAMES_RULE,
  KEYFRAME_RULE, NAMESPACE_RULE = 10, SUPPORTS_RULE = 12, UNKNOWN_RULE,
  STYLE_RULE, CHARSET_RULE, IMPORT_RULE, MEDIA_RULE,
  FONT_FACE_RULE, PAGE_RULE, KEYFRAMES_RULE, KEYFRAME_RULE,
  NAMESPACE_RULE = 10, SUPPORTS_RULE = 12
}
 
enum  DeprecatedType { WEBKIT_KEYFRAMES_RULE = 7, WEBKIT_KEYFRAME_RULE = 8, WEBKIT_KEYFRAMES_RULE = 7, WEBKIT_KEYFRAME_RULE = 8 }
 
- Protected Member Functions inherited from WebCore::CSSRule
 CSSRule (CSSStyleSheet *parent)
 
bool hasCachedSelectorText () const
 
void setHasCachedSelectorText (bool hasCachedSelectorText) const
 
const CSSParserContextparserContext () const
 
 CSSRule (CSSStyleSheet *parent)
 
bool hasCachedSelectorText () const
 
void setHasCachedSelectorText (bool hasCachedSelectorText) const
 
const CSSParserContextparserContext () const
 
- Protected Member Functions inherited from WTF::RefCounted< CSSRule >
 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
 

Constructor & Destructor Documentation

◆ ~CSSStyleRule() [1/2]

CSSStyleRule::~CSSStyleRule ( )
virtual

◆ ~CSSStyleRule() [2/2]

virtual WebCore::CSSStyleRule::~CSSStyleRule ( )
virtual

Member Function Documentation

◆ create() [1/2]

static Ref<CSSStyleRule> WebCore::CSSStyleRule::create ( StyleRule rule,
CSSStyleSheet sheet 
)
inlinestatic

◆ create() [2/2]

static Ref<CSSStyleRule> WebCore::CSSStyleRule::create ( StyleRule rule,
CSSStyleSheet sheet 
)
inlinestatic

◆ selectorText() [1/2]

String CSSStyleRule::selectorText ( ) const

◆ selectorText() [2/2]

WEBCORE_EXPORT String WebCore::CSSStyleRule::selectorText ( ) const

◆ setSelectorText() [1/2]

WEBCORE_EXPORT void WebCore::CSSStyleRule::setSelectorText ( const String )

◆ setSelectorText() [2/2]

void CSSStyleRule::setSelectorText ( const String selectorText)

◆ style() [1/2]

WEBCORE_EXPORT CSSStyleDeclaration& WebCore::CSSStyleRule::style ( )

◆ style() [2/2]

CSSStyleDeclaration & CSSStyleRule::style ( )

◆ styleRule() [1/2]

StyleRule& WebCore::CSSStyleRule::styleRule ( ) const
inline

◆ styleRule() [2/2]

StyleRule& WebCore::CSSStyleRule::styleRule ( ) const
inline

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