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

Side by Side Diff: cc/VideoLayerChromium.cpp

Issue 11122003: [cc] Rename all cc/ filenames to Chromium style (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/VideoLayerChromium.h ('k') | cc/active_animation.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "config.h"
6
7 #if USE(ACCELERATED_COMPOSITING)
8 #include "VideoLayerChromium.h"
9
10 #include "CCVideoLayerImpl.h"
11
12 namespace cc {
13
14 scoped_refptr<VideoLayerChromium> VideoLayerChromium::create(WebKit::WebVideoFra meProvider* provider)
15 {
16 return make_scoped_refptr(new VideoLayerChromium(provider));
17 }
18
19 VideoLayerChromium::VideoLayerChromium(WebKit::WebVideoFrameProvider* provider)
20 : LayerChromium()
21 , m_provider(provider)
22 {
23 ASSERT(m_provider);
24 }
25
26 VideoLayerChromium::~VideoLayerChromium()
27 {
28 }
29
30 scoped_ptr<CCLayerImpl> VideoLayerChromium::createCCLayerImpl()
31 {
32 return CCVideoLayerImpl::create(m_layerId, m_provider).PassAs<CCLayerImpl>() ;
33 }
34
35 } // namespace cc
36
37 #endif // USE(ACCELERATED_COMPOSITING)
OLDNEW
« no previous file with comments | « cc/VideoLayerChromium.h ('k') | cc/active_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698