| 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 18 matching lines...) Expand all Loading... |
| 29 #include "wtf/ListHashSet.h" | 29 #include "wtf/ListHashSet.h" |
| 30 #include "wtf/RefCounted.h" | 30 #include "wtf/RefCounted.h" |
| 31 #include "wtf/Vector.h" | 31 #include "wtf/Vector.h" |
| 32 #include "wtf/text/AtomicStringHash.h" | 32 #include "wtf/text/AtomicStringHash.h" |
| 33 #include "wtf/text/StringHash.h" | 33 #include "wtf/text/StringHash.h" |
| 34 #include "wtf/text/TextPosition.h" | 34 #include "wtf/text/TextPosition.h" |
| 35 | 35 |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class CSSDeserializeStream; |
| 40 class CSSSerializeStream; |
| 39 class CSSStyleSheet; | 41 class CSSStyleSheet; |
| 40 class CSSStyleSheetResource; | 42 class CSSStyleSheetResource; |
| 41 class Document; | 43 class Document; |
| 42 class Node; | 44 class Node; |
| 43 class SecurityOrigin; | 45 class SecurityOrigin; |
| 44 class StyleRuleBase; | 46 class StyleRuleBase; |
| 45 class StyleRuleFontFace; | 47 class StyleRuleFontFace; |
| 46 class StyleRuleImport; | 48 class StyleRuleImport; |
| 47 class StyleRuleNamespace; | 49 class StyleRuleNamespace; |
| 48 | 50 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 67 | 69 |
| 68 const AtomicString& defaultNamespace() { return m_defaultNamespace; } | 70 const AtomicString& defaultNamespace() { return m_defaultNamespace; } |
| 69 const AtomicString& determineNamespace(const AtomicString& prefix); | 71 const AtomicString& determineNamespace(const AtomicString& prefix); |
| 70 | 72 |
| 71 void parseAuthorStyleSheet(const CSSStyleSheetResource*, const SecurityOrigi
n*); | 73 void parseAuthorStyleSheet(const CSSStyleSheetResource*, const SecurityOrigi
n*); |
| 72 void parseString(const String&); | 74 void parseString(const String&); |
| 73 void parseStringAtPosition(const String&, const TextPosition&); | 75 void parseStringAtPosition(const String&, const TextPosition&); |
| 74 | 76 |
| 75 bool isCacheable() const; | 77 bool isCacheable() const; |
| 76 | 78 |
| 79 void deserialize(CSSDeserializeStream*); |
| 80 void serialize(CSSSerializeStream*); |
| 81 |
| 77 bool isLoading() const; | 82 bool isLoading() const; |
| 78 | 83 |
| 79 void checkLoaded(); | 84 void checkLoaded(); |
| 80 void startLoadingDynamicSheet(); | 85 void startLoadingDynamicSheet(); |
| 81 | 86 |
| 82 StyleSheetContents* rootStyleSheet() const; | 87 StyleSheetContents* rootStyleSheet() const; |
| 83 bool hasSingleOwnerNode() const; | 88 bool hasSingleOwnerNode() const; |
| 84 Node* singleOwnerNode() const; | 89 Node* singleOwnerNode() const; |
| 85 Document* singleOwnerDocument() const; | 90 Document* singleOwnerDocument() const; |
| 86 | 91 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet>> m_loadingClients; | 198 WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet>> m_loadingClients; |
| 194 WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet>> m_completedClients; | 199 WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet>> m_completedClients; |
| 195 | 200 |
| 196 OwnPtrWillBeMember<RuleSet> m_ruleSet; | 201 OwnPtrWillBeMember<RuleSet> m_ruleSet; |
| 197 String m_sourceMapURL; | 202 String m_sourceMapURL; |
| 198 }; | 203 }; |
| 199 | 204 |
| 200 } // namespace | 205 } // namespace |
| 201 | 206 |
| 202 #endif | 207 #endif |
| OLD | NEW |