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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 #include "bindings/core/v8/ActiveScriptWrappable.h" | 34 #include "bindings/core/v8/ActiveScriptWrappable.h" |
35 #include "core/CoreExport.h" | 35 #include "core/CoreExport.h" |
36 #include "core/dom/ActiveDOMObject.h" | 36 #include "core/dom/ActiveDOMObject.h" |
37 #include "core/events/EventTarget.h" | 37 #include "core/events/EventTarget.h" |
38 #include "core/fileapi/FileError.h" | 38 #include "core/fileapi/FileError.h" |
39 #include "core/fileapi/FileReaderLoader.h" | 39 #include "core/fileapi/FileReaderLoader.h" |
40 #include "core/fileapi/FileReaderLoaderClient.h" | 40 #include "core/fileapi/FileReaderLoaderClient.h" |
41 #include "platform/heap/Handle.h" | 41 #include "platform/heap/Handle.h" |
42 #include "wtf/Forward.h" | 42 #include "wtf/Forward.h" |
43 #include "wtf/RefCounted.h" | |
44 | 43 |
45 namespace blink { | 44 namespace blink { |
46 | 45 |
47 class Blob; | 46 class Blob; |
48 class ExceptionState; | 47 class ExceptionState; |
49 class ExecutionContext; | 48 class ExecutionContext; |
50 class StringOrArrayBuffer; | 49 class StringOrArrayBuffer; |
51 | 50 |
52 class CORE_EXPORT FileReader final : public EventTargetWithInlineData, public Ac
tiveScriptWrappable, public ActiveDOMObject, public FileReaderLoaderClient { | 51 class CORE_EXPORT FileReader final : public EventTargetWithInlineData, public Ac
tiveScriptWrappable, public ActiveDOMObject, public FileReaderLoaderClient { |
53 DEFINE_WRAPPERTYPEINFO(); | 52 DEFINE_WRAPPERTYPEINFO(); |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 String m_encoding; | 129 String m_encoding; |
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 }; | 134 }; |
136 | 135 |
137 } // namespace blink | 136 } // namespace blink |
138 | 137 |
139 #endif // FileReader_h | 138 #endif // FileReader_h |
OLD | NEW |