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

Side by Side Diff: third_party/WebKit/Source/web/AudioOutputDeviceClientImpl.h

Issue 1416123005: Implement setSinkId() for media elements without src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef AudioOutputDeviceClientImpl_h
6 #define AudioOutputDeviceClientImpl_h
7
8 #include "modules/audio_output_devices/AudioOutputDeviceClient.h"
9 #include "platform/heap/Handle.h"
10
11 namespace blink {
12
13 class AudioOutputDeviceClientImpl : public NoBaseWillBeGarbageCollectedFinalized <AudioOutputDeviceClientImpl>, public AudioOutputDeviceClient {
14 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AudioOutputDeviceClientImpl);
15 WTF_MAKE_NONCOPYABLE(AudioOutputDeviceClientImpl);
16 public:
17 static PassOwnPtrWillBeRawPtr<AudioOutputDeviceClientImpl> create();
18
19 ~AudioOutputDeviceClientImpl() override;
20
21 // AudioOutputDeviceClient implementation.
22 void checkIfAudioSinkExistsAndIsAuthorized(ExecutionContext*, const WebStrin g& sinkId, PassOwnPtr<WebSetSinkIdCallbacks>) override;
23
24 // NoBaseWillBeGarbageCollectedFinalized implementation.
25 DEFINE_INLINE_VIRTUAL_TRACE() { AudioOutputDeviceClient::trace(visitor); }
26
27 private:
28 AudioOutputDeviceClientImpl();
29 };
30
31 } // namespace blink
32
33 #endif // AudioOutputDeviceClientImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | third_party/WebKit/Source/web/AudioOutputDeviceClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698