Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Side by Side Diff: webkit/compositor_bindings/web_video_layer_impl.h

Issue 11274017: Added support for YUV videos to the software compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/video_layer_impl.cc ('k') | webkit/compositor_bindings/web_video_layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 #ifndef WebVideoLayerImpl_h 5 #ifndef WebVideoLayerImpl_h
6 #define WebVideoLayerImpl_h 6 #define WebVideoLayerImpl_h
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebVideoLayer.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebVideoLayer.h"
10 10
11 namespace WebKit { 11 namespace WebKit {
12 class WebLayerImpl; 12 class WebLayerImpl;
13 13
14 class WebVideoLayerImpl : public WebVideoLayer { 14 class WebVideoLayerImpl : public WebVideoLayer {
15 public: 15 public:
16 explicit WebVideoLayerImpl(WebVideoFrameProvider*); 16 explicit WebVideoLayerImpl(WebVideoFrameProvider*);
17 virtual ~WebVideoLayerImpl(); 17 virtual ~WebVideoLayerImpl();
18 18
19 // WebVideoLayer implementation. 19 // WebVideoLayer implementation.
20 virtual WebLayer* layer() OVERRIDE; 20 virtual WebLayer* layer() OVERRIDE;
21 virtual bool active() const OVERRIDE; 21 virtual bool active() const OVERRIDE;
22 22
23 private: 23 private:
24 scoped_ptr<WebLayerImpl> m_layer; 24 scoped_ptr<WebLayerImpl> m_layer;
25 }; 25 };
26 26
27 } 27 }
28 28
29 #endif // WebVideoLayerImpl_h 29 #endif // WebVideoLayerImpl_h
30
OLDNEW
« no previous file with comments | « cc/video_layer_impl.cc ('k') | webkit/compositor_bindings/web_video_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698