diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-18 18:13:02 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-18 18:13:02 +0000 |
commit | da0446c49ec2da3a425e8470c7e0e62ad3c73dcc (patch) | |
tree | 4dafd474f7efb1931d41de8f87fe41983adf7a56 /skia | |
parent | 2b05d66d9176cf44fb00e2c7d09a3fabf3b8b2ec (diff) | |
download | chromium_src-da0446c49ec2da3a425e8470c7e0e62ad3c73dcc.zip chromium_src-da0446c49ec2da3a425e8470c7e0e62ad3c73dcc.tar.gz chromium_src-da0446c49ec2da3a425e8470c7e0e62ad3c73dcc.tar.bz2 |
Add OVERRIDE in the same places the windows version of the file has them.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6292003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71669 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/ext/vector_platform_device_linux.h | 47 |
1 files changed, 25 insertions, 22 deletions
diff --git a/skia/ext/vector_platform_device_linux.h b/skia/ext/vector_platform_device_linux.h index a8ef963..8504e60 100644 --- a/skia/ext/vector_platform_device_linux.h +++ b/skia/ext/vector_platform_device_linux.h @@ -6,6 +6,7 @@ #define SKIA_EXT_VECTOR_PLATFORM_DEVICE_LINUX_H_ #pragma once +#include "base/compiler_specific.h" #include "skia/ext/platform_device.h" #include "third_party/skia/include/core/SkMatrix.h" #include "third_party/skia/include/core/SkRegion.h" @@ -45,40 +46,42 @@ class VectorPlatformDevice : public PlatformDevice { virtual SkDeviceFactory* getDeviceFactory(); // Overridden from PlatformDevice: - virtual bool IsVectorial(); - virtual PlatformSurface beginPlatformPaint(); - virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, - const SkIRect* srcRectOrNull, - const SkMatrix& matrix, const SkPaint& paint); - virtual void drawDevice(const SkDraw& draw, SkDevice*, int x, int y, - const SkPaint&); - virtual void drawPaint(const SkDraw& draw, const SkPaint& paint); + virtual void drawPaint(const SkDraw& draw, const SkPaint& paint) OVERRIDE; + virtual void drawPoints(const SkDraw& draw, SkCanvas::PointMode mode, + size_t count, const SkPoint[], + const SkPaint& paint) OVERRIDE; + virtual void drawRect(const SkDraw& draw, const SkRect& r, + const SkPaint& paint) OVERRIDE; virtual void drawPath(const SkDraw& draw, const SkPath& path, const SkPaint& paint, const SkMatrix* prePathMatrix = NULL, - bool pathIsMutable = false); - virtual void drawPoints(const SkDraw& draw, SkCanvas::PointMode mode, - size_t count, const SkPoint[], const SkPaint& paint); - virtual void drawPosText(const SkDraw& draw, const void* text, size_t len, - const SkScalar pos[], SkScalar constY, - int scalarsPerPos, const SkPaint& paint); - virtual void drawRect(const SkDraw& draw, const SkRect& r, - const SkPaint& paint); + bool pathIsMutable = false) OVERRIDE; + virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, + const SkIRect* srcRectOrNull, + const SkMatrix& matrix, + const SkPaint& paint) OVERRIDE; virtual void drawSprite(const SkDraw& draw, const SkBitmap& bitmap, - int x, int y, const SkPaint& paint); + int x, int y, const SkPaint& paint) OVERRIDE; virtual void drawText(const SkDraw& draw, const void* text, size_t len, - SkScalar x, SkScalar y, const SkPaint& paint); + SkScalar x, SkScalar y, const SkPaint& paint) OVERRIDE; + virtual void drawPosText(const SkDraw& draw, const void* text, size_t len, + const SkScalar pos[], SkScalar constY, + int scalarsPerPos, const SkPaint& paint) OVERRIDE; virtual void drawTextOnPath(const SkDraw& draw, const void* text, size_t len, const SkPath& path, const SkMatrix* matrix, - const SkPaint& paint); + const SkPaint& paint) OVERRIDE; virtual void drawVertices(const SkDraw& draw, SkCanvas::VertexMode, int vertexCount, const SkPoint verts[], const SkPoint texs[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, - const SkPaint& paint); - virtual void setMatrixClip(const SkMatrix& transform, - const SkRegion& region); + const SkPaint& paint) OVERRIDE; + virtual void drawDevice(const SkDraw& draw, SkDevice*, int x, int y, + const SkPaint&) OVERRIDE; + + virtual void setMatrixClip(const SkMatrix& transform, const SkRegion& region); + virtual PlatformSurface beginPlatformPaint(); + virtual bool IsVectorial(); protected: explicit VectorPlatformDevice(PlatformSurface context, |