| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(const CSSStyleSheetResource*, const SecurityOrigi
n*); |
| 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 isCacheable() const; | 73 bool isCacheableForResource() const; |
| 74 bool isCacheableForStyleElement() const; |
| 74 | 75 |
| 75 bool isLoading() const; | 76 bool isLoading() const; |
| 76 | 77 |
| 77 void checkLoaded(); | 78 void checkLoaded(); |
| 78 void startLoadingDynamicSheet(); | 79 void startLoadingDynamicSheet(); |
| 79 | 80 |
| 80 StyleSheetContents* rootStyleSheet() const; | 81 StyleSheetContents* rootStyleSheet() const; |
| 81 bool hasSingleOwnerNode() const; | 82 bool hasSingleOwnerNode() const; |
| 82 Node* singleOwnerNode() const; | 83 Node* singleOwnerNode() const; |
| 83 Document* singleOwnerDocument() const; | 84 Document* singleOwnerDocument() const; |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 HeapHashSet<WeakMember<CSSStyleSheet>> m_loadingClients; | 191 HeapHashSet<WeakMember<CSSStyleSheet>> m_loadingClients; |
| 191 HeapHashSet<WeakMember<CSSStyleSheet>> m_completedClients; | 192 HeapHashSet<WeakMember<CSSStyleSheet>> m_completedClients; |
| 192 | 193 |
| 193 Member<RuleSet> m_ruleSet; | 194 Member<RuleSet> m_ruleSet; |
| 194 String m_sourceMapURL; | 195 String m_sourceMapURL; |
| 195 }; | 196 }; |
| 196 | 197 |
| 197 } // namespace blink | 198 } // namespace blink |
| 198 | 199 |
| 199 #endif | 200 #endif |
| OLD | NEW |