| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 12 matching lines...) Expand all Loading... |
| 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 FileList_h | 26 #ifndef FileList_h |
| 27 #define FileList_h | 27 #define FileList_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 "core/fileapi/File.h" | 31 #include "core/fileapi/File.h" |
| 32 #include "platform/heap/Handle.h" | 32 #include "platform/heap/Handle.h" |
| 33 #include "wtf/PassRefPtr.h" | |
| 34 #include "wtf/RefCounted.h" | |
| 35 #include "wtf/RefPtr.h" | |
| 36 #include "wtf/Vector.h" | 33 #include "wtf/Vector.h" |
| 37 | 34 |
| 38 namespace blink { | 35 namespace blink { |
| 39 | 36 |
| 40 class CORE_EXPORT FileList final : public GarbageCollected<FileList>, public Scr
iptWrappable { | 37 class CORE_EXPORT FileList final : public GarbageCollected<FileList>, public Scr
iptWrappable { |
| 41 DEFINE_WRAPPERTYPEINFO(); | 38 DEFINE_WRAPPERTYPEINFO(); |
| 42 public: | 39 public: |
| 43 static FileList* create() | 40 static FileList* create() |
| 44 { | 41 { |
| 45 return new FileList; | 42 return new FileList; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 57 | 54 |
| 58 private: | 55 private: |
| 59 FileList(); | 56 FileList(); |
| 60 | 57 |
| 61 HeapVector<Member<File>> m_files; | 58 HeapVector<Member<File>> m_files; |
| 62 }; | 59 }; |
| 63 | 60 |
| 64 } // namespace blink | 61 } // namespace blink |
| 65 | 62 |
| 66 #endif // FileList_h | 63 #endif // FileList_h |
| OLD | NEW |