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 "Frame.h" | 8 #include "Frame.h" |
9 #include "HTMLMediaElement.h" | 9 #include "HTMLMediaElement.h" |
10 #include "KURL.h" | |
11 #include "NotImplemented.h" | |
12 #include "PlatformContextSkia.h" | 10 #include "PlatformContextSkia.h" |
13 #include "RenderLayerCompositor.h" | 11 #include "RenderLayerCompositor.h" |
14 #include "RenderView.h" | 12 #include "RenderView.h" |
15 #include "TimeRanges.h" | 13 #include "TimeRanges.h" |
16 #include "WebAudioSourceProvider.h" | 14 #include "WebAudioSourceProvider.h" |
17 #include "WebDocument.h" | 15 #include "WebDocument.h" |
18 #include "WebFrameClient.h" | 16 #include "WebFrameClient.h" |
19 #include "WebFrameImpl.h" | 17 #include "WebFrameImpl.h" |
20 #include "WebHelperPluginImpl.h" | 18 #include "WebHelperPluginImpl.h" |
21 #include "WebMediaPlayer.h" | 19 #include "WebMediaPlayer.h" |
22 #include "WebMediaSourceImpl.h" | 20 #include "WebMediaSourceImpl.h" |
23 #include "WebViewImpl.h" | 21 #include "WebViewImpl.h" |
| 22 #include "core/platform/KURL.h" |
| 23 #include "core/platform/NotImplemented.h" |
24 #include "core/platform/audio/AudioBus.h" | 24 #include "core/platform/audio/AudioBus.h" |
25 #include "core/platform/audio/AudioSourceProvider.h" | 25 #include "core/platform/audio/AudioSourceProvider.h" |
26 #include "core/platform/audio/AudioSourceProviderClient.h" | 26 #include "core/platform/audio/AudioSourceProviderClient.h" |
27 #include "core/platform/chromium/support/GraphicsContext3DPrivate.h" | 27 #include "core/platform/chromium/support/GraphicsContext3DPrivate.h" |
28 #include "core/platform/graphics/GraphicsContext.h" | 28 #include "core/platform/graphics/GraphicsContext.h" |
29 #include "core/platform/graphics/IntSize.h" | 29 #include "core/platform/graphics/IntSize.h" |
30 #include "core/platform/graphics/MediaPlayer.h" | 30 #include "core/platform/graphics/MediaPlayer.h" |
31 #include "core/platform/graphics/chromium/GraphicsLayerChromium.h" | 31 #include "core/platform/graphics/chromium/GraphicsLayerChromium.h" |
32 #include <public/Platform.h> | 32 #include <public/Platform.h> |
33 #include <public/WebCanvas.h> | 33 #include <public/WebCanvas.h> |
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
878 | 878 |
879 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel
s, float sampleRate) | 879 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel
s, float sampleRate) |
880 { | 880 { |
881 if (m_client) | 881 if (m_client) |
882 m_client->setFormat(numberOfChannels, sampleRate); | 882 m_client->setFormat(numberOfChannels, sampleRate); |
883 } | 883 } |
884 | 884 |
885 #endif | 885 #endif |
886 | 886 |
887 } // namespace WebKit | 887 } // namespace WebKit |
OLD | NEW |