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

Unified Diff: cc/test/pixel_test_output_surface.h

Issue 12041062: Have a common implementation of cc::OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/fake_output_surface.cc ('k') | cc/test/pixel_test_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/pixel_test_output_surface.h
diff --git a/cc/test/pixel_test_output_surface.h b/cc/test/pixel_test_output_surface.h
deleted file mode 100644
index 91d789fc76fc95e1217cbf19387b0f5925122830..0000000000000000000000000000000000000000
--- a/cc/test/pixel_test_output_surface.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// 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 CC_TEST_PIXEL_TEST_GRAPHICS_CONTEXT_H_
-#define CC_TEST_PIXEL_TEST_GRAPHICS_CONTEXT_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "cc/output_surface.h"
-
-namespace cc {
-
-class PixelTestOutputSurface : public OutputSurface {
- public:
- static scoped_ptr<PixelTestOutputSurface> create() {
- return make_scoped_ptr(new PixelTestOutputSurface);
- }
-
- virtual ~PixelTestOutputSurface();
-
- // OutputSurface overrides.
- virtual bool BindToClient(OutputSurfaceClient*) OVERRIDE;
- virtual const struct OutputSurface::Capabilities& Capabilities() const
- OVERRIDE;
- virtual WebKit::WebGraphicsContext3D* Context3D() const OVERRIDE;
- virtual SoftwareOutputDevice* SoftwareDevice() const OVERRIDE;
- virtual void SendFrameToParentCompositor(CompositorFrame*) OVERRIDE {}
-
- private:
- PixelTestOutputSurface();
-
- scoped_ptr<WebKit::WebGraphicsContext3D> context_;
-};
-
-} // namespace cc
-
-#endif // CC_TEST_PIXEL_TEST_GRAPHICS_CONTEXT_H_
« no previous file with comments | « cc/test/fake_output_surface.cc ('k') | cc/test/pixel_test_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698