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

Side by Side Diff: cc/test/FakeWebCompositorOutputSurface.h

Issue 10909020: Enable webkit_compositor_unittests (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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
« no previous file with comments | « cc/test/CCTiledLayerTestCommon.cpp ('k') | webkit/compositor/LayerChromiumTest.cpp » ('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 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 #ifndef FakeWebCompositorOutputSurface_h 5 #ifndef FakeWebCompositorOutputSurface_h
6 #define FakeWebCompositorOutputSurface_h 6 #define FakeWebCompositorOutputSurface_h
7 7
8 #include <public/WebCompositorOutputSurface.h> 8 #include <public/WebCompositorOutputSurface.h>
9 #include <public/WebGraphicsContext3D.h> 9 #include <public/WebGraphicsContext3D.h>
10 #include <wtf/OwnPtr.h>
11 #include <wtf/PassOwnPtr.h>
10 12
11 namespace WebKit { 13 namespace WebKit {
12 14
13 class FakeWebCompositorOutputSurface : public WebCompositorOutputSurface { 15 class FakeWebCompositorOutputSurface : public WebCompositorOutputSurface {
14 public: 16 public:
15 static inline PassOwnPtr<FakeWebCompositorOutputSurface> create(PassOwnPtr<W ebGraphicsContext3D> context3D) 17 static inline PassOwnPtr<FakeWebCompositorOutputSurface> create(PassOwnPtr<W ebGraphicsContext3D> context3D)
16 { 18 {
17 return adoptPtr(new FakeWebCompositorOutputSurface(context3D)); 19 return adoptPtr(new FakeWebCompositorOutputSurface(context3D));
18 } 20 }
19 21
(...skipping 28 matching lines...) Expand all
48 } 50 }
49 51
50 OwnPtr<WebGraphicsContext3D> m_context3D; 52 OwnPtr<WebGraphicsContext3D> m_context3D;
51 Capabilities m_capabilities; 53 Capabilities m_capabilities;
52 WebCompositorOutputSurfaceClient* m_client; 54 WebCompositorOutputSurfaceClient* m_client;
53 }; 55 };
54 56
55 } // namespace WebKit 57 } // namespace WebKit
56 58
57 #endif // FakeWebCompositorOutputSurface_h 59 #endif // FakeWebCompositorOutputSurface_h
OLDNEW
« no previous file with comments | « cc/test/CCTiledLayerTestCommon.cpp ('k') | webkit/compositor/LayerChromiumTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698