Index: printing/emf_win.h |
diff --git a/printing/emf_win.h b/printing/emf_win.h |
index c66e9f24b989745c59ec07296e6ee67bc0a86826..9bb423264bb0bd16fdf0e0b7a6fa434f030cfb69 100644 |
--- a/printing/emf_win.h |
+++ b/printing/emf_win.h |
@@ -28,11 +28,6 @@ class Size; |
namespace printing { |
-// http://msdn2.microsoft.com/en-us/library/ms535522.aspx |
-// Windows 2000/XP: When a page in a spooled file exceeds approximately 350 |
-// MB, it can fail to print and not send an error message. |
-const size_t kMetafileMaxSize = 350*1024*1024; |
- |
// Simple wrapper class that manage an EMF data stream and its virtual HDC. |
class PRINTING_EXPORT Emf : public Metafile { |
public: |
@@ -82,17 +77,6 @@ class PRINTING_EXPORT Emf : public Metafile { |
HENHMETAFILE emf() const { return emf_; } |
- // Returns true if metafile contains alpha blend. |
- bool IsAlphaBlendUsed() const; |
- |
- // Returns new metafile with only bitmap created by playback of the current |
- // metafile. Returns NULL if fails. |
- std::unique_ptr<Emf> RasterizeMetafile(int raster_area_in_pixels) const; |
- |
- // Returns new metafile where AlphaBlend replaced by bitmaps. Returns NULL |
- // if fails. |
- std::unique_ptr<Emf> RasterizeAlphaBlend() const; |
- |
private: |
FRIEND_TEST_ALL_PREFIXES(EmfTest, DC); |
FRIEND_TEST_ALL_PREFIXES(EmfPrintingTest, PageBreak); |