summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_device_mac.h
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 22:12:33 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 22:12:33 +0000
commit973b7701f2be80ea89cc0799912b64b76a30de5d (patch)
tree2a6e7f587d9e94e26d8a30d56491f2a9fb4621db /skia/ext/platform_device_mac.h
parent00174ef7842eef55f7d697fedf947b5ad415368c (diff)
downloadchromium_src-973b7701f2be80ea89cc0799912b64b76a30de5d.zip
chromium_src-973b7701f2be80ea89cc0799912b64b76a30de5d.tar.gz
chromium_src-973b7701f2be80ea89cc0799912b64b76a30de5d.tar.bz2
Fixed a few styles issues in skia::PlatformDevice. Made function names consistent. Added Begin/EndPlatformPaint on Mac.
Review URL: http://codereview.chromium.org/6691067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80707 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/platform_device_mac.h')
-rw-r--r--skia/ext/platform_device_mac.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/skia/ext/platform_device_mac.h b/skia/ext/platform_device_mac.h
index d3ad829..6ce6ddd 100644
--- a/skia/ext/platform_device_mac.h
+++ b/skia/ext/platform_device_mac.h
@@ -44,6 +44,9 @@ class PlatformDevice : public SkDevice {
// Returns if native platform APIs are allowed to render text to this device.
virtual bool IsNativeFontRenderingAllowed();
+ virtual PlatformSurface BeginPlatformPaint();
+ virtual void EndPlatformPaint();
+
// Initializes the default settings and colors in a device context.
static void InitializeCGContext(CGContextRef context);