Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: Source/modules/webaudio/OfflineAudioCompletionEvent.cpp

Issue 270103005: Tried to move AudioSummingJuction to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 17 matching lines...) Expand all
28 28
29 #include "modules/webaudio/OfflineAudioCompletionEvent.h" 29 #include "modules/webaudio/OfflineAudioCompletionEvent.h"
30 30
31 namespace WebCore { 31 namespace WebCore {
32 32
33 PassRefPtrWillBeRawPtr<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent: :create() 33 PassRefPtrWillBeRawPtr<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent: :create()
34 { 34 {
35 return adoptRefWillBeNoop(new OfflineAudioCompletionEvent); 35 return adoptRefWillBeNoop(new OfflineAudioCompletionEvent);
36 } 36 }
37 37
38 PassRefPtrWillBeRawPtr<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent: :create(PassRefPtr<AudioBuffer> renderedBuffer) 38 PassRefPtrWillBeRawPtr<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent: :create(PassRefPtrWillBeRawPtr<AudioBuffer> renderedBuffer)
39 { 39 {
40 return adoptRefWillBeNoop(new OfflineAudioCompletionEvent(renderedBuffer)); 40 return adoptRefWillBeNoop(new OfflineAudioCompletionEvent(renderedBuffer));
41 } 41 }
42 42
43 OfflineAudioCompletionEvent::OfflineAudioCompletionEvent() 43 OfflineAudioCompletionEvent::OfflineAudioCompletionEvent()
44 { 44 {
45 ScriptWrappable::init(this); 45 ScriptWrappable::init(this);
46 } 46 }
47 47
48 OfflineAudioCompletionEvent::OfflineAudioCompletionEvent(PassRefPtr<AudioBuffer> renderedBuffer) 48 OfflineAudioCompletionEvent::OfflineAudioCompletionEvent(PassRefPtrWillBeRawPtr< AudioBuffer> renderedBuffer)
49 : Event(EventTypeNames::complete, true, false) 49 : Event(EventTypeNames::complete, true, false)
50 , m_renderedBuffer(renderedBuffer) 50 , m_renderedBuffer(renderedBuffer)
51 { 51 {
52 ScriptWrappable::init(this); 52 ScriptWrappable::init(this);
53 } 53 }
54 54
55 OfflineAudioCompletionEvent::~OfflineAudioCompletionEvent() 55 OfflineAudioCompletionEvent::~OfflineAudioCompletionEvent()
56 { 56 {
57 } 57 }
58 58
59 const AtomicString& OfflineAudioCompletionEvent::interfaceName() const 59 const AtomicString& OfflineAudioCompletionEvent::interfaceName() const
60 { 60 {
61 return EventNames::OfflineAudioCompletionEvent; 61 return EventNames::OfflineAudioCompletionEvent;
62 } 62 }
63 63
64 void OfflineAudioCompletionEvent::trace(Visitor* visitor) 64 void OfflineAudioCompletionEvent::trace(Visitor* visitor)
65 { 65 {
66 visitor->trace(m_renderedBuffer);
66 Event::trace(visitor); 67 Event::trace(visitor);
67 } 68 }
68 69
69 } // namespace WebCore 70 } // namespace WebCore
70 71
71 #endif // ENABLE(WEB_AUDIO) 72 #endif // ENABLE(WEB_AUDIO)
OLDNEW
« no previous file with comments | « Source/modules/webaudio/OfflineAudioCompletionEvent.h ('k') | Source/modules/webaudio/OfflineAudioContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698