Index: cc/software_output_device.h |
diff --git a/cc/software_output_device.h b/cc/software_output_device.h |
deleted file mode 100644 |
index f1a795f00f8f82fc89c7ad5538b5f9fbe447d3ac..0000000000000000000000000000000000000000 |
--- a/cc/software_output_device.h |
+++ /dev/null |
@@ -1,56 +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_SOFTWARE_OUTPUT_DEVICE_H_ |
-#define CC_SOFTWARE_OUTPUT_DEVICE_H_ |
- |
-#include "base/basictypes.h" |
-#include "cc/base/cc_export.h" |
-#include "skia/ext/refptr.h" |
-#include "ui/gfx/rect.h" |
-#include "ui/gfx/size.h" |
-#include "ui/gfx/vector2d.h" |
-#include "ui/surface/transport_dib.h" |
- |
-class SkBitmap; |
-class SkDevice; |
-class SkCanvas; |
- |
-namespace cc { |
- |
-class SoftwareFrameData; |
- |
-// This is a "tear-off" class providing software drawing support to |
-// OutputSurface, such as to a platform-provided window framebuffer. |
-class CC_EXPORT SoftwareOutputDevice { |
- public: |
- |
- SoftwareOutputDevice(); |
- virtual ~SoftwareOutputDevice(); |
- |
- // SoftwareOutputDevice implementation |
- virtual void Resize(const gfx::Size& size); |
- |
- virtual SkCanvas* BeginPaint(const gfx::Rect& damage_rect); |
- virtual void EndPaint(SoftwareFrameData* frame_data=NULL); |
- |
- virtual void CopyToBitmap(const gfx::Rect& rect, SkBitmap* output); |
- virtual void Scroll(const gfx::Vector2d& delta, |
- const gfx::Rect& clip_rect); |
- |
- // TODO(skaslev) Remove this after UberCompositor lands. |
- virtual void ReclaimDIB(TransportDIB::Handle handle); |
- |
-protected: |
- gfx::Size viewport_size_; |
- gfx::Rect damage_rect_; |
- skia::RefPtr<SkDevice> device_; |
- skia::RefPtr<SkCanvas> canvas_; |
- |
- DISALLOW_COPY_AND_ASSIGN(SoftwareOutputDevice); |
-}; |
- |
-} // namespace cc |
- |
-#endif // CC_SOFTWARE_OUTPUT_DEVICE_H_ |