webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
WebCore::CSSGroupingRule Class Reference

#include <CSSGroupingRule.h>

Inheritance diagram for WebCore::CSSGroupingRule:
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 WebCore::CSSMediaRule WebCore::CSSMediaRule WebCore::CSSSupportsRule

Public Member Functions

virtual ~CSSGroupingRule ()
 
WEBCORE_EXPORT CSSRuleListcssRules () const
 
WEBCORE_EXPORT ExceptionOr< unsigned > insertRule (const String &rule, unsigned index)
 
WEBCORE_EXPORT ExceptionOr< voiddeleteRule (unsigned index)
 
unsigned length () const
 
CSSRuleitem (unsigned index) const
 
virtual ~CSSGroupingRule ()
 
WEBCORE_EXPORT CSSRuleListcssRules () const
 
WEBCORE_EXPORT ExceptionOr< unsigned > insertRule (const String &rule, unsigned index)
 
WEBCORE_EXPORT ExceptionOr< voiddeleteRule (unsigned index)
 
unsigned length () const
 
CSSRuleitem (unsigned index) const
 
- Public Member Functions inherited from WebCore::CSSRule
virtual ~CSSRule ()
 
virtual Type type () const =0
 
virtual String cssText () const =0
 
void setParentStyleSheet (CSSStyleSheet *styleSheet)
 
void setParentRule (CSSRule *rule)
 
CSSStyleSheetparentStyleSheet () const
 
CSSRuleparentRule () const
 
WEBCORE_EXPORT ExceptionOr< voidsetCssText (const String &)
 
virtual ~CSSRule ()
 
virtual Type type () const =0
 
virtual String cssText () const =0
 
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 ()
 

Protected Member Functions

 CSSGroupingRule (StyleRuleGroup &groupRule, CSSStyleSheet *parent)
 
void reattach (StyleRuleBase &) override
 
void appendCssTextForItems (StringBuilder &) const
 
 CSSGroupingRule (StyleRuleGroup &groupRule, CSSStyleSheet *parent)
 
void reattach (StyleRuleBase &) override
 
void appendCssTextForItems (StringBuilder &) const
 
- 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
 

Protected Attributes

Ref< StyleRuleGroupm_groupRule
 

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 }
 

Constructor & Destructor Documentation

◆ ~CSSGroupingRule() [1/2]

WebCore::CSSGroupingRule::~CSSGroupingRule ( )
virtual

◆ CSSGroupingRule() [1/2]

WebCore::CSSGroupingRule::CSSGroupingRule ( StyleRuleGroup groupRule,
CSSStyleSheet parent 
)
protected

◆ ~CSSGroupingRule() [2/2]

virtual WebCore::CSSGroupingRule::~CSSGroupingRule ( )
virtual

◆ CSSGroupingRule() [2/2]

WebCore::CSSGroupingRule::CSSGroupingRule ( StyleRuleGroup groupRule,
CSSStyleSheet parent 
)
protected

Member Function Documentation

◆ appendCssTextForItems() [1/2]

void WebCore::CSSGroupingRule::appendCssTextForItems ( StringBuilder result) const
protected

◆ appendCssTextForItems() [2/2]

void WebCore::CSSGroupingRule::appendCssTextForItems ( StringBuilder ) const
protected

◆ cssRules() [1/2]

WEBCORE_EXPORT CSSRuleList& WebCore::CSSGroupingRule::cssRules ( ) const

◆ cssRules() [2/2]

CSSRuleList & WebCore::CSSGroupingRule::cssRules ( ) const

◆ deleteRule() [1/2]

WEBCORE_EXPORT ExceptionOr<void> WebCore::CSSGroupingRule::deleteRule ( unsigned  index)

◆ deleteRule() [2/2]

ExceptionOr< void > WebCore::CSSGroupingRule::deleteRule ( unsigned  index)

◆ insertRule() [1/2]

ExceptionOr< unsigned > WebCore::CSSGroupingRule::insertRule ( const String rule,
unsigned  index 
)

◆ insertRule() [2/2]

WEBCORE_EXPORT ExceptionOr<unsigned> WebCore::CSSGroupingRule::insertRule ( const String rule,
unsigned  index 
)

◆ item() [1/2]

CSSRule * WebCore::CSSGroupingRule::item ( unsigned  index) const

◆ item() [2/2]

CSSRule* WebCore::CSSGroupingRule::item ( unsigned  index) const

◆ length() [1/2]

unsigned WebCore::CSSGroupingRule::length ( ) const

◆ length() [2/2]

unsigned WebCore::CSSGroupingRule::length ( ) const

◆ reattach() [1/2]

void WebCore::CSSGroupingRule::reattach ( StyleRuleBase )
overrideprotectedvirtual

Implements WebCore::CSSRule.

◆ reattach() [2/2]

void WebCore::CSSGroupingRule::reattach ( StyleRuleBase rule)
overrideprotectedvirtual

Implements WebCore::CSSRule.

Member Data Documentation

◆ m_groupRule

Ref< StyleRuleGroup > WebCore::CSSGroupingRule::m_groupRule
protected

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