OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All rights
reserved. | 3 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All rights
reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 Document* singleOwnerDocument() const; | 84 Document* singleOwnerDocument() const; |
85 | 85 |
86 const String& charset() const { return m_parserContext.charset(); } | 86 const String& charset() const { return m_parserContext.charset(); } |
87 | 87 |
88 bool loadCompleted() const; | 88 bool loadCompleted() const; |
89 bool hasFailedOrCanceledSubresources() const; | 89 bool hasFailedOrCanceledSubresources() const; |
90 | 90 |
91 void setHasSyntacticallyValidCSSHeader(bool isValidCss); | 91 void setHasSyntacticallyValidCSSHeader(bool isValidCss); |
92 bool hasSyntacticallyValidCSSHeader() const { return m_hasSyntacticallyValid
CSSHeader; } | 92 bool hasSyntacticallyValidCSSHeader() const { return m_hasSyntacticallyValid
CSSHeader; } |
93 | 93 |
94 void setHasFontFaceRule(bool b) { m_hasFontFaceRule = b; } | 94 void setHasFontFaceRule() { m_hasFontFaceRule = true; } |
95 bool hasFontFaceRule() const { return m_hasFontFaceRule; } | 95 bool hasFontFaceRule() const { return m_hasFontFaceRule; } |
96 void findFontFaceRules(HeapVector<Member<const StyleRuleFontFace>>& fontFace
Rules); | 96 void findFontFaceRules(HeapVector<Member<const StyleRuleFontFace>>& fontFace
Rules); |
97 | 97 |
98 void parserAddNamespace(const AtomicString& prefix, const AtomicString& uri)
; | 98 void parserAddNamespace(const AtomicString& prefix, const AtomicString& uri)
; |
99 void parserAppendRule(StyleRuleBase*); | 99 void parserAppendRule(StyleRuleBase*); |
100 | 100 |
101 void clearRules(); | 101 void clearRules(); |
102 | 102 |
103 // Rules other than @import. | 103 // Rules other than @import. |
104 const HeapVector<Member<StyleRuleBase>>& childRules() const { return m_child
Rules; } | 104 const HeapVector<Member<StyleRuleBase>>& childRules() const { return m_child
Rules; } |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 HeapHashSet<WeakMember<CSSStyleSheet>> m_loadingClients; | 192 HeapHashSet<WeakMember<CSSStyleSheet>> m_loadingClients; |
193 HeapHashSet<WeakMember<CSSStyleSheet>> m_completedClients; | 193 HeapHashSet<WeakMember<CSSStyleSheet>> m_completedClients; |
194 | 194 |
195 Member<RuleSet> m_ruleSet; | 195 Member<RuleSet> m_ruleSet; |
196 String m_sourceMapURL; | 196 String m_sourceMapURL; |
197 }; | 197 }; |
198 | 198 |
199 } // namespace blink | 199 } // namespace blink |
200 | 200 |
201 #endif | 201 #endif |
OLD | NEW |