OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Neither the name of Google Inc. nor the names of its | 10 * * Neither the name of Google Inc. nor the names of its |
(...skipping 11 matching lines...) Expand all Loading... |
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 #ifndef DocumentStyleSheetCollector_h | 27 #ifndef DocumentStyleSheetCollector_h |
28 #define DocumentStyleSheetCollector_h | 28 #define DocumentStyleSheetCollector_h |
29 | 29 |
30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
31 #include "wtf/HashSet.h" | 31 #include "wtf/HashSet.h" |
32 #include "wtf/RefPtr.h" | |
33 #include "wtf/Vector.h" | 32 #include "wtf/Vector.h" |
34 | 33 |
35 namespace blink { | 34 namespace blink { |
36 | 35 |
37 class CSSStyleSheet; | 36 class CSSStyleSheet; |
38 class Document; | 37 class Document; |
39 class StyleSheet; | 38 class StyleSheet; |
40 class StyleSheetCollection; | 39 class StyleSheetCollection; |
41 | 40 |
42 class DocumentStyleSheetCollector { | 41 class DocumentStyleSheetCollector { |
(...skipping 28 matching lines...) Expand all Loading... |
71 }; | 70 }; |
72 | 71 |
73 class ImportedDocumentStyleSheetCollector final : public DocumentStyleSheetColle
ctor { | 72 class ImportedDocumentStyleSheetCollector final : public DocumentStyleSheetColle
ctor { |
74 public: | 73 public: |
75 ImportedDocumentStyleSheetCollector(DocumentStyleSheetCollector&, HeapVector
<Member<StyleSheet>>&); | 74 ImportedDocumentStyleSheetCollector(DocumentStyleSheetCollector&, HeapVector
<Member<StyleSheet>>&); |
76 }; | 75 }; |
77 | 76 |
78 } // namespace blink | 77 } // namespace blink |
79 | 78 |
80 #endif // DocumentStyleSheetCollector_h | 79 #endif // DocumentStyleSheetCollector_h |
OLD | NEW |