Home
last modified time | relevance | path

Searched refs:CSSRule (Results 1 – 25 of 142) sorted by relevance

123456

/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8CSSRuleCustom.cpp48 v8::Handle<v8::Object> wrap(CSSRule* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* iso… in wrap()
52 case CSSRule::UNKNOWN_RULE: in wrap()
57 case CSSRule::STYLE_RULE: in wrap()
59 case CSSRule::CHARSET_RULE: in wrap()
61 case CSSRule::IMPORT_RULE: in wrap()
63 case CSSRule::MEDIA_RULE: in wrap()
65 case CSSRule::FONT_FACE_RULE: in wrap()
67 case CSSRule::PAGE_RULE: in wrap()
69 case CSSRule::KEYFRAME_RULE: in wrap()
71 case CSSRule::KEYFRAMES_RULE: in wrap()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSRule.h36 class CSSRule : public RefCountedWillBeGarbageCollectedFinalized<CSSRule> {
38 virtual ~CSSRule() { } in ~CSSRule()
70 void setParentRule(CSSRule* rule) in setParentRule()
85 CSSRule* parentRule() const { return m_parentIsRule ? m_parentRule : 0; } in parentRule()
91 CSSRule(CSSStyleSheet* parent) in CSSRule() function
109 CSSRule* m_parentRule;
115 …DEFINE_TYPE_CASTS(ToType, CSSRule, rule, rule->type() == CSSRule::TYPE_NAME, rule.type() == CSSRul…
DCSSRule.cpp38 COMPILE_ASSERT(sizeof(CSSRule) == sizeof(SameSizeAsCSSRule), CSSRule_should_stay_small);
40 COMPILE_ASSERT(StyleRuleBase::Viewport == static_cast<StyleRuleBase::Type>(CSSRule::VIEWPORT_RULE),…
42 void CSSRule::setCSSText(const String&) in setCSSText()
47 const CSSParserContext& CSSRule::parserContext() const in parserContext()
53 void CSSRule::trace(Visitor* visitor) in trace()
DCSSUnknownRule.h29 class CSSUnknownRule FINAL : public CSSRule {
31 CSSUnknownRule() : CSSRule(0) { } in CSSUnknownRule()
34 virtual CSSRule::Type type() const OVERRIDE { return UNKNOWN_RULE; } in type()
37 virtual void trace(Visitor* visitor) OVERRIDE { CSSRule::trace(visitor); } in trace()
DCSSRuleList.h32 class CSSRule; variable
47 virtual CSSRule* item(unsigned index) const = 0;
69 WillBeHeapVector<RefPtrWillBeMember<CSSRule> >& rules() { return m_rules; } in rules()
80 …virtual CSSRule* item(unsigned index) const OVERRIDE { return index < m_rules.size() ? m_rules[ind… in item()
82 WillBeHeapVector<RefPtrWillBeMember<CSSRule> > m_rules;
111 virtual CSSRule* item(unsigned index) const OVERRIDE { return m_rule->item(index); } in item()
DCSSStyleSheet.h35 class CSSRule; variable
80 CSSRule* item(unsigned index);
84 virtual CSSRule* ownerRule() const OVERRIDE { return m_ownerRule; } in ownerRule()
99 explicit RuleMutationScope(CSSRule*);
143 RawPtrWillBeMember<CSSRule> m_ownerRule;
148 mutable WillBeHeapVector<RefPtrWillBeMember<CSSRule> > m_childRuleCSSOMWrappers;
159 inline CSSStyleSheet::RuleMutationScope::RuleMutationScope(CSSRule* rule) in RuleMutationScope()
DMediaList.h34 class CSSRule; variable
78 … static PassRefPtrWillBeRawPtr<MediaList> create(MediaQuerySet* mediaQueries, CSSRule* parentRule) in create()
94 CSSRule* parentRule() const { return m_parentRule; } in parentRule()
111 MediaList(MediaQuerySet*, CSSRule* parentRule);
117 RawPtrWillBeMember<CSSRule> m_parentRule;
DElementRuleCollector.cpp179 CSSRuleList* ElementRuleCollector::nestedRuleList(CSSRule* rule) in nestedRuleList()
182 case CSSRule::MEDIA_RULE: in nestedRuleList()
184 case CSSRule::KEYFRAMES_RULE: in nestedRuleList()
186 case CSSRule::SUPPORTS_RULE: in nestedRuleList()
194 CSSRule* ElementRuleCollector::findStyleRule(CSSRuleCollection* cssRules, StyleRule* styleRule) in findStyleRule()
198 CSSRule* result = 0; in findStyleRule()
200 CSSRule* cssRule = cssRules->item(i); in findStyleRule()
201 CSSRule::Type cssRuleType = cssRule->type(); in findStyleRule()
202 if (cssRuleType == CSSRule::STYLE_RULE) { in findStyleRule()
206 } else if (cssRuleType == CSSRule::IMPORT_RULE) { in findStyleRule()
[all …]
DPropertySetCSSStyleDeclaration.h36 class CSSRule; variable
51 virtual CSSRule* parentRule() const OVERRIDE { return 0; } in parentRule()
101 …Ptr<StyleRuleCSSStyleDeclaration> create(MutableStylePropertySet& propertySet, CSSRule* parentRule) in create()
118 StyleRuleCSSStyleDeclaration(MutableStylePropertySet&, CSSRule*);
123 virtual CSSRule* parentRule() const OVERRIDE { return m_parentRule; } in parentRule()
131 RawPtrWillBeMember<CSSRule> m_parentRule;
DCSSGroupingRule.h35 class CSSGroupingRule : public CSSRule {
48 CSSRule* item(unsigned index) const;
58 mutable WillBeHeapVector<RefPtrWillBeMember<CSSRule> > m_childRuleCSSOMWrappers;
DCSSGroupingRule.cpp45 : CSSRule(parent) in CSSGroupingRule()
91 m_childRuleCSSOMWrappers.insert(index, RefPtrWillBeMember<CSSRule>(nullptr)); in insertRule()
128 CSSRule* CSSGroupingRule::item(unsigned index) const in item()
133 RefPtrWillBeMember<CSSRule>& rule = m_childRuleCSSOMWrappers[index]; in item()
158 CSSRule::trace(visitor); in trace()
DCSSCharsetRule.h31 class CSSCharsetRule FINAL : public CSSRule {
40 virtual CSSRule::Type type() const OVERRIDE { return CHARSET_RULE; } in type()
47 virtual void trace(Visitor* visitor) OVERRIDE { CSSRule::trace(visitor); } in trace()
DStyleRule.h32 class CSSRule; variable
80 PassRefPtrWillBeRawPtr<CSSRule> createCSSOMWrapper(CSSStyleSheet* parentSheet = 0) const;
81 PassRefPtrWillBeRawPtr<CSSRule> createCSSOMWrapper(CSSRule* parentRule) const;
96 …PassRefPtrWillBeRawPtr<CSSRule> createCSSOMWrapper(CSSStyleSheet* parentSheet, CSSRule* parentRule…
DStyleRule.cpp45 PassRefPtrWillBeRawPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSStyleSheet* parentSheet) const in createCSSOMWrapper()
50 PassRefPtrWillBeRawPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSRule* parentRule) const in createCSSOMWrapper()
205 PassRefPtrWillBeRawPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSStyleSheet* parentSheet, CSSRu… in createCSSOMWrapper()
207 RefPtrWillBeRawPtr<CSSRule> rule = nullptr; in createCSSOMWrapper()
DCSSSupportsRule.h36 class CSSRule; variable
48 virtual CSSRule::Type type() const OVERRIDE { return SUPPORTS_RULE; } in type()
DStyleSheet.h31 class CSSRule; variable
50 virtual CSSRule* ownerRule() const { return 0; } in ownerRule()
DCSSViewportRule.h43 class CSSViewportRule FINAL: public CSSRule {
51 virtual CSSRule::Type type() const OVERRIDE { return VIEWPORT_RULE; } in type()
DCSSFilterRule.h42 class CSSFilterRule FINAL : public CSSRule {
51 virtual CSSRule::Type type() const OVERRIDE { return WEBKIT_FILTER_RULE; } in type()
DCSSFontFaceRule.h34 class CSSFontFaceRule FINAL : public CSSRule {
43 virtual CSSRule::Type type() const OVERRIDE { return FONT_FACE_RULE; } in type()
DCSSPageRule.h35 class CSSPageRule FINAL : public CSSRule {
44 virtual CSSRule::Type type() const OVERRIDE { return PAGE_RULE; } in type()
DCSSStyleRule.h34 class CSSStyleRule FINAL : public CSSRule {
43 virtual CSSRule::Type type() const OVERRIDE { return STYLE_RULE; } in type()
DCSSImportRule.h35 class CSSImportRule FINAL : public CSSRule {
44 virtual CSSRule::Type type() const OVERRIDE { return IMPORT_RULE; } in type()
DCSSViewportRule.cpp42 : CSSRule(sheet) in CSSViewportRule()
90 CSSRule::trace(visitor); in trace()
DCSSFontFaceRule.cpp33 : CSSRule(parent) in CSSFontFaceRule()
77 CSSRule::trace(visitor); in trace()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorCSSAgent.h46 class CSSRule; variable
97 static CSSStyleRule* asCSSStyleRule(CSSRule*);
135 …Ptr<JSONObject>& range, const String& selector, RefPtr<TypeBuilder::CSS::CSSRule>& result) OVERRID…
137 …t String& styleSheetId, const String& selector, RefPtr<TypeBuilder::CSS::CSSRule>& result) OVERRID…
142 …bool collectMediaQueriesFromRule(CSSRule*, TypeBuilder::Array<TypeBuilder::CSS::CSSMedia>* mediaAr…
145 PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSMedia> > buildMediaListChain(CSSRule*);
182 PassRefPtr<TypeBuilder::CSS::CSSRule> buildObjectForRule(CSSStyleRule*);

123456