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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/ConvolverNode.h

Issue 1557363002: Remove the WEB_AUDIO compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
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 14 matching lines...) Expand all
25 #ifndef ConvolverNode_h 25 #ifndef ConvolverNode_h
26 #define ConvolverNode_h 26 #define ConvolverNode_h
27 27
28 #include "base/gtest_prod_util.h" 28 #include "base/gtest_prod_util.h"
29 #include "modules/ModulesExport.h" 29 #include "modules/ModulesExport.h"
30 #include "modules/webaudio/AudioNode.h" 30 #include "modules/webaudio/AudioNode.h"
31 #include "wtf/OwnPtr.h" 31 #include "wtf/OwnPtr.h"
32 #include "wtf/RefPtr.h" 32 #include "wtf/RefPtr.h"
33 #include "wtf/ThreadingPrimitives.h" 33 #include "wtf/ThreadingPrimitives.h"
34 34
35 #if ENABLE(WEB_AUDIO)
36
37 namespace blink { 35 namespace blink {
38 36
39 class AudioBuffer; 37 class AudioBuffer;
40 class ExceptionState; 38 class ExceptionState;
41 class Reverb; 39 class Reverb;
42 40
43 class MODULES_EXPORT ConvolverHandler final : public AudioHandler { 41 class MODULES_EXPORT ConvolverHandler final : public AudioHandler {
44 public: 42 public:
45 static PassRefPtr<ConvolverHandler> create(AudioNode&, float sampleRate); 43 static PassRefPtr<ConvolverHandler> create(AudioNode&, float sampleRate);
46 ~ConvolverHandler() override; 44 ~ConvolverHandler() override;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 84
87 private: 85 private:
88 ConvolverNode(AbstractAudioContext&, float sampleRate); 86 ConvolverNode(AbstractAudioContext&, float sampleRate);
89 ConvolverHandler& convolverHandler() const; 87 ConvolverHandler& convolverHandler() const;
90 88
91 FRIEND_TEST_ALL_PREFIXES(ConvolverNodeTest, ReverbLifetime); 89 FRIEND_TEST_ALL_PREFIXES(ConvolverNodeTest, ReverbLifetime);
92 }; 90 };
93 91
94 } // namespace blink 92 } // namespace blink
95 93
96 #endif // ENABLE(WEB_AUDIO)
97
98 #endif // ConvolverNode_h 94 #endif // ConvolverNode_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698