| 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 static PassRefPtrWillBeRawPtr<StyleSheetContents> create(StyleRuleImport* ow
nerRule, const String& originalURL, const CSSParserContext& context) | 59 static PassRefPtrWillBeRawPtr<StyleSheetContents> create(StyleRuleImport* ow
nerRule, const String& originalURL, const CSSParserContext& context) |
| 60 { | 60 { |
| 61 return adoptRefWillBeNoop(new StyleSheetContents(ownerRule, originalURL,
context)); | 61 return adoptRefWillBeNoop(new StyleSheetContents(ownerRule, originalURL,
context)); |
| 62 } | 62 } |
| 63 | 63 |
| 64 ~StyleSheetContents(); | 64 ~StyleSheetContents(); |
| 65 | 65 |
| 66 const CSSParserContext& parserContext() const { return m_parserContext; } | 66 const CSSParserContext& parserContext() const { return m_parserContext; } |
| 67 | 67 |
| 68 const AtomicString& defaultNamespace() { return m_defaultNamespace; } | 68 const AtomicString& defaultNamespace() { return m_defaultNamespace; } |
| 69 const AtomicString& determineNamespace(const AtomicString& prefix); | 69 const AtomicString& namespaceURIFromPrefix(const AtomicString& prefix); |
| 70 | 70 |
| 71 void parseAuthorStyleSheet(const CSSStyleSheetResource*, const SecurityOrigi
n*); | 71 void parseAuthorStyleSheet(const CSSStyleSheetResource*, const SecurityOrigi
n*); |
| 72 void parseString(const String&); | 72 void parseString(const String&); |
| 73 void parseStringAtPosition(const String&, const TextPosition&); | 73 void parseStringAtPosition(const String&, const TextPosition&); |
| 74 | 74 |
| 75 bool isCacheable() const; | 75 bool isCacheable() const; |
| 76 | 76 |
| 77 bool isLoading() const; | 77 bool isLoading() const; |
| 78 | 78 |
| 79 void checkLoaded(); | 79 void checkLoaded(); |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet>> m_loadingClients; | 193 WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet>> m_loadingClients; |
| 194 WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet>> m_completedClients; | 194 WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet>> m_completedClients; |
| 195 | 195 |
| 196 OwnPtrWillBeMember<RuleSet> m_ruleSet; | 196 OwnPtrWillBeMember<RuleSet> m_ruleSet; |
| 197 String m_sourceMapURL; | 197 String m_sourceMapURL; |
| 198 }; | 198 }; |
| 199 | 199 |
| 200 } // namespace | 200 } // namespace |
| 201 | 201 |
| 202 #endif | 202 #endif |
| OLD | NEW |