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

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

Issue 2863913002: Change AudioOutputDeviceClientImpl to use WebLocalFrameBase and move to modules. (Closed)
Patch Set: Use chrome client to create instances of WebLocalFrameBase. Created 3 years, 7 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
(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 #include <memory>
11
12 namespace blink {
13
14 class AudioOutputDeviceClientImpl
15 : public GarbageCollectedFinalized<AudioOutputDeviceClientImpl>,
16 public AudioOutputDeviceClient {
17 USING_GARBAGE_COLLECTED_MIXIN(AudioOutputDeviceClientImpl);
18 WTF_MAKE_NONCOPYABLE(AudioOutputDeviceClientImpl);
19
20 public:
21 explicit AudioOutputDeviceClientImpl(LocalFrame&);
22
23 ~AudioOutputDeviceClientImpl() override;
24
25 // AudioOutputDeviceClient implementation.
26 void CheckIfAudioSinkExistsAndIsAuthorized(
27 ExecutionContext*,
28 const WebString& sink_id,
29 std::unique_ptr<WebSetSinkIdCallbacks>) override;
30
31 // GarbageCollectedFinalized implementation.
32 DEFINE_INLINE_VIRTUAL_TRACE() { AudioOutputDeviceClient::Trace(visitor); }
33
34 private:
35 AudioOutputDeviceClientImpl();
36 };
37
38 } // namespace blink
39
40 #endif // AudioOutputDeviceClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698