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

Side by Side Diff: cc/test/fake_layer_tree_host_client.cc

Issue 11348371: cc: Move WebCompositorOutputSurface and related classes into cc/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mynits Created 8 years 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #include "cc/test/fake_layer_tree_host_client.h" 5 #include "cc/test/fake_layer_tree_host_client.h"
6 6
7 namespace cc { 7 namespace cc {
8 8
9 scoped_ptr<WebKit::WebCompositorOutputSurface> FakeLayerImplTreeHostClient::crea teOutputSurface() 9 scoped_ptr<OutputSurface> FakeLayerImplTreeHostClient::createOutputSurface()
10 { 10 {
11 WebKit::WebGraphicsContext3D::Attributes attrs; 11 WebKit::WebGraphicsContext3D::Attributes attrs;
12 return WebKit::FakeWebCompositorOutputSurface::create(WebKit::CompositorFake WebGraphicsContext3D::create(attrs).PassAs<WebKit::WebGraphicsContext3D>()).Pass As<WebKit::WebCompositorOutputSurface>(); 12 return FakeOutputSurface::Create(WebKit::CompositorFakeWebGraphicsContext3D: :create(attrs).PassAs<WebKit::WebGraphicsContext3D>()).PassAs<OutputSurface>();
13 } 13 }
14 14
15 scoped_ptr<InputHandler> FakeLayerImplTreeHostClient::createInputHandler() 15 scoped_ptr<InputHandler> FakeLayerImplTreeHostClient::createInputHandler()
16 { 16 {
17 return scoped_ptr<InputHandler>(); 17 return scoped_ptr<InputHandler>();
18 } 18 }
19 19
20 scoped_ptr<FontAtlas> FakeLayerImplTreeHostClient::createFontAtlas() 20 scoped_ptr<FontAtlas> FakeLayerImplTreeHostClient::createFontAtlas()
21 { 21 {
22 return scoped_ptr<FontAtlas>(); 22 return scoped_ptr<FontAtlas>();
23 } 23 }
24 24
25 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698