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 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2006, 2007 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 15 matching lines...) Expand all Loading... |
26 #include "core/dom/TreeScope.h" | 26 #include "core/dom/TreeScope.h" |
27 #include "platform/heap/Handle.h" | 27 #include "platform/heap/Handle.h" |
28 #include "wtf/Forward.h" | 28 #include "wtf/Forward.h" |
29 #include "wtf/Vector.h" | 29 #include "wtf/Vector.h" |
30 | 30 |
31 namespace blink { | 31 namespace blink { |
32 | 32 |
33 class HTMLStyleElement; | 33 class HTMLStyleElement; |
34 class StyleSheet; | 34 class StyleSheet; |
35 | 35 |
36 class StyleSheetList final : public GarbageCollected<StyleSheetList>, | 36 class CORE_EXPORT StyleSheetList final |
37 public ScriptWrappable { | 37 : public GarbageCollected<StyleSheetList>, |
| 38 public ScriptWrappable { |
38 DEFINE_WRAPPERTYPEINFO(); | 39 DEFINE_WRAPPERTYPEINFO(); |
39 | 40 |
40 public: | 41 public: |
41 static StyleSheetList* create(TreeScope* treeScope) { | 42 static StyleSheetList* create(TreeScope* treeScope) { |
42 return new StyleSheetList(treeScope); | 43 return new StyleSheetList(treeScope); |
43 } | 44 } |
44 | 45 |
45 unsigned length(); | 46 unsigned length(); |
46 StyleSheet* item(unsigned index); | 47 StyleSheet* item(unsigned index); |
47 | 48 |
(...skipping 10 matching lines...) Expand all Loading... |
58 private: | 59 private: |
59 explicit StyleSheetList(TreeScope*); | 60 explicit StyleSheetList(TreeScope*); |
60 const HeapVector<TraceWrapperMember<StyleSheet>>& styleSheets() const; | 61 const HeapVector<TraceWrapperMember<StyleSheet>>& styleSheets() const; |
61 | 62 |
62 Member<TreeScope> m_treeScope; | 63 Member<TreeScope> m_treeScope; |
63 }; | 64 }; |
64 | 65 |
65 } // namespace blink | 66 } // namespace blink |
66 | 67 |
67 #endif // StyleSheetList_h | 68 #endif // StyleSheetList_h |
OLD | NEW |