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

Unified Diff: skia/ext/vector_platform_device_skia.h

Issue 7348010: Added Header and Footer support using Skia (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed header_footer_info param from IPC call. Created 9 years, 5 months 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
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 7aaa2a29e1da6a9ee187a3f30e9218936b031494..32522583500c2c116a81573305f8ba60a9923e15 100644
--- a/skia/ext/vector_platform_device_skia.h
+++ b/skia/ext/vector_platform_device_skia.h
@@ -79,8 +79,12 @@ class VectorPlatformDeviceSkia : public PlatformDevice {
virtual void drawDevice(const SkDraw& draw, SkDevice*, int x, int y,
const SkPaint&);
+ // Sets the drawing area for the device. Subsequent draw calls are
+ // directed to the specific drawing area (margin or content area).
+ virtual void setDrawingArea(SkPDFDevice::DrawingArea area);
Chris Guillory 2011/07/26 00:10:45 Doesn't need to be virtual.
Aayush Kumar 2011/07/26 01:55:41 Done.
+
protected:
- virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config, int width,
+ virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config, int width,
int height, bool isOpaque,
Usage usage);

Powered by Google App Engine
This is Rietveld 408576698