| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef AudioOutputDeviceClient_h | 5 #ifndef AudioOutputDeviceClient_h |
| 6 #define AudioOutputDeviceClient_h | 6 #define AudioOutputDeviceClient_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "core/frame/LocalFrame.h" | 9 #include "core/frame/LocalFrame.h" |
| 9 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
| 10 #include "platform/Supplementable.h" | 11 #include "platform/Supplementable.h" |
| 11 #include "public/platform/WebSetSinkIdCallbacks.h" | 12 #include "public/platform/WebSetSinkIdCallbacks.h" |
| 12 #include <memory> | |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class ExecutionContext; | 16 class ExecutionContext; |
| 17 class WebString; | 17 class WebString; |
| 18 | 18 |
| 19 class MODULES_EXPORT AudioOutputDeviceClient : public Supplement<LocalFrame> { | 19 class MODULES_EXPORT AudioOutputDeviceClient : public Supplement<LocalFrame> { |
| 20 public: | 20 public: |
| 21 explicit AudioOutputDeviceClient(LocalFrame&); | 21 explicit AudioOutputDeviceClient(LocalFrame&); |
| 22 virtual ~AudioOutputDeviceClient() {} | 22 virtual ~AudioOutputDeviceClient() {} |
| (...skipping 11 matching lines...) Expand all Loading... |
| 34 static AudioOutputDeviceClient* from(ExecutionContext*); | 34 static AudioOutputDeviceClient* from(ExecutionContext*); |
| 35 static const char* supplementName(); | 35 static const char* supplementName(); |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 MODULES_EXPORT void provideAudioOutputDeviceClientTo(LocalFrame&, | 38 MODULES_EXPORT void provideAudioOutputDeviceClientTo(LocalFrame&, |
| 39 AudioOutputDeviceClient*); | 39 AudioOutputDeviceClient*); |
| 40 | 40 |
| 41 } // namespace blink | 41 } // namespace blink |
| 42 | 42 |
| 43 #endif // AudioOutputDeviceClient_h | 43 #endif // AudioOutputDeviceClient_h |
| OLD | NEW |