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

Side by Side Diff: cc/video_layer.h

Issue 11189011: cc: Remove the temporary header files that aren't prefixed with CC* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months 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/unthrottled_texture_uploader.cc ('k') | cc/video_layer.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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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
6 #ifndef VideoLayerChromium_h 5 #ifndef VideoLayerChromium_h
7 #define VideoLayerChromium_h 6 #define VideoLayerChromium_h
8 7
9 #include "LayerChromium.h" 8 #include "cc/layer.h"
10 9
11 namespace WebKit { 10 namespace WebKit {
12 class WebVideoFrameProvider; 11 class WebVideoFrameProvider;
13 } 12 }
14 13
15 namespace cc { 14 namespace cc {
16 15
17 class CCVideoLayerImpl; 16 class CCVideoLayerImpl;
18 17
19 // A Layer that contains a Video element. 18 // A Layer that contains a Video element.
20 class VideoLayerChromium : public LayerChromium { 19 class VideoLayerChromium : public LayerChromium {
21 public: 20 public:
22 static scoped_refptr<VideoLayerChromium> create(WebKit::WebVideoFrameProvide r*); 21 static scoped_refptr<VideoLayerChromium> create(WebKit::WebVideoFrameProvide r*);
23 22
24 virtual scoped_ptr<CCLayerImpl> createCCLayerImpl() OVERRIDE; 23 virtual scoped_ptr<CCLayerImpl> createCCLayerImpl() OVERRIDE;
25 24
26 private: 25 private:
27 explicit VideoLayerChromium(WebKit::WebVideoFrameProvider*); 26 explicit VideoLayerChromium(WebKit::WebVideoFrameProvider*);
28 virtual ~VideoLayerChromium(); 27 virtual ~VideoLayerChromium();
29 28
30 // This pointer is only for passing to CCVideoLayerImpl's constructor. It sh ould never be dereferenced by this class. 29 // This pointer is only for passing to CCVideoLayerImpl's constructor. It sh ould never be dereferenced by this class.
31 WebKit::WebVideoFrameProvider* m_provider; 30 WebKit::WebVideoFrameProvider* m_provider;
32 }; 31 };
33 32
34 } 33 }
35 #endif 34 #endif
OLDNEW
« no previous file with comments | « cc/unthrottled_texture_uploader.cc ('k') | cc/video_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698