summaryrefslogtreecommitdiffstats
path: root/printing/metafile_skia_wrapper.cc
Commit message (Collapse)AuthorAgeFilesLines
* printing: Use skia::RefPtr to replace manual ref-counting.danakj@chromium.org2012-12-041-4/+4
| | | | | | | | | | | R=vandebo@chromium.org BUG=163454 Depends on: https://codereview.chromium.org/11428099/ NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11316263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170878 0039d316-1c4b-4281-b951-d872f2087c98
* A better fix for scaling issue.gene@chromium.org2012-05-091-1/+21
| | | | | | | | | | | Instead of using TLS and static function, pass scaling in the skia dictionary. BUG=125499 TEST=Make sure printing is working. Review URL: https://chromiumcodereview.appspot.com/10387022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136055 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 103021: Printing preview of a PDF on Mac with Skia only previews the ↵kmadhusu@chromium.org2011-09-281-29/+5
| | | | | | | | | | | | | | | | | last page of the PDF BUG=93145 TEST=Please refer to bug report. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103021 Original review URL: codereview.chromium.org/7719014 Please refer to trybot results in the last patch of original review url. Review URL: http://codereview.chromium.org/8059034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103082 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 103021 - PrintPreview: Printing preview of a PDF on Mac with Skia ↵kmadhusu@chromium.org2011-09-271-5/+29
| | | | | | | | | | | | | | only previews the last page of the PDF BUG=93145 TEST=Please refer to bug report. Review URL: http://codereview.chromium.org/7719014 TBR=kmadhusu@chromium.org Review URL: http://codereview.chromium.org/8052020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103026 0039d316-1c4b-4281-b951-d872f2087c98
* PrintPreview: Printing preview of a PDF on Mac with Skia only previews the ↵kmadhusu@chromium.org2011-09-271-29/+5
| | | | | | | | | | | last page of the PDF BUG=93145 TEST=Please refer to bug report. Review URL: http://codereview.chromium.org/7719014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103021 0039d316-1c4b-4281-b951-d872f2087c98
* Added SetDraftMode() and GetDraftMode() functions to |MetafileSkiaWrapper| ↵kmadhusu@chromium.org2011-08-021-1/+17
| | | | | | | | | | | | class. BUG=none TEST=none Review URL: http://codereview.chromium.org/7537042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95033 0039d316-1c4b-4281-b951-d872f2087c98
* Connect the right metafiles for print preview on Linux and Windows.vandebo@chromium.org2011-04-111-0/+53
+ Remove the NativeMetafileFactory since we can't just use preview flag. + Update each Metafile constructor site to use PreviewMetafile or NativeMetafileImpl. + Fix misc. problems blocking pdf generation on Windows. + Rename the metafile interface. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6826027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81161 0039d316-1c4b-4281-b951-d872f2087c98