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 "WebViewImpl.h" | 12 #include "WebViewImpl.h" |
13 #include "core/frame/Frame.h" | 13 #include "core/frame/Frame.h" |
14 #include "core/html/HTMLMediaElement.h" | 14 #include "core/html/HTMLMediaElement.h" |
15 #include "core/html/HTMLMediaSource.h" | 15 #include "core/html/HTMLMediaSource.h" |
16 #include "core/html/TimeRanges.h" | 16 #include "core/html/TimeRanges.h" |
17 #include "core/platform/graphics/GaneshUtils.h" | |
18 #include "core/platform/graphics/GraphicsContext.h" | |
19 #include "core/platform/graphics/GraphicsLayer.h" | |
20 #include "core/rendering/RenderLayerCompositor.h" | 17 #include "core/rendering/RenderLayerCompositor.h" |
21 #include "core/rendering/RenderView.h" | 18 #include "core/rendering/RenderView.h" |
22 #include "modules/mediastream/MediaStreamRegistry.h" | 19 #include "modules/mediastream/MediaStreamRegistry.h" |
23 #include "platform/audio/AudioBus.h" | 20 #include "platform/audio/AudioBus.h" |
24 #include "platform/audio/AudioSourceProviderClient.h" | 21 #include "platform/audio/AudioSourceProviderClient.h" |
25 #include "platform/geometry/IntSize.h" | 22 #include "platform/geometry/IntSize.h" |
| 23 #include "platform/graphics/GraphicsContext.h" |
| 24 #include "platform/graphics/GraphicsLayer.h" |
| 25 #include "platform/graphics/skia/GaneshUtils.h" |
26 #include "platform/weborigin/KURL.h" | 26 #include "platform/weborigin/KURL.h" |
27 #include "public/platform/WebAudioSourceProvider.h" | 27 #include "public/platform/WebAudioSourceProvider.h" |
28 #include "public/platform/WebCString.h" | 28 #include "public/platform/WebCString.h" |
29 #include "public/platform/WebCanvas.h" | 29 #include "public/platform/WebCanvas.h" |
30 #include "public/platform/WebCompositorSupport.h" | 30 #include "public/platform/WebCompositorSupport.h" |
31 #include "public/platform/WebInbandTextTrack.h" | 31 #include "public/platform/WebInbandTextTrack.h" |
32 #include "public/platform/WebMediaPlayer.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 "platform/graphics/gpu/SharedGraphicsContext3D.h" |
43 #endif | 43 #endif |
44 | 44 |
45 | 45 |
46 #include "wtf/Assertions.h" | 46 #include "wtf/Assertions.h" |
47 #include "wtf/text/CString.h" | 47 #include "wtf/text/CString.h" |
48 | 48 |
49 using namespace WebCore; | 49 using namespace WebCore; |
50 | 50 |
51 namespace blink { | 51 namespace blink { |
52 | 52 |
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 | 681 |
682 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel
s, float sampleRate) | 682 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel
s, float sampleRate) |
683 { | 683 { |
684 if (m_client) | 684 if (m_client) |
685 m_client->setFormat(numberOfChannels, sampleRate); | 685 m_client->setFormat(numberOfChannels, sampleRate); |
686 } | 686 } |
687 | 687 |
688 #endif | 688 #endif |
689 | 689 |
690 } // namespace blink | 690 } // namespace blink |
OLD | NEW |