| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 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 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH |
| 23 * DAMAGE. | 23 * DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef OfflineAudioCompletionEvent_h | 26 #ifndef OfflineAudioCompletionEvent_h |
| 27 #define OfflineAudioCompletionEvent_h | 27 #define OfflineAudioCompletionEvent_h |
| 28 | 28 |
| 29 #include "modules/EventModules.h" | 29 #include "modules/EventModules.h" |
| 30 #include "modules/webaudio/AudioBuffer.h" | 30 #include "modules/webaudio/AudioBuffer.h" |
| 31 #include "modules/webaudio/OfflineAudioCompletionEventInit.h" | 31 #include "modules/webaudio/OfflineAudioCompletionEventInit.h" |
| 32 #include "wtf/PassRefPtr.h" | 32 #include "platform/wtf/PassRefPtr.h" |
| 33 #include "wtf/RefPtr.h" | 33 #include "platform/wtf/RefPtr.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 class AudioBuffer; | 37 class AudioBuffer; |
| 38 class OfflineAudioCompletionEventInit; | 38 class OfflineAudioCompletionEventInit; |
| 39 | 39 |
| 40 class OfflineAudioCompletionEvent final : public Event { | 40 class OfflineAudioCompletionEvent final : public Event { |
| 41 DEFINE_WRAPPERTYPEINFO(); | 41 DEFINE_WRAPPERTYPEINFO(); |
| 42 | 42 |
| 43 public: | 43 public: |
| (...skipping 16 matching lines...) Expand all Loading... |
| 60 explicit OfflineAudioCompletionEvent(AudioBuffer* rendered_buffer); | 60 explicit OfflineAudioCompletionEvent(AudioBuffer* rendered_buffer); |
| 61 explicit OfflineAudioCompletionEvent(const AtomicString& type, | 61 explicit OfflineAudioCompletionEvent(const AtomicString& type, |
| 62 const OfflineAudioCompletionEventInit&); | 62 const OfflineAudioCompletionEventInit&); |
| 63 | 63 |
| 64 Member<AudioBuffer> rendered_buffer_; | 64 Member<AudioBuffer> rendered_buffer_; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 } // namespace blink | 67 } // namespace blink |
| 68 | 68 |
| 69 #endif // OfflineAudioCompletionEvent_h | 69 #endif // OfflineAudioCompletionEvent_h |
| OLD | NEW |