| 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 "WebDocument.h" | 8 #include "WebDocument.h" |
| 9 #include "WebFrameClient.h" | 9 #include "WebFrameClient.h" |
| 10 #include "WebFrameImpl.h" | 10 #include "WebFrameImpl.h" |
| 11 #include "WebHelperPluginImpl.h" | 11 #include "WebHelperPluginImpl.h" |
| 12 #include "WebInbandTextTrack.h" | |
| 13 #include "WebMediaPlayer.h" | |
| 14 #include "WebViewImpl.h" | 12 #include "WebViewImpl.h" |
| 13 #include "core/frame/Frame.h" |
| 15 #include "core/html/HTMLMediaElement.h" | 14 #include "core/html/HTMLMediaElement.h" |
| 16 #include "core/html/HTMLMediaSource.h" | 15 #include "core/html/HTMLMediaSource.h" |
| 17 #include "core/html/TimeRanges.h" | 16 #include "core/html/TimeRanges.h" |
| 18 #include "core/frame/Frame.h" | |
| 19 #include "core/platform/graphics/GaneshUtils.h" | 17 #include "core/platform/graphics/GaneshUtils.h" |
| 20 #include "platform/audio/AudioBus.h" | |
| 21 #include "platform/audio/AudioSourceProviderClient.h" | |
| 22 #include "core/platform/graphics/GraphicsContext.h" | 18 #include "core/platform/graphics/GraphicsContext.h" |
| 23 #include "core/platform/graphics/GraphicsLayer.h" | 19 #include "core/platform/graphics/GraphicsLayer.h" |
| 24 #include "core/rendering/RenderLayerCompositor.h" | 20 #include "core/rendering/RenderLayerCompositor.h" |
| 25 #include "core/rendering/RenderView.h" | 21 #include "core/rendering/RenderView.h" |
| 26 #include "modules/mediastream/MediaStreamRegistry.h" | 22 #include "modules/mediastream/MediaStreamRegistry.h" |
| 23 #include "platform/audio/AudioBus.h" |
| 24 #include "platform/audio/AudioSourceProviderClient.h" |
| 27 #include "platform/geometry/IntSize.h" | 25 #include "platform/geometry/IntSize.h" |
| 28 #include "platform/weborigin/KURL.h" | 26 #include "platform/weborigin/KURL.h" |
| 29 #include "public/platform/WebAudioSourceProvider.h" | 27 #include "public/platform/WebAudioSourceProvider.h" |
| 28 #include "public/platform/WebCString.h" |
| 30 #include "public/platform/WebCanvas.h" | 29 #include "public/platform/WebCanvas.h" |
| 31 #include "public/platform/WebCompositorSupport.h" | 30 #include "public/platform/WebCompositorSupport.h" |
| 32 #include "public/platform/WebCString.h" | 31 #include "public/platform/WebInbandTextTrack.h" |
| 32 #include "public/platform/WebMediaPlayer.h" |
| 33 #include "public/platform/WebRect.h" | 33 #include "public/platform/WebRect.h" |
| 34 #include "public/platform/WebString.h" | 34 #include "public/platform/WebString.h" |
| 35 #include "public/platform/WebURL.h" | 35 #include "public/platform/WebURL.h" |
| 36 | 36 |
| 37 #if OS(ANDROID) | 37 #if OS(ANDROID) |
| 38 #include "GrContext.h" | 38 #include "GrContext.h" |
| 39 #include "GrTypes.h" | 39 #include "GrTypes.h" |
| 40 #include "SkCanvas.h" | 40 #include "SkCanvas.h" |
| 41 #include "SkGrPixelRef.h" | 41 #include "SkGrPixelRef.h" |
| 42 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h" | 42 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h" |
| (...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 724 | 724 |
| 725 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel
s, float sampleRate) | 725 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel
s, float sampleRate) |
| 726 { | 726 { |
| 727 if (m_client) | 727 if (m_client) |
| 728 m_client->setFormat(numberOfChannels, sampleRate); | 728 m_client->setFormat(numberOfChannels, sampleRate); |
| 729 } | 729 } |
| 730 | 730 |
| 731 #endif | 731 #endif |
| 732 | 732 |
| 733 } // namespace blink | 733 } // namespace blink |
| OLD | NEW |