summaryrefslogtreecommitdiffstats
path: root/gfx/canvas_skia.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-09 19:48:35 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-09 19:48:35 +0000
commit7ee62626cfe9952c2e2c7f34f91f128b1cea8835 (patch)
tree0d87619ba52572e89956a763edfae023730b7348 /gfx/canvas_skia.h
parent1280270eea827aca9b676aced264a25a26efa36a (diff)
downloadchromium_src-7ee62626cfe9952c2e2c7f34f91f128b1cea8835.zip
chromium_src-7ee62626cfe9952c2e2c7f34f91f128b1cea8835.tar.gz
chromium_src-7ee62626cfe9952c2e2c7f34f91f128b1cea8835.tar.bz2
Start implementing Direct2D Canvas. Implements Save/Restore methods, FillRectInt and BeginPlatformPaint/EndPlatformPaint.http://crbug.com/48583TEST=see unittest
Review URL: http://codereview.chromium.org/2939001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51996 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx/canvas_skia.h')
-rw-r--r--gfx/canvas_skia.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gfx/canvas_skia.h b/gfx/canvas_skia.h
index e3633a5..115bd83 100644
--- a/gfx/canvas_skia.h
+++ b/gfx/canvas_skia.h
@@ -79,10 +79,10 @@ class CanvasSkia : public skia::PlatformCanvas,
// Extracts a bitmap from the contents of this canvas.
SkBitmap ExtractBitmap() const;
- // Overridden from Canvas2:
+ // Overridden from Canvas:
virtual void Save();
- virtual void SaveLayerAlpha(U8CPU alpha);
- virtual void SaveLayerAlpha(U8CPU alpha, const gfx::Rect& layer_bounds);
+ virtual void SaveLayerAlpha(uint8 alpha);
+ virtual void SaveLayerAlpha(uint8 alpha, const gfx::Rect& layer_bounds);
virtual void Restore();
virtual bool GetClipRect(gfx::Rect* clip_rect);
virtual bool ClipRectInt(int x, int y, int w, int h);