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

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

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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) 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 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 20 matching lines...) Expand all
31 #include "core/dom/CrossThreadTask.h" 31 #include "core/dom/CrossThreadTask.h"
32 #include "core/dom/ExecutionContext.h" 32 #include "core/dom/ExecutionContext.h"
33 #include "modules/webaudio/AudioBuffer.h" 33 #include "modules/webaudio/AudioBuffer.h"
34 #include "modules/webaudio/AudioContext.h" 34 #include "modules/webaudio/AudioContext.h"
35 #include "modules/webaudio/AudioNodeInput.h" 35 #include "modules/webaudio/AudioNodeInput.h"
36 #include "modules/webaudio/AudioNodeOutput.h" 36 #include "modules/webaudio/AudioNodeOutput.h"
37 #include "modules/webaudio/AudioProcessingEvent.h" 37 #include "modules/webaudio/AudioProcessingEvent.h"
38 #include "public/platform/Platform.h" 38 #include "public/platform/Platform.h"
39 #include "wtf/Float32Array.h" 39 #include "wtf/Float32Array.h"
40 40
41 namespace WebCore { 41 namespace blink {
42 42
43 #if !ENABLE(OILPAN) 43 #if !ENABLE(OILPAN)
44 // We need a dedicated specialization for ScriptProcessorNode because it doesn't 44 // We need a dedicated specialization for ScriptProcessorNode because it doesn't
45 // inherit from RefCounted. 45 // inherit from RefCounted.
46 template<> struct CrossThreadCopierBase<false, false, false, PassRefPtr<ScriptPr ocessorNode> > : public CrossThreadCopierPassThrough<PassRefPtr<ScriptProcessorN ode> > { 46 template<> struct CrossThreadCopierBase<false, false, false, PassRefPtr<ScriptPr ocessorNode> > : public CrossThreadCopierPassThrough<PassRefPtr<ScriptProcessorN ode> > {
47 }; 47 };
48 #endif 48 #endif
49 49
50 static size_t chooseBufferSize() 50 static size_t chooseBufferSize()
51 { 51 {
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 return std::numeric_limits<double>::infinity(); 275 return std::numeric_limits<double>::infinity();
276 } 276 }
277 277
278 void ScriptProcessorNode::trace(Visitor* visitor) 278 void ScriptProcessorNode::trace(Visitor* visitor)
279 { 279 {
280 visitor->trace(m_inputBuffers); 280 visitor->trace(m_inputBuffers);
281 visitor->trace(m_outputBuffers); 281 visitor->trace(m_outputBuffers);
282 AudioNode::trace(visitor); 282 AudioNode::trace(visitor);
283 } 283 }
284 284
285 } // namespace WebCore 285 } // namespace blink
286 286
287 #endif // ENABLE(WEB_AUDIO) 287 #endif // ENABLE(WEB_AUDIO)
OLDNEW
« no previous file with comments | « Source/modules/webaudio/ScriptProcessorNode.h ('k') | Source/modules/webaudio/WaveShaperDSPKernel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698