| 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 "GraphicsContext3DPrivate.h" | |
| 10 #include "HTMLMediaElement.h" | 9 #include "HTMLMediaElement.h" |
| 11 #include "KURL.h" | 10 #include "KURL.h" |
| 12 #include "NotImplemented.h" | 11 #include "NotImplemented.h" |
| 13 #include "PlatformContextSkia.h" | 12 #include "PlatformContextSkia.h" |
| 14 #include "RenderLayerCompositor.h" | 13 #include "RenderLayerCompositor.h" |
| 15 #include "RenderView.h" | 14 #include "RenderView.h" |
| 16 #include "TimeRanges.h" | 15 #include "TimeRanges.h" |
| 17 #include "WebAudioSourceProvider.h" | 16 #include "WebAudioSourceProvider.h" |
| 18 #include "WebDocument.h" | 17 #include "WebDocument.h" |
| 19 #include "WebFrameClient.h" | 18 #include "WebFrameClient.h" |
| 20 #include "WebFrameImpl.h" | 19 #include "WebFrameImpl.h" |
| 21 #include "WebHelperPluginImpl.h" | 20 #include "WebHelperPluginImpl.h" |
| 22 #include "WebMediaPlayer.h" | 21 #include "WebMediaPlayer.h" |
| 23 #include "WebMediaSourceImpl.h" | 22 #include "WebMediaSourceImpl.h" |
| 24 #include "WebViewImpl.h" | 23 #include "WebViewImpl.h" |
| 25 #include "core/platform/audio/AudioBus.h" | 24 #include "core/platform/audio/AudioBus.h" |
| 26 #include "core/platform/audio/AudioSourceProvider.h" | 25 #include "core/platform/audio/AudioSourceProvider.h" |
| 27 #include "core/platform/audio/AudioSourceProviderClient.h" | 26 #include "core/platform/audio/AudioSourceProviderClient.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> |
| 34 #include <public/WebCompositorSupport.h> | 34 #include <public/WebCompositorSupport.h> |
| 35 #include <public/WebCString.h> | 35 #include <public/WebCString.h> |
| 36 #include <public/WebMimeRegistry.h> | 36 #include <public/WebMimeRegistry.h> |
| 37 #include <public/WebRect.h> | 37 #include <public/WebRect.h> |
| (...skipping 840 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 |