From ae43b850c0d3cd6f82d0b639c349ef896ca55a09 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Sat, 25 Feb 2012 00:10:14 +0000 Subject: ui/gfx: Move CanvasPaintWin into its own file. This fix the TODO for ben@ in canvas_skia.cc. R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9453019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123598 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/gfx/canvas.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'ui/gfx/canvas.h') diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h index 61d42a4..e6ad62b 100644 --- a/ui/gfx/canvas.h +++ b/ui/gfx/canvas.h @@ -223,24 +223,6 @@ class UI_EXPORT Canvas { virtual const SkCanvas* GetSkCanvas() const; }; -class UI_EXPORT CanvasPaint { - public: - virtual ~CanvasPaint() {} - - // Creates a canvas that paints to |view| when it is destroyed. The canvas is - // sized to the client area of |view|. - static CanvasPaint* CreateCanvasPaint(gfx::NativeView view); - - // Returns true if the canvas has an invalid rect that needs to be repainted. - virtual bool IsValid() const = 0; - - // Returns the rectangle that is invalid. - virtual gfx::Rect GetInvalidRect() const = 0; - - // Returns the underlying Canvas. - virtual Canvas* AsCanvas() = 0; -}; - } // namespace gfx #endif // UI_GFX_CANVAS_H_ -- cgit v1.1