OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "config.h" | 5 #include "config.h" |
6 #include "WebMediaPlayerClientImpl.h" | 6 #include "WebMediaPlayerClientImpl.h" |
7 | 7 |
8 #include "InbandTextTrackPrivateImpl.h" | 8 #include "InbandTextTrackPrivateImpl.h" |
9 #include "MediaSourcePrivateImpl.h" | 9 #include "MediaSourcePrivateImpl.h" |
10 #include "WebDocument.h" | 10 #include "WebDocument.h" |
11 #include "WebFrameClient.h" | 11 #include "WebFrameClient.h" |
12 #include "WebFrameImpl.h" | 12 #include "WebFrameImpl.h" |
13 #include "WebHelperPluginImpl.h" | 13 #include "WebHelperPluginImpl.h" |
14 #include "WebInbandTextTrack.h" | 14 #include "WebInbandTextTrack.h" |
15 #include "WebMediaPlayer.h" | 15 #include "WebMediaPlayer.h" |
16 #include "WebViewImpl.h" | 16 #include "WebViewImpl.h" |
17 #include "core/html/HTMLMediaElement.h" | 17 #include "core/html/HTMLMediaElement.h" |
18 #include "core/html/HTMLMediaSource.h" | 18 #include "core/html/HTMLMediaSource.h" |
19 #include "core/html/TimeRanges.h" | 19 #include "core/html/TimeRanges.h" |
20 #include "core/frame/Frame.h" | 20 #include "core/frame/Frame.h" |
21 #include "platform/audio/AudioBus.h" | 21 #include "platform/audio/AudioBus.h" |
22 #include "platform/audio/AudioSourceProvider.h" | 22 #include "platform/audio/AudioSourceProvider.h" |
23 #include "platform/audio/AudioSourceProviderClient.h" | 23 #include "platform/audio/AudioSourceProviderClient.h" |
24 #include "core/platform/graphics/GraphicsContext.h" | 24 #include "core/platform/graphics/GraphicsContext.h" |
25 #include "core/platform/graphics/GraphicsLayer.h" | 25 #include "core/platform/graphics/GraphicsLayer.h" |
26 #include "core/platform/graphics/MediaPlayer.h" | |
27 #include "core/rendering/RenderLayerCompositor.h" | 26 #include "core/rendering/RenderLayerCompositor.h" |
28 #include "core/rendering/RenderView.h" | 27 #include "core/rendering/RenderView.h" |
29 #include "modules/mediastream/MediaStreamRegistry.h" | 28 #include "modules/mediastream/MediaStreamRegistry.h" |
30 #include "platform/geometry/IntSize.h" | 29 #include "platform/geometry/IntSize.h" |
31 #include "public/platform/WebAudioSourceProvider.h" | 30 #include "public/platform/WebAudioSourceProvider.h" |
32 #include "public/platform/WebCanvas.h" | 31 #include "public/platform/WebCanvas.h" |
33 #include "public/platform/WebCompositorSupport.h" | 32 #include "public/platform/WebCompositorSupport.h" |
34 #include "public/platform/WebCString.h" | 33 #include "public/platform/WebCString.h" |
35 #include "public/platform/WebRect.h" | 34 #include "public/platform/WebRect.h" |
36 #include "public/platform/WebString.h" | 35 #include "public/platform/WebString.h" |
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 | 753 |
755 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel
s, float sampleRate) | 754 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel
s, float sampleRate) |
756 { | 755 { |
757 if (m_client) | 756 if (m_client) |
758 m_client->setFormat(numberOfChannels, sampleRate); | 757 m_client->setFormat(numberOfChannels, sampleRate); |
759 } | 758 } |
760 | 759 |
761 #endif | 760 #endif |
762 | 761 |
763 } // namespace WebKit | 762 } // namespace WebKit |
OLD | NEW |