diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-25 00:10:14 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-25 00:10:14 +0000 |
commit | ae43b850c0d3cd6f82d0b639c349ef896ca55a09 (patch) | |
tree | 9351048b577b779b3fdc80cfcaa8375ef94a732e /ui/gfx/canvas.h | |
parent | bca7497622b009bca0597c48f8c43ec0a7121fbd (diff) | |
download | chromium_src-ae43b850c0d3cd6f82d0b639c349ef896ca55a09.zip chromium_src-ae43b850c0d3cd6f82d0b639c349ef896ca55a09.tar.gz chromium_src-ae43b850c0d3cd6f82d0b639c349ef896ca55a09.tar.bz2 |
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
Diffstat (limited to 'ui/gfx/canvas.h')
-rw-r--r-- | ui/gfx/canvas.h | 18 |
1 files changed, 0 insertions, 18 deletions
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_ |