| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 virtual void stop(); | 80 virtual void stop(); |
| 81 | 81 |
| 82 // EventTarget | 82 // EventTarget |
| 83 virtual const AtomicString& interfaceName() const; | 83 virtual const AtomicString& interfaceName() const; |
| 84 virtual ScriptExecutionContext* scriptExecutionContext() const { return Acti
veDOMObject::scriptExecutionContext(); } | 84 virtual ScriptExecutionContext* scriptExecutionContext() const { return Acti
veDOMObject::scriptExecutionContext(); } |
| 85 | 85 |
| 86 // FileReaderLoaderClient | 86 // FileReaderLoaderClient |
| 87 virtual void didStartLoading(); | 87 virtual void didStartLoading(); |
| 88 virtual void didReceiveData(); | 88 virtual void didReceiveData(); |
| 89 virtual void didFinishLoading(); | 89 virtual void didFinishLoading(); |
| 90 virtual void didFail(int errorCode); | 90 virtual void didFail(FileError::ErrorCode); |
| 91 | 91 |
| 92 using RefCounted<FileReader>::ref; | 92 using RefCounted<FileReader>::ref; |
| 93 using RefCounted<FileReader>::deref; | 93 using RefCounted<FileReader>::deref; |
| 94 | 94 |
| 95 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadstart); | 95 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadstart); |
| 96 DEFINE_ATTRIBUTE_EVENT_LISTENER(progress); | 96 DEFINE_ATTRIBUTE_EVENT_LISTENER(progress); |
| 97 DEFINE_ATTRIBUTE_EVENT_LISTENER(load); | 97 DEFINE_ATTRIBUTE_EVENT_LISTENER(load); |
| 98 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort); | 98 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort); |
| 99 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); | 99 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); |
| 100 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadend); | 100 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadend); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 122 String m_encoding; | 122 String m_encoding; |
| 123 | 123 |
| 124 OwnPtr<FileReaderLoader> m_loader; | 124 OwnPtr<FileReaderLoader> m_loader; |
| 125 RefPtr<FileError> m_error; | 125 RefPtr<FileError> m_error; |
| 126 double m_lastProgressNotificationTimeMS; | 126 double m_lastProgressNotificationTimeMS; |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 } // namespace WebCore | 129 } // namespace WebCore |
| 130 | 130 |
| 131 #endif // FileReader_h | 131 #endif // FileReader_h |
| OLD | NEW |