| 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 "AudioBus.h" | 8 #include "AudioBus.h" |
| 9 #include "AudioSourceProvider.h" | 9 #include "AudioSourceProvider.h" |
| 10 #include "AudioSourceProviderClient.h" | 10 #include "AudioSourceProviderClient.h" |
| 11 #include "Frame.h" | 11 #include "Frame.h" |
| 12 #include "GraphicsContext3DPrivate.h" | 12 #include "GraphicsContext3DPrivate.h" |
| 13 #include "GraphicsLayerChromium.h" | |
| 14 #include "HTMLMediaElement.h" | 13 #include "HTMLMediaElement.h" |
| 15 #include "KURL.h" | 14 #include "KURL.h" |
| 16 #include "NotImplemented.h" | 15 #include "NotImplemented.h" |
| 17 #include "PlatformContextSkia.h" | 16 #include "PlatformContextSkia.h" |
| 18 #include "RenderLayerCompositor.h" | 17 #include "RenderLayerCompositor.h" |
| 19 #include "RenderView.h" | 18 #include "RenderView.h" |
| 20 #include "TimeRanges.h" | 19 #include "TimeRanges.h" |
| 21 #include "WebAudioSourceProvider.h" | 20 #include "WebAudioSourceProvider.h" |
| 22 #include "WebDocument.h" | 21 #include "WebDocument.h" |
| 23 #include "WebFrameClient.h" | 22 #include "WebFrameClient.h" |
| 24 #include "WebFrameImpl.h" | 23 #include "WebFrameImpl.h" |
| 25 #include "WebHelperPluginImpl.h" | 24 #include "WebHelperPluginImpl.h" |
| 26 #include "WebMediaPlayer.h" | 25 #include "WebMediaPlayer.h" |
| 27 #include "WebMediaSourceImpl.h" | 26 #include "WebMediaSourceImpl.h" |
| 28 #include "WebViewImpl.h" | 27 #include "WebViewImpl.h" |
| 29 #include "core/platform/graphics/GraphicsContext.h" | 28 #include "core/platform/graphics/GraphicsContext.h" |
| 30 #include "core/platform/graphics/IntSize.h" | 29 #include "core/platform/graphics/IntSize.h" |
| 31 #include "core/platform/graphics/MediaPlayer.h" | 30 #include "core/platform/graphics/MediaPlayer.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> |
| 38 #include <public/WebSize.h> | 38 #include <public/WebSize.h> |
| 39 #include <public/WebString.h> | 39 #include <public/WebString.h> |
| 40 #include <public/WebURL.h> | 40 #include <public/WebURL.h> |
| 41 | 41 |
| 42 #if defined(OS_ANDROID) | 42 #if defined(OS_ANDROID) |
| 43 #include "GrContext.h" | 43 #include "GrContext.h" |
| 44 #include "GrTypes.h" | 44 #include "GrTypes.h" |
| 45 #include "SharedGraphicsContext3D.h" | |
| 46 #include "SkCanvas.h" | 45 #include "SkCanvas.h" |
| 47 #include "SkGrPixelRef.h" | 46 #include "SkGrPixelRef.h" |
| 47 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h" |
| 48 #endif | 48 #endif |
| 49 | 49 |
| 50 | 50 |
| 51 #include <wtf/Assertions.h> | 51 #include <wtf/Assertions.h> |
| 52 #include <wtf/text/CString.h> | 52 #include <wtf/text/CString.h> |
| 53 | 53 |
| 54 using namespace WebCore; | 54 using namespace WebCore; |
| 55 | 55 |
| 56 namespace WebKit { | 56 namespace WebKit { |
| 57 | 57 |
| (...skipping 820 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 |