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

Side by Side Diff: cc/video_layer.h

Issue 11189043: cc: Rename cc classes and members to match filenames (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
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 #ifndef VideoLayerChromium_h 5 #ifndef VideoLayerChromium_h
6 #define VideoLayerChromium_h 6 #define VideoLayerChromium_h
7 7
8 #include "cc/layer.h" 8 #include "cc/layer.h"
9 9
10 namespace WebKit { 10 namespace WebKit {
11 class WebVideoFrameProvider; 11 class WebVideoFrameProvider;
12 } 12 }
13 13
14 namespace cc { 14 namespace cc {
15 15
16 class CCVideoLayerImpl; 16 class VideoLayerImpl;
17 17
18 // A Layer that contains a Video element. 18 // A Layer that contains a Video element.
19 class VideoLayerChromium : public LayerChromium { 19 class VideoLayer : public Layer {
20 public: 20 public:
21 static scoped_refptr<VideoLayerChromium> create(WebKit::WebVideoFrameProvide r*); 21 static scoped_refptr<VideoLayer> create(WebKit::WebVideoFrameProvider*);
22 22
23 virtual scoped_ptr<CCLayerImpl> createCCLayerImpl() OVERRIDE; 23 virtual scoped_ptr<LayerImpl> createLayerImpl() OVERRIDE;
24 24
25 private: 25 private:
26 explicit VideoLayerChromium(WebKit::WebVideoFrameProvider*); 26 explicit VideoLayer(WebKit::WebVideoFrameProvider*);
27 virtual ~VideoLayerChromium(); 27 virtual ~VideoLayer();
28 28
29 // 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 VideoLayerImpl's constructor. It shou ld never be dereferenced by this class.
30 WebKit::WebVideoFrameProvider* m_provider; 30 WebKit::WebVideoFrameProvider* m_provider;
31 }; 31 };
32 32
33 } 33 }
34 #endif 34 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698