Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Issue 1036853002: SkPDF: clean up skpdfdocument, add static functions (Closed)

Created:
5 years, 9 months ago by hal.canary
Modified:
5 years, 9 months ago
Reviewers:
mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

SkPDF: clean up skpdfdocument, add static functions Add SkPDFDocument::EmitPDF and SkPDFDocument::GetCountOfFontTypes Also, make SkPDFDocument::appendPage return void, not bool. Motivation: These static functions can be used to print subsets of a pdf document (functionality to be added in a later CL). BUG=skia:3585 Committed: https://skia.googlesource.com/skia/+/9d85145590894e8114056f0bbe24ba76581336c5

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -27 lines) Patch
M src/pdf/SkPDFDocument.h View 1 chunk +36 lines, -14 lines 6 comments Download
M src/pdf/SkPDFDocument.cpp View 3 chunks +11 lines, -13 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1036853002/1
5 years, 9 months ago (2015-03-25 12:50:00 UTC) #2
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 9 months ago (2015-03-25 12:50:01 UTC) #3
hal.canary
ptal
5 years, 9 months ago (2015-03-25 12:50:38 UTC) #5
mtklein
https://codereview.chromium.org/1036853002/diff/1/src/pdf/SkPDFDocument.h File src/pdf/SkPDFDocument.h (right): https://codereview.chromium.org/1036853002/diff/1/src/pdf/SkPDFDocument.h#newcode30 src/pdf/SkPDFDocument.h:30: class SkPDFDocument { It's starting to seem like SkPDFDocument ...
5 years, 9 months ago (2015-03-25 13:10:08 UTC) #6
hal.canary
On 2015/03/25 13:10:08, mtklein wrote: > https://codereview.chromium.org/1036853002/diff/1/src/pdf/SkPDFDocument.h > File src/pdf/SkPDFDocument.h (right): > > https://codereview.chromium.org/1036853002/diff/1/src/pdf/SkPDFDocument.h#newcode30 > ...
5 years, 9 months ago (2015-03-25 13:11:49 UTC) #7
mtklein
On 2015/03/25 13:11:49, Hal Canary wrote: > On 2015/03/25 13:10:08, mtklein wrote: > > https://codereview.chromium.org/1036853002/diff/1/src/pdf/SkPDFDocument.h ...
5 years, 9 months ago (2015-03-25 13:12:18 UTC) #8
hal.canary
On 2015/03/25 13:11:49, Hal Canary wrote: > You asked me to split up the CL. ...
5 years, 9 months ago (2015-03-25 13:12:29 UTC) #9
hal.canary
On 2015/03/25 13:12:18, mtklein wrote: > > > If not, it seems like we should ...
5 years, 9 months ago (2015-03-25 13:14:39 UTC) #10
mtklein
lgtm
5 years, 9 months ago (2015-03-25 13:17:07 UTC) #11
hal.canary
https://codereview.chromium.org/1036853002/diff/1/src/pdf/SkPDFDocument.h File src/pdf/SkPDFDocument.h (right): https://codereview.chromium.org/1036853002/diff/1/src/pdf/SkPDFDocument.h#newcode30 src/pdf/SkPDFDocument.h:30: class SkPDFDocument { On 2015/03/25 13:10:08, mtklein wrote: > ...
5 years, 9 months ago (2015-03-25 13:19:45 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-03-25 14:11:11 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/9d85145590894e8114056f0bbe24ba76581336c5

Powered by Google App Engine
This is Rietveld 408576698