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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 return new StyleSheetContents(ownerRule, originalURL, context); | 59 return new StyleSheetContents(ownerRule, originalURL, context); |
60 } | 60 } |
61 | 61 |
62 ~StyleSheetContents(); | 62 ~StyleSheetContents(); |
63 | 63 |
64 const CSSParserContext& parserContext() const { return m_parserContext; } | 64 const CSSParserContext& parserContext() const { return m_parserContext; } |
65 | 65 |
66 const AtomicString& defaultNamespace() { return m_defaultNamespace; } | 66 const AtomicString& defaultNamespace() { return m_defaultNamespace; } |
67 const AtomicString& namespaceURIFromPrefix(const AtomicString& prefix); | 67 const AtomicString& namespaceURIFromPrefix(const AtomicString& prefix); |
68 | 68 |
69 void parseAuthorStyleSheet(const CSSStyleSheetResource*, const SecurityOrigi
n*); | 69 void parseAuthorStyleSheet(CSSStyleSheetResource*, const SecurityOrigin*); |
70 void parseString(const String&); | 70 void parseString(const String&); |
71 void parseStringAtPosition(const String&, const TextPosition&); | 71 void parseStringAtPosition(const String&, const TextPosition&); |
72 | 72 |
73 bool isCacheableForResource() const; | 73 bool isCacheableForResource() const; |
74 bool isCacheableForStyleElement() const; | 74 bool isCacheableForStyleElement() const; |
75 | 75 |
76 bool isLoading() const; | 76 bool isLoading() const; |
77 | 77 |
78 void checkLoaded(); | 78 void checkLoaded(); |
79 void startLoadingDynamicSheet(); | 79 void startLoadingDynamicSheet(); |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 HeapHashSet<WeakMember<CSSStyleSheet>> m_loadingClients; | 195 HeapHashSet<WeakMember<CSSStyleSheet>> m_loadingClients; |
196 HeapHashSet<WeakMember<CSSStyleSheet>> m_completedClients; | 196 HeapHashSet<WeakMember<CSSStyleSheet>> m_completedClients; |
197 | 197 |
198 Member<RuleSet> m_ruleSet; | 198 Member<RuleSet> m_ruleSet; |
199 String m_sourceMapURL; | 199 String m_sourceMapURL; |
200 }; | 200 }; |
201 | 201 |
202 } // namespace blink | 202 } // namespace blink |
203 | 203 |
204 #endif | 204 #endif |
OLD | NEW |