| // Copyright 2011 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef WebVideoLayerImpl_h |
| #define WebVideoLayerImpl_h |
| |
| #include "base/memory/scoped_ptr.h" |
| #include "third_party/WebKit/Source/Platform/chromium/public/WebVideoLayer.h" |
| |
| namespace WebKit { |
| class WebLayerImpl; |
| |
| class WebVideoLayerImpl : public WebVideoLayer { |
| public: |
| explicit WebVideoLayerImpl(WebVideoFrameProvider*); |
| virtual ~WebVideoLayerImpl(); |
| |
| // WebVideoLayer implementation. |
| virtual WebLayer* layer() OVERRIDE; |
| virtual bool active() const OVERRIDE; |
| |
| private: |
| scoped_ptr<WebLayerImpl> m_layer; |
| }; |
| |
| } |
| |
| #endif // WebVideoLayerImpl_h |