summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authoraayushkumar@chromium.org <aayushkumar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 22:25:33 +0000
committeraayushkumar@chromium.org <aayushkumar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 22:25:33 +0000
commit0a2f3737c59387775e369264d6effbd1ca56630a (patch)
treeef42e69918ac96a19f4b8e87a741db13429f3713 /skia
parentcdea65da32fead5a53aa2152adb381017e693a92 (diff)
downloadchromium_src-0a2f3737c59387775e369264d6effbd1ca56630a.zip
chromium_src-0a2f3737c59387775e369264d6effbd1ca56630a.tar.gz
chromium_src-0a2f3737c59387775e369264d6effbd1ca56630a.tar.bz2
Revert 97219 - Added Header and Footer support in Linux, Windows and Mac for Skia
BUG=67514 TEST= In the preview tab, note added options for printing headers and footers. Toggle with the checkbox and ensure that the correct headers and footers are displayed. Review URL: http://codereview.chromium.org/7348010 TBR=aayushkumar@chromium.org Review URL: http://codereview.chromium.org/7670045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97226 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r--skia/ext/vector_platform_device_skia.cc4
-rw-r--r--skia/ext/vector_platform_device_skia.h6
2 files changed, 1 insertions, 9 deletions
diff --git a/skia/ext/vector_platform_device_skia.cc b/skia/ext/vector_platform_device_skia.cc
index 0971d1a..bda7a60 100644
--- a/skia/ext/vector_platform_device_skia.cc
+++ b/skia/ext/vector_platform_device_skia.cc
@@ -193,10 +193,6 @@ void VectorPlatformDeviceSkia::drawDevice(const SkDraw& draw,
pdf_device_->drawDevice(draw, real_device, x, y, paint);
}
-void VectorPlatformDeviceSkia::setDrawingArea(SkPDFDevice::DrawingArea area) {
- pdf_device_->setDrawingArea(area);
-}
-
#if defined(OS_WIN)
void VectorPlatformDeviceSkia::DrawToNativeContext(HDC dc,
int x,
diff --git a/skia/ext/vector_platform_device_skia.h b/skia/ext/vector_platform_device_skia.h
index 49d2f94c..7aaa2a2 100644
--- a/skia/ext/vector_platform_device_skia.h
+++ b/skia/ext/vector_platform_device_skia.h
@@ -79,12 +79,8 @@ 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).
- void setDrawingArea(SkPDFDevice::DrawingArea area);
-
protected:
- virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config, int width,
+ virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config, int width,
int height, bool isOpaque,
Usage usage);