Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(574)

Unified Diff: skia/ext/vector_platform_device_skia.h

Issue 8681014: Add OVERRIDE to skia/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/ext/SkFontHost_fontconfig_direct.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/vector_platform_device_skia.h
diff --git a/skia/ext/vector_platform_device_skia.h b/skia/ext/vector_platform_device_skia.h
index e14241393f92966d95e871e5eff7af88f3020881..3db756176795f67f36bdc9f03b995545e17dd740 100644
--- a/skia/ext/vector_platform_device_skia.h
+++ b/skia/ext/vector_platform_device_skia.h
@@ -7,6 +7,7 @@
#pragma once
#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "base/logging.h"
#include "skia/ext/platform_device.h"
#include "third_party/skia/include/core/SkRefCnt.h"
@@ -27,19 +28,26 @@ class VectorPlatformDeviceSkia : public PlatformDevice, public SkPDFDevice {
virtual ~VectorPlatformDeviceSkia();
// PlatformDevice methods.
- virtual bool IsNativeFontRenderingAllowed();
+ virtual bool IsNativeFontRenderingAllowed() OVERRIDE;
- virtual PlatformSurface BeginPlatformPaint();
- virtual void EndPlatformPaint();
+ virtual PlatformSurface BeginPlatformPaint() OVERRIDE;
+ virtual void EndPlatformPaint() OVERRIDE;
#if defined(OS_WIN)
- virtual void DrawToNativeContext(HDC dc, int x, int y, const RECT* src_rect);
+ virtual void DrawToNativeContext(HDC dc,
+ int x,
+ int y,
+ const RECT* src_rect) OVERRIDE;
#elif defined(OS_MACOSX)
- virtual void DrawToNativeContext(CGContext* context, int x, int y,
- const CGRect* src_rect);
- virtual CGContextRef GetBitmapContext();
+ virtual void DrawToNativeContext(CGContext* context,
+ int x,
+ int y,
+ const CGRect* src_rect) OVERRIDE;
+ virtual CGContextRef GetBitmapContext() OVERRIDE;
#elif defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_OPENBSD)
- virtual void DrawToNativeContext(PlatformSurface surface, int x, int y,
- const PlatformRect* src_rect);
+ virtual void DrawToNativeContext(PlatformSurface surface,
+ int x,
+ int y,
+ const PlatformRect* src_rect) OVERRIDE;
#endif
private:
« no previous file with comments | « skia/ext/SkFontHost_fontconfig_direct.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698