OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2012 Adobe Systems Incorporated. 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
10 * disclaimer. | 10 * disclaimer. |
(...skipping 13 matching lines...) Expand all Loading... |
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF | 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF |
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
28 */ | 28 */ |
29 #ifndef DOMNamedFlowCollection_h | 29 #ifndef DOMNamedFlowCollection_h |
30 #define DOMNamedFlowCollection_h | 30 #define DOMNamedFlowCollection_h |
31 | 31 |
32 #include "bindings/v8/ScriptWrappable.h" | 32 #include "bindings/v8/ScriptWrappable.h" |
33 #include "core/dom/NamedFlowCollection.h" | 33 #include "core/dom/NamedFlowCollection.h" |
34 #include <wtf/ListHashSet.h> | 34 #include "wtf/ListHashSet.h" |
35 #include <wtf/PassRefPtr.h> | 35 #include "wtf/PassRefPtr.h" |
36 #include <wtf/RefCounted.h> | 36 #include "wtf/RefCounted.h" |
37 #include <wtf/Vector.h> | 37 #include "wtf/Vector.h" |
38 | 38 |
39 namespace WebCore { | 39 namespace WebCore { |
40 | 40 |
41 class Document; | 41 class Document; |
42 class NamedFlow; | 42 class NamedFlow; |
43 | 43 |
44 class DOMNamedFlowCollection : public ScriptWrappable, public RefCounted<DOMName
dFlowCollection> { | 44 class DOMNamedFlowCollection : public ScriptWrappable, public RefCounted<DOMName
dFlowCollection> { |
45 public: | 45 public: |
46 static PassRefPtr<DOMNamedFlowCollection> create(const Vector<NamedFlow*>& n
amedFlows) | 46 static PassRefPtr<DOMNamedFlowCollection> create(const Vector<NamedFlow*>& n
amedFlows) |
47 { | 47 { |
(...skipping 11 matching lines...) Expand all Loading... |
59 struct DOMNamedFlowHashTranslator; | 59 struct DOMNamedFlowHashTranslator; |
60 | 60 |
61 typedef ListHashSet<RefPtr<NamedFlow>, 1, DOMNamedFlowHashFunctions> DOMName
dFlowSet; | 61 typedef ListHashSet<RefPtr<NamedFlow>, 1, DOMNamedFlowHashFunctions> DOMName
dFlowSet; |
62 explicit DOMNamedFlowCollection(const Vector<NamedFlow*>&); | 62 explicit DOMNamedFlowCollection(const Vector<NamedFlow*>&); |
63 DOMNamedFlowSet m_namedFlows; | 63 DOMNamedFlowSet m_namedFlows; |
64 }; | 64 }; |
65 | 65 |
66 } // namespace WebCore | 66 } // namespace WebCore |
67 #endif | 67 #endif |
68 | 68 |
OLD | NEW |