| 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 "web/WebMediaPlayerClientImpl.h" | 6 #include "web/WebMediaPlayerClientImpl.h" |
| 7 | 7 |
| 8 #include "core/frame/LocalFrame.h" | 8 #include "core/frame/LocalFrame.h" |
| 9 #include "core/html/HTMLMediaElement.h" | 9 #include "core/html/HTMLMediaElement.h" |
| 10 #include "core/html/TimeRanges.h" | 10 #include "core/html/TimeRanges.h" |
| 11 #include "core/rendering/RenderView.h" | 11 #include "core/rendering/RenderView.h" |
| 12 #include "core/rendering/compositing/RenderLayerCompositor.h" | 12 #include "core/rendering/compositing/RenderLayerCompositor.h" |
| 13 #include "platform/geometry/IntSize.h" | 13 #include "platform/geometry/IntSize.h" |
| 14 #include "platform/graphics/GraphicsContext.h" | 14 #include "platform/graphics/GraphicsContext.h" |
| 15 #include "platform/graphics/GraphicsLayer.h" | 15 #include "platform/graphics/GraphicsLayer.h" |
| 16 #include "platform/graphics/gpu/Extensions3DUtil.h" | 16 #include "platform/graphics/gpu/Extensions3DUtil.h" |
| 17 #include "platform/graphics/media/MediaPlayer.h" |
| 17 #include "platform/graphics/skia/GaneshUtils.h" | 18 #include "platform/graphics/skia/GaneshUtils.h" |
| 18 #include "public/platform/Platform.h" | 19 #include "public/platform/Platform.h" |
| 19 #include "public/platform/WebCString.h" | 20 #include "public/platform/WebCString.h" |
| 20 #include "public/platform/WebCanvas.h" | 21 #include "public/platform/WebCanvas.h" |
| 21 #include "public/platform/WebCompositorSupport.h" | 22 #include "public/platform/WebCompositorSupport.h" |
| 22 #include "public/platform/WebGraphicsContext3DProvider.h" | 23 #include "public/platform/WebGraphicsContext3DProvider.h" |
| 23 #include "public/platform/WebMediaPlayer.h" | 24 #include "public/platform/WebMediaPlayer.h" |
| 24 #include "public/platform/WebRect.h" | 25 #include "public/platform/WebRect.h" |
| 25 #include "public/platform/WebString.h" | 26 #include "public/platform/WebString.h" |
| 26 #include "public/platform/WebURL.h" | 27 #include "public/platform/WebURL.h" |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 { | 176 { |
| 176 ASSERT(m_client); | 177 ASSERT(m_client); |
| 177 } | 178 } |
| 178 | 179 |
| 179 HTMLMediaElement& WebMediaPlayerClientImpl::mediaElement() const | 180 HTMLMediaElement& WebMediaPlayerClientImpl::mediaElement() const |
| 180 { | 181 { |
| 181 return *static_cast<HTMLMediaElement*>(m_client); | 182 return *static_cast<HTMLMediaElement*>(m_client); |
| 182 } | 183 } |
| 183 | 184 |
| 184 } // namespace blink | 185 } // namespace blink |
| OLD | NEW |