Index: cc/test/CompositorFakeWebGraphicsContext3D.h |
diff --git a/cc/test/CompositorFakeWebGraphicsContext3D.h b/cc/test/CompositorFakeWebGraphicsContext3D.h |
index 2a709a2c36185c8397c3b29963c3efbb2d4cecf1..0776746dae75829a1daa61e097906a35e59e074f 100644 |
--- a/cc/test/CompositorFakeWebGraphicsContext3D.h |
+++ b/cc/test/CompositorFakeWebGraphicsContext3D.h |
@@ -1,36 +1,6 @@ |
-// Copyright 2011 The Chromium Authors. All rights reserved. |
+// Copyright 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CompositorFakeWebGraphicsContext3D_h |
-#define CompositorFakeWebGraphicsContext3D_h |
- |
-#include "FakeWebGraphicsContext3D.h" |
-#include <wtf/PassOwnPtr.h> |
- |
-namespace WebKit { |
- |
-// Test stub for WebGraphicsContext3D. Returns canned values needed for compositor initialization. |
-class CompositorFakeWebGraphicsContext3D : public FakeWebGraphicsContext3D { |
-public: |
- static PassOwnPtr<CompositorFakeWebGraphicsContext3D> create(Attributes attrs) |
- { |
- return adoptPtr(new CompositorFakeWebGraphicsContext3D(attrs)); |
- } |
- |
- virtual bool makeContextCurrent() { return true; } |
- virtual WebGLId createProgram() { return 1; } |
- virtual WebGLId createShader(WGC3Denum) { return 1; } |
- virtual void getShaderiv(WebGLId, WGC3Denum, WGC3Dint* value) { *value = 1; } |
- virtual void getProgramiv(WebGLId, WGC3Denum, WGC3Dint* value) { *value = 1; } |
- |
-protected: |
- explicit CompositorFakeWebGraphicsContext3D(Attributes attrs) |
- { |
- m_attrs = attrs; |
- } |
-}; |
- |
-} |
- |
-#endif |
+// Temporary forwarding header |
+#include "cc/test/compositor_fake_web_graphics_context_3d.h" |