| 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 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #define FileReader_h | 32 #define FileReader_h |
| 33 | 33 |
| 34 #include "core/dom/ActiveDOMObject.h" | 34 #include "core/dom/ActiveDOMObject.h" |
| 35 #include "core/events/EventTarget.h" | 35 #include "core/events/EventTarget.h" |
| 36 #include "core/fileapi/FileError.h" | 36 #include "core/fileapi/FileError.h" |
| 37 #include "core/fileapi/FileReaderLoader.h" | 37 #include "core/fileapi/FileReaderLoader.h" |
| 38 #include "core/fileapi/FileReaderLoaderClient.h" | 38 #include "core/fileapi/FileReaderLoaderClient.h" |
| 39 #include "platform/heap/Handle.h" | 39 #include "platform/heap/Handle.h" |
| 40 #include "wtf/Forward.h" | 40 #include "wtf/Forward.h" |
| 41 #include "wtf/RefCounted.h" | 41 #include "wtf/RefCounted.h" |
| 42 #include "wtf/text/WTFString.h" | |
| 43 | 42 |
| 44 namespace blink { | 43 namespace blink { |
| 45 | 44 |
| 46 class Blob; | 45 class Blob; |
| 47 class DOMArrayBuffer; | 46 class DOMArrayBuffer; |
| 48 class ExceptionState; | 47 class ExceptionState; |
| 49 class ExecutionContext; | 48 class ExecutionContext; |
| 50 | 49 |
| 51 class FileReader final : public RefCountedGarbageCollectedEventTargetWithInlineD
ata<FileReader>, public ActiveDOMObject, public FileReaderLoaderClient { | 50 class FileReader final : public RefCountedGarbageCollectedEventTargetWithInlineD
ata<FileReader>, public ActiveDOMObject, public FileReaderLoaderClient { |
| 52 DEFINE_WRAPPERTYPEINFO(); | 51 DEFINE_WRAPPERTYPEINFO(); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 130 |
| 132 OwnPtr<FileReaderLoader> m_loader; | 131 OwnPtr<FileReaderLoader> m_loader; |
| 133 Member<FileError> m_error; | 132 Member<FileError> m_error; |
| 134 double m_lastProgressNotificationTimeMS; | 133 double m_lastProgressNotificationTimeMS; |
| 135 int m_asyncOperationId; | 134 int m_asyncOperationId; |
| 136 }; | 135 }; |
| 137 | 136 |
| 138 } // namespace blink | 137 } // namespace blink |
| 139 | 138 |
| 140 #endif // FileReader_h | 139 #endif // FileReader_h |
| OLD | NEW |