Skip to content

Commit

Permalink
Revert 80841 - + This CL pulls in all the PDF code (i.e. we are now c…
Browse files Browse the repository at this point in the history
…ompiling the PDF backend on Chrome).+ Add a Metafile to contain Skia PDF content.+ Add a VectorPlatformDevice for use with the Skia PDF backend.BUG=62889TEST=NONEReview URL: http://codereview.chromium.org/6499024

TBR=vandebo@chromium.org
Review URL: http://codereview.chromium.org/6814028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80857 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
vandebo@chromium.org committed Apr 7, 2011
1 parent 1e14033 commit 1e44a9a
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 667 deletions.
165 changes: 0 additions & 165 deletions printing/pdf_metafile_skia.cc

This file was deleted.

74 changes: 0 additions & 74 deletions printing/pdf_metafile_skia.h

This file was deleted.

5 changes: 0 additions & 5 deletions printing/printing.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@
'pdf_metafile_cairo_linux.h',
'pdf_metafile_cg_mac.cc',
'pdf_metafile_cg_mac.h',
'pdf_metafile_skia.h',
'pdf_metafile_skia.cc',
'printed_document_cairo.cc',
'printed_document.cc',
'printed_document.h',
Expand Down Expand Up @@ -109,9 +107,6 @@
'../build/linux/system.gyp:gtkprint',
],
}],
['OS=="mac"',
{'sources/': [['exclude', 'pdf_metafile_skia\\.(cc|h)$']]}
],
['OS=="win"', {
'defines': [
# PRINT_BACKEND_AVAILABLE disables the default dummy implementation
Expand Down
27 changes: 0 additions & 27 deletions skia/config/SkUserConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,33 +113,6 @@
*/
//#define SK_USE_RUNTIME_GLOBALS

/* If zlib is available and you want to support the flate compression
algorithm (used in PDF generation), define SK_ZLIB_INCLUDE to be the
include path.
*/
//#define SK_ZLIB_INCLUDE <zlib.h>
#if defined(USE_SYSTEM_ZLIB)
#define SK_ZLIB_INCLUDE <zlib.h>
#else
#define SK_ZLIB_INCLUDE "third_party/zlib/zlib.h"
#define MOZ_Z_inflate inflate
#define MOZ_Z_inflateInit_ inflateInit_
#define MOZ_Z_inflateEnd inflateEnd
#define MOZ_Z_deflate deflate
#define MOZ_Z_deflateInit_ deflateInit_
#define MOZ_Z_deflateEnd deflateEnd
#endif

/* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow
them, but modern PDF interpreters should handle them just fine.
*/
//#define SK_ALLOW_LARGE_PDF_SCALARS

/* Define this to remove dimension checks on bitmaps. Not all blits will be
correct yet, so this is mostly for debugging the implementation.
*/
//#define SK_ALLOW_OVER_32K_BITMAPS


/* To write debug messages to a console, skia will call SkDebugf(...) following
printf conventions (e.g. const char* format, ...). If you want to redirect
Expand Down
Loading

0 comments on commit 1e44a9a

Please sign in to comment.