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 28 matching lines...) Expand all Loading... |
39 class CSSStyleSheet; | 39 class CSSStyleSheet; |
40 class CSSStyleSheetResource; | 40 class CSSStyleSheetResource; |
41 class Document; | 41 class Document; |
42 class Node; | 42 class Node; |
43 class SecurityOrigin; | 43 class SecurityOrigin; |
44 class StyleRuleBase; | 44 class StyleRuleBase; |
45 class StyleRuleFontFace; | 45 class StyleRuleFontFace; |
46 class StyleRuleImport; | 46 class StyleRuleImport; |
47 | 47 |
48 class StyleSheetContents : public RefCountedWillBeGarbageCollectedFinalized<Styl
eSheetContents> { | 48 class StyleSheetContents : public RefCountedWillBeGarbageCollectedFinalized<Styl
eSheetContents> { |
49 DECLARE_GC_INFO | |
50 public: | 49 public: |
51 static PassRefPtrWillBeRawPtr<StyleSheetContents> create(const CSSParserCont
ext& context) | 50 static PassRefPtrWillBeRawPtr<StyleSheetContents> create(const CSSParserCont
ext& context) |
52 { | 51 { |
53 return adoptRefWillBeNoop(new StyleSheetContents(0, String(), context)); | 52 return adoptRefWillBeNoop(new StyleSheetContents(0, String(), context)); |
54 } | 53 } |
55 static PassRefPtrWillBeRawPtr<StyleSheetContents> create(const String& origi
nalURL, const CSSParserContext& context) | 54 static PassRefPtrWillBeRawPtr<StyleSheetContents> create(const String& origi
nalURL, const CSSParserContext& context) |
56 { | 55 { |
57 return adoptRefWillBeNoop(new StyleSheetContents(0, originalURL, context
)); | 56 return adoptRefWillBeNoop(new StyleSheetContents(0, originalURL, context
)); |
58 } | 57 } |
59 static PassRefPtrWillBeRawPtr<StyleSheetContents> create(StyleRuleImport* ow
nerRule, const String& originalURL, const CSSParserContext& context) | 58 static PassRefPtrWillBeRawPtr<StyleSheetContents> create(StyleRuleImport* ow
nerRule, const String& originalURL, const CSSParserContext& context) |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 | 185 |
187 CSSParserContext m_parserContext; | 186 CSSParserContext m_parserContext; |
188 | 187 |
189 Vector<CSSStyleSheet*> m_clients; | 188 Vector<CSSStyleSheet*> m_clients; |
190 OwnPtr<RuleSet> m_ruleSet; | 189 OwnPtr<RuleSet> m_ruleSet; |
191 }; | 190 }; |
192 | 191 |
193 } // namespace | 192 } // namespace |
194 | 193 |
195 #endif | 194 #endif |
OLD | NEW |