OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2010 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 11 matching lines...) Expand all Loading... |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef DOMStringList_h | 26 #ifndef DOMStringList_h |
27 #define DOMStringList_h | 27 #define DOMStringList_h |
28 | 28 |
29 #include "bindings/core/v8/ScriptWrappable.h" | 29 #include "bindings/core/v8/ScriptWrappable.h" |
30 #include "core/CoreExport.h" | 30 #include "core/CoreExport.h" |
31 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
32 #include "wtf/PassRefPtr.h" | |
33 #include "wtf/RefCounted.h" | |
34 #include "wtf/Vector.h" | 32 #include "wtf/Vector.h" |
35 #include "wtf/text/WTFString.h" | 33 #include "wtf/text/WTFString.h" |
36 | 34 |
37 namespace blink { | 35 namespace blink { |
38 | 36 |
39 class ExecutionContext; | 37 class ExecutionContext; |
40 | 38 |
41 // FIXME: Some consumers of this class may benefit from lazily fetching items ra
ther | 39 // FIXME: Some consumers of this class may benefit from lazily fetching items ra
ther |
42 // than creating the list statically as is currently the only option. | 40 // than creating the list statically as is currently the only option. |
43 class CORE_EXPORT DOMStringList final : public GarbageCollectedFinalized<DOMStri
ngList>, public ScriptWrappable { | 41 class CORE_EXPORT DOMStringList final : public GarbageCollectedFinalized<DOMStri
ngList>, public ScriptWrappable { |
(...skipping 29 matching lines...) Expand all Loading... |
73 private: | 71 private: |
74 explicit DOMStringList(Source source) : m_source(source) { } | 72 explicit DOMStringList(Source source) : m_source(source) { } |
75 | 73 |
76 Vector<String> m_strings; | 74 Vector<String> m_strings; |
77 Source m_source; | 75 Source m_source; |
78 }; | 76 }; |
79 | 77 |
80 } // namespace blink | 78 } // namespace blink |
81 | 79 |
82 #endif // DOMStringList_h | 80 #endif // DOMStringList_h |
OLD | NEW |