diff options
author | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-15 16:25:09 +0000 |
---|---|---|
committer | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-15 16:25:09 +0000 |
commit | c797a198d5798753a2029133a5f0b94e2fed9d59 (patch) | |
tree | 40f0b8c0af4caa8c41d34a6c16bb569bf465478c /printing/metafile.h | |
parent | 823a51b179f3bb00f3833f6ab438064ee0b64572 (diff) | |
download | chromium_src-c797a198d5798753a2029133a5f0b94e2fed9d59.zip chromium_src-c797a198d5798753a2029133a5f0b94e2fed9d59.tar.gz chromium_src-c797a198d5798753a2029133a5f0b94e2fed9d59.tar.bz2 |
Print preview should use draft PDFs until it is ready to print to improve speed.
BUG=85767
TEST=none
Review URL: http://codereview.chromium.org/7149020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89198 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/metafile.h')
-rw-r--r-- | printing/metafile.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/printing/metafile.h b/printing/metafile.h index 84c0556..2ec1d78 100644 --- a/printing/metafile.h +++ b/printing/metafile.h @@ -143,6 +143,11 @@ class Metafile { // Returns true if writing succeeded. virtual bool SaveToFD(const base::FileDescriptor& fd) const = 0; #endif // if defined(OS_CHROMEOS) + + // Sets the flag to create a draft metafile. + // NOTE: Draft metafile does not include font embedding, compression, etc. + // This is currently used only in print preview workflow. + virtual void set_draft(bool draft) const = 0; }; } // namespace printing |