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

Issue 6499024: Connect Skia PDF backend to printing subsystem. (Closed)

Created:
9 years, 10 months ago by vandebo (ex-Chrome)
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

+ This CL pulls in all the PDF code (i.e. we are now compiling the PDF backend on Chrome). + Add a Metafile to contain Skia PDF content. + Add a VectorPlatformDevice for use with the Skia PDF backend. BUG=62889 TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80841 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=80857 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80873

Patch Set 1 #

Patch Set 2 : Rebase to 75989 #

Patch Set 3 : Requires http://codereview.chromium.org/6665046/ - but is less of a scaffolding. #

Patch Set 4 : Rebase to 78998 (which include vector canvas unfork) #

Patch Set 5 : Rebase to 79336 and fix Clips wrt margin offset. #

Patch Set 6 : Rebase to 79936 and add plugin drawing support #

Patch Set 7 : Rebase to http://codereview.chromium.org/6783036/ and fix drawDevice in wrapper #

Patch Set 8 : Fix some build problems #

Patch Set 9 : (with right baseline) #

Patch Set 10 : Rebase to 80514 (but needs Skia rev >= 1059) #

Total comments: 20

Patch Set 11 : Address review comments #

Patch Set 12 : Fix win compile #

Patch Set 13 : Rebase (80721) #

Total comments: 2

Patch Set 14 : Add zlib dep to gyp and remove MOZ_Z prefix per crrev.com/74975 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+663 lines, -1 line) Patch
A printing/pdf_metafile_skia.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +74 lines, -0 lines 0 comments Download
A printing/pdf_metafile_skia.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +165 lines, -0 lines 0 comments Download
M printing/printing.gyp View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -0 lines 0 comments Download
M skia/config/SkUserConfig.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +21 lines, -0 lines 0 comments Download
A skia/ext/vector_platform_device_skia.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +106 lines, -0 lines 0 comments Download
A skia/ext/vector_platform_device_skia.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +254 lines, -0 lines 0 comments Download
M skia/skia.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 9 chunks +38 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
vandebo (ex-Chrome)
FY: This is the scaffolding I have been using to test my PDF backend.
9 years, 10 months ago (2011-02-15 21:32:58 UTC) #1
vandebo (ex-Chrome)
FYI, with http://codereview.chromium.org/6499024/ and the NativeMetaFileFactory, the scaffolding doesn't have any hacks left in it....
9 years, 9 months ago (2011-03-18 19:01:05 UTC) #2
vandebo (ex-Chrome)
FYI Chris, new patch set.
9 years, 9 months ago (2011-03-22 18:58:38 UTC) #3
vandebo (ex-Chrome)
9 years, 8 months ago (2011-04-06 20:11:22 UTC) #4
reed1
I know this feature is a long time coming, but we should be sure to ...
9 years, 8 months ago (2011-04-06 20:20:53 UTC) #5
vandebo (ex-Chrome)
On 2011/04/06 20:20:53, reed1 wrote: > I know this feature is a long time coming, ...
9 years, 8 months ago (2011-04-06 20:28:50 UTC) #6
alokp
I think this is fine for now. I am currently focusing on deprecating PlatformCanvas. PlatformDevice ...
9 years, 8 months ago (2011-04-06 20:36:32 UTC) #7
reed1
We *definitely* have to be moving toward not subclassing SkDevice per-platform, but only functionally. Alok, ...
9 years, 8 months ago (2011-04-06 20:40:46 UTC) #8
alokp
On 2011/04/06 20:40:46, reed1 wrote: > We *definitely* have to be moving toward not subclassing ...
9 years, 8 months ago (2011-04-06 20:43:15 UTC) #9
Lei Zhang
http://codereview.chromium.org/6499024/diff/23001/printing/pdf_metafile_skia.cc File printing/pdf_metafile_skia.cc (right): http://codereview.chromium.org/6499024/diff/23001/printing/pdf_metafile_skia.cc#newcode74 printing/pdf_metafile_skia.cc:74: FinishPage(); nit: indentation http://codereview.chromium.org/6499024/diff/23001/printing/pdf_metafile_skia.cc#newcode75 printing/pdf_metafile_skia.cc:75: data_->pdf_doc_.emitPDF(&data_->pdf_stream_); check emitPDF's return ...
9 years, 8 months ago (2011-04-06 20:43:56 UTC) #10
reed1
http://codereview.chromium.org/6499024/diff/23001/skia/config/SkUserConfig.h File skia/config/SkUserConfig.h (right): http://codereview.chromium.org/6499024/diff/23001/skia/config/SkUserConfig.h#newcode119 skia/config/SkUserConfig.h:119: //#define SK_SUPPORT_LCDTEXT I second Lei's question. Commenting this out ...
9 years, 8 months ago (2011-04-06 21:33:41 UTC) #11
vandebo (ex-Chrome)
http://codereview.chromium.org/6499024/diff/23001/printing/pdf_metafile_skia.cc File printing/pdf_metafile_skia.cc (right): http://codereview.chromium.org/6499024/diff/23001/printing/pdf_metafile_skia.cc#newcode74 printing/pdf_metafile_skia.cc:74: FinishPage(); On 2011/04/06 20:43:56, Lei Zhang wrote: > nit: ...
9 years, 8 months ago (2011-04-06 22:01:37 UTC) #12
vandebo (ex-Chrome)
There are a lot of reviewers listed. Please speak up if you have a comment ...
9 years, 8 months ago (2011-04-07 00:25:35 UTC) #13
reed1
LGTM but I defer to others.
9 years, 8 months ago (2011-04-07 13:14:40 UTC) #14
Lei Zhang
LGTM http://codereview.chromium.org/6499024/diff/32001/printing/pdf_metafile_skia.h File printing/pdf_metafile_skia.h (right): http://codereview.chromium.org/6499024/diff/32001/printing/pdf_metafile_skia.h#newcode16 printing/pdf_metafile_skia.h:16: #include <vector> nit: no need for vector.
9 years, 8 months ago (2011-04-07 17:48:57 UTC) #15
vandebo (ex-Chrome)
Chris, ok the changes between patch set 13 & 14? http://codereview.chromium.org/6499024/diff/32001/printing/pdf_metafile_skia.h File printing/pdf_metafile_skia.h (right): http://codereview.chromium.org/6499024/diff/32001/printing/pdf_metafile_skia.h#newcode16 ...
9 years, 8 months ago (2011-04-07 23:05:39 UTC) #16
Chris Guillory
9 years, 8 months ago (2011-04-07 23:36:32 UTC) #17
On 2011/04/07 23:05:39, vandebo wrote:
> Chris, ok the changes between patch set 13 & 14?
LGTM
> 
> http://codereview.chromium.org/6499024/diff/32001/printing/pdf_metafile_skia.h
> File printing/pdf_metafile_skia.h (right):
> 
>
http://codereview.chromium.org/6499024/diff/32001/printing/pdf_metafile_skia....
> printing/pdf_metafile_skia.h:16: #include <vector>
> On 2011/04/07 17:48:57, Lei Zhang wrote:
> > nit: no need for vector.
> 
> Done.

Powered by Google App Engine
This is Rietveld 408576698