| 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 "MediaSourcePrivateImpl.h" | 8 #include "MediaSourcePrivateImpl.h" |
| 9 #include "WebDocument.h" | 9 #include "WebDocument.h" |
| 10 #include "WebFrameClient.h" | 10 #include "WebFrameClient.h" |
| 11 #include "WebFrameImpl.h" | 11 #include "WebFrameImpl.h" |
| 12 #include "WebHelperPluginImpl.h" | 12 #include "WebHelperPluginImpl.h" |
| 13 #include "WebInbandTextTrack.h" | 13 #include "WebInbandTextTrack.h" |
| 14 #include "WebMediaPlayer.h" | 14 #include "WebMediaPlayer.h" |
| 15 #include "WebViewImpl.h" | 15 #include "WebViewImpl.h" |
| 16 #include "core/html/HTMLMediaElement.h" | 16 #include "core/html/HTMLMediaElement.h" |
| 17 #include "core/html/HTMLMediaSource.h" | 17 #include "core/html/HTMLMediaSource.h" |
| 18 #include "core/html/TimeRanges.h" | 18 #include "core/html/TimeRanges.h" |
| 19 #include "core/frame/Frame.h" | 19 #include "core/frame/Frame.h" |
| 20 #include "platform/audio/AudioBus.h" | 20 #include "platform/audio/AudioBus.h" |
| 21 #include "platform/audio/AudioSourceProviderClient.h" | 21 #include "platform/audio/AudioSourceProviderClient.h" |
| 22 #include "core/platform/graphics/GraphicsContext.h" | 22 #include "core/platform/graphics/GraphicsContext.h" |
| 23 #include "core/platform/graphics/GraphicsLayer.h" | 23 #include "core/platform/graphics/GraphicsLayer.h" |
| 24 #include "core/rendering/RenderLayerCompositor.h" | 24 #include "core/rendering/RenderLayerCompositor.h" |
| 25 #include "core/rendering/RenderView.h" | 25 #include "core/rendering/RenderView.h" |
| 26 #include "modules/mediastream/MediaStreamRegistry.h" | 26 #include "modules/mediastream/MediaStreamRegistry.h" |
| 27 #include "platform/geometry/IntSize.h" | 27 #include "platform/geometry/IntSize.h" |
| 28 #include "platform/weborigin/KURL.h" |
| 28 #include "public/platform/WebAudioSourceProvider.h" | 29 #include "public/platform/WebAudioSourceProvider.h" |
| 29 #include "public/platform/WebCanvas.h" | 30 #include "public/platform/WebCanvas.h" |
| 30 #include "public/platform/WebCompositorSupport.h" | 31 #include "public/platform/WebCompositorSupport.h" |
| 31 #include "public/platform/WebCString.h" | 32 #include "public/platform/WebCString.h" |
| 32 #include "public/platform/WebRect.h" | 33 #include "public/platform/WebRect.h" |
| 33 #include "public/platform/WebString.h" | 34 #include "public/platform/WebString.h" |
| 34 #include "public/platform/WebURL.h" | 35 #include "public/platform/WebURL.h" |
| 35 | 36 |
| 36 #if OS(ANDROID) | 37 #if OS(ANDROID) |
| 37 #include "GrContext.h" | 38 #include "GrContext.h" |
| (...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 | 748 |
| 748 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel
s, float sampleRate) | 749 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel
s, float sampleRate) |
| 749 { | 750 { |
| 750 if (m_client) | 751 if (m_client) |
| 751 m_client->setFormat(numberOfChannels, sampleRate); | 752 m_client->setFormat(numberOfChannels, sampleRate); |
| 752 } | 753 } |
| 753 | 754 |
| 754 #endif | 755 #endif |
| 755 | 756 |
| 756 } // namespace blink | 757 } // namespace blink |
| OLD | NEW |