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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/AudioListener.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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 16 matching lines...) Expand all
27 */ 27 */
28 28
29 #ifndef AudioListener_h 29 #ifndef AudioListener_h
30 #define AudioListener_h 30 #define AudioListener_h
31 31
32 #include "bindings/core/v8/ScriptWrappable.h" 32 #include "bindings/core/v8/ScriptWrappable.h"
33 #include "platform/geometry/FloatPoint3D.h" 33 #include "platform/geometry/FloatPoint3D.h"
34 #include "platform/heap/Handle.h" 34 #include "platform/heap/Handle.h"
35 #include "wtf/Vector.h" 35 #include "wtf/Vector.h"
36 36
37 #if ENABLE(WEB_AUDIO)
38
39 namespace blink { 37 namespace blink {
40 38
41 class HRTFDatabaseLoader; 39 class HRTFDatabaseLoader;
42 class PannerHandler; 40 class PannerHandler;
43 41
44 // AudioListener maintains the state of the listener in the audio scene as defin ed in the OpenAL specification. 42 // AudioListener maintains the state of the listener in the audio scene as defin ed in the OpenAL specification.
45 43
46 class AudioListener : public GarbageCollectedFinalized<AudioListener>, public Sc riptWrappable { 44 class AudioListener : public GarbageCollectedFinalized<AudioListener>, public Sc riptWrappable {
47 DEFINE_WRAPPERTYPEINFO(); 45 DEFINE_WRAPPERTYPEINFO();
48 public: 46 public:
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // and can be referred in audio thread. 110 // and can be referred in audio thread.
113 // These raw pointers are safe because PannerHandler::uninitialize() 111 // These raw pointers are safe because PannerHandler::uninitialize()
114 // unregisters it from m_panners. 112 // unregisters it from m_panners.
115 HashSet<PannerHandler*> m_panners; 113 HashSet<PannerHandler*> m_panners;
116 // HRTF DB loader for panner node. 114 // HRTF DB loader for panner node.
117 RefPtr<HRTFDatabaseLoader> m_hrtfDatabaseLoader; 115 RefPtr<HRTFDatabaseLoader> m_hrtfDatabaseLoader;
118 }; 116 };
119 117
120 } // namespace blink 118 } // namespace blink
121 119
122 #endif // ENABLE(WEB_AUDIO)
123
124 #endif // AudioListener_h 120 #endif // AudioListener_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698