summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_device.h
diff options
context:
space:
mode:
authorvitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-22 00:10:07 +0000
committervitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-22 00:10:07 +0000
commit60d77bde7e6aac08a05b00ce2b82f94144934965 (patch)
treee259f3205b1017c549b87e08497ad4172f990bdd /skia/ext/platform_device.h
parentf26c77082295b9fc277cd7a5eb75cdf0edee1bbb (diff)
downloadchromium_src-60d77bde7e6aac08a05b00ce2b82f94144934965.zip
chromium_src-60d77bde7e6aac08a05b00ce2b82f94144934965.tar.gz
chromium_src-60d77bde7e6aac08a05b00ce2b82f94144934965.tar.bz2
Some printers has issue with metafiles produces from PDF so added switch and about:flag as workaround for affected users.
Rasterisation is implemented and RasterizeMetafile function. It replace metafile with new one where content is only bitmap created by playback of original metafile. FlattenTransparency replaced with full rasterisation. Fixed rectangle returned by Emf::GetPageBounds. Removed SkDevice::AlphaBlendUsed(). Removed return value from PrintWebViewHelper::RenderPage on windows. BUG=133527 Review URL: https://chromiumcodereview.appspot.com/10836330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152681 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/platform_device.h')
-rw-r--r--skia/ext/platform_device.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/skia/ext/platform_device.h b/skia/ext/platform_device.h
index 627cd32..3263902 100644
--- a/skia/ext/platform_device.h
+++ b/skia/ext/platform_device.h
@@ -124,11 +124,6 @@ class SK_API PlatformDevice {
// Returns if GDI is allowed to render text to this device.
virtual bool IsNativeFontRenderingAllowed();
- // True if AlphaBlend() was called during a
- // BeginPlatformPaint()/EndPlatformPaint() pair.
- // Used by the printing subclasses. See |VectorPlatformDeviceEmf|.
- virtual bool AlphaBlendUsed() const;
-
#if defined(OS_WIN)
// Loads a SkPath into the GDI context. The path can there after be used for
// clipping or as a stroke. Returns false if the path failed to be loaded.