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

Issue 705823002: Add pdf layer code for PDFium XFA module (Closed)

Created:
6 years, 1 month ago by Bo Xu
Modified:
6 years, 1 month ago
Reviewers:
Lei Zhang, Tom Sepez
CC:
chromium-reviews, palmer, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add pdf layer code for PDFium XFA module BUG=62400

Patch Set 1 #

Patch Set 2 : Remove pdfium_engine.h #

Total comments: 19

Patch Set 3 : Format and whitespace #

Patch Set 4 : Indent #

Total comments: 22

Patch Set 5 : Naming, comment #

Total comments: 13

Patch Set 6 : Clean up GYP/GN #

Patch Set 7 : Change verion to 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+385 lines, -4 lines) Patch
M pdf/pdfium/pdfium_engine.h View 1 2 3 4 1 chunk +64 lines, -0 lines 0 comments Download
M pdf/pdfium/pdfium_engine.cc View 1 2 3 4 5 6 6 chunks +321 lines, -4 lines 0 comments Download

Messages

Total messages: 33 (4 generated)
Tom Sepez
This needs to match the chromium style guide, not the PDFium style. Its a matter ...
6 years, 1 month ago (2014-11-05 22:37:09 UTC) #2
Bo Xu
On 2014/11/05 22:37:09, Tom Sepez wrote: > This needs to match the chromium style guide, ...
6 years, 1 month ago (2014-11-05 22:43:28 UTC) #3
Tom Sepez
https://codereview.chromium.org/705823002/diff/20001/pdf/pdf.gyp File pdf/pdf.gyp (right): https://codereview.chromium.org/705823002/diff/20001/pdf/pdf.gyp#newcode74 pdf/pdf.gyp:74: 'defines': ['_TEST_XFA_'], nit: the #define should be PDF_USE_XFA for ...
6 years, 1 month ago (2014-11-05 22:44:47 UTC) #5
Lei Zhang
https://codereview.chromium.org/705823002/diff/20001/pdf/pdf.gyp File pdf/pdf.gyp (right): https://codereview.chromium.org/705823002/diff/20001/pdf/pdf.gyp#newcode5 pdf/pdf.gyp:5: 'pdf_use_xfa%': 0, You need to make the corresponding change ...
6 years, 1 month ago (2014-11-05 22:45:10 UTC) #6
Bo Xu
https://codereview.chromium.org/705823002/diff/20001/pdf/pdfium/pdfium_engine.h File pdf/pdfium/pdfium_engine.h (right): https://codereview.chromium.org/705823002/diff/20001/pdf/pdfium/pdfium_engine.h#newcode30 pdf/pdfium/pdfium_engine.h:30: #define XFA_TESTFILE(filename) "E:/"#filename On 2014/11/05 22:45:09, Lei Zhang wrote: ...
6 years, 1 month ago (2014-11-05 22:51:46 UTC) #7
Lei Zhang
https://codereview.chromium.org/705823002/diff/20001/pdf/pdfium/pdfium_engine.h File pdf/pdfium/pdfium_engine.h (right): https://codereview.chromium.org/705823002/diff/20001/pdf/pdfium/pdfium_engine.h#newcode30 pdf/pdfium/pdfium_engine.h:30: #define XFA_TESTFILE(filename) "E:/"#filename On 2014/11/05 22:51:46, Bo Xu wrote: ...
6 years, 1 month ago (2014-11-05 22:58:04 UTC) #8
Bo Xu
No warnings for long line, tab or space line ending in presubmit. Please review again. ...
6 years, 1 month ago (2014-11-06 01:26:20 UTC) #9
Lei Zhang
https://codereview.chromium.org/705823002/diff/60001/pdf/BUILD.gn File pdf/BUILD.gn (right): https://codereview.chromium.org/705823002/diff/60001/pdf/BUILD.gn#newcode69 pdf/BUILD.gn:69: if(pdf_use_xfa == 1) { nit: space after if https://codereview.chromium.org/705823002/diff/60001/pdf/BUILD.gn#newcode70 ...
6 years, 1 month ago (2014-11-06 04:08:09 UTC) #10
Bo Xu
I have change the variable naming to match the code in pdfium_engine.cc Please review again ...
6 years, 1 month ago (2014-11-06 05:43:51 UTC) #11
Tom Sepez
https://codereview.chromium.org/705823002/diff/80001/pdf/pdfium/pdfium_engine.cc File pdf/pdfium/pdfium_engine.cc (right): https://codereview.chromium.org/705823002/diff/80001/pdf/pdfium/pdfium_engine.cc#newcode600 pdf/pdfium/pdfium_engine.cc:600: FPDF_FORMFILLINFO::version = 1; New fields are added to this ...
6 years, 1 month ago (2014-11-06 17:45:45 UTC) #12
Tom Sepez
https://codereview.chromium.org/705823002/diff/80001/pdf/pdfium/pdfium_engine.cc File pdf/pdfium/pdfium_engine.cc (right): https://codereview.chromium.org/705823002/diff/80001/pdf/pdfium/pdfium_engine.cc#newcode601 pdf/pdfium/pdfium_engine.cc:601: FPDF_FORMFILLINFO::m_pJsPlatform = this; Note that in going from the ...
6 years, 1 month ago (2014-11-06 18:10:05 UTC) #13
Bo Xu
https://codereview.chromium.org/705823002/diff/80001/pdf/pdfium/pdfium_engine.cc File pdf/pdfium/pdfium_engine.cc (right): https://codereview.chromium.org/705823002/diff/80001/pdf/pdfium/pdfium_engine.cc#newcode600 pdf/pdfium/pdfium_engine.cc:600: FPDF_FORMFILLINFO::version = 1; On 2014/11/06 17:45:45, Tom Sepez wrote: ...
6 years, 1 month ago (2014-11-06 18:52:05 UTC) #14
Tom Sepez
> Since we are branching out xfa, the version in xfa branch should be changed ...
6 years, 1 month ago (2014-11-06 19:08:53 UTC) #15
Lei Zhang
https://codereview.chromium.org/705823002/diff/60001/pdf/BUILD.gn File pdf/BUILD.gn (right): https://codereview.chromium.org/705823002/diff/60001/pdf/BUILD.gn#newcode70 pdf/BUILD.gn:70: defines += [ "_PDF_USE_XFA_" ] On 2014/11/06 05:43:51, Bo ...
6 years, 1 month ago (2014-11-06 19:15:30 UTC) #16
Tom Sepez
> They you can remove the PDF_USE_XFA macro entirely from the gyp/GN. (But double-check with ...
6 years, 1 month ago (2014-11-06 19:23:28 UTC) #17
Lei Zhang
On 2014/11/06 19:23:28, Tom Sepez wrote: > > They you can remove the PDF_USE_XFA macro ...
6 years, 1 month ago (2014-11-06 19:29:24 UTC) #18
Tom Sepez
> s/They/Then/ ? s/They/Then/.
6 years, 1 month ago (2014-11-06 19:30:48 UTC) #19
Tom Sepez
For the sake of moving the project forward, I'm OK with keeping PDFIUM_USE_XFA and hard-coded ...
6 years, 1 month ago (2014-11-06 19:57:07 UTC) #20
Tom Sepez
On 2014/11/06 19:57:07, Tom Sepez wrote: > For the sake of moving the project forward, ...
6 years, 1 month ago (2014-11-06 22:59:07 UTC) #21
Bo Xu
On 2014/11/06 19:29:24, Lei Zhang wrote: > On 2014/11/06 19:23:28, Tom Sepez wrote: > > ...
6 years, 1 month ago (2014-11-07 00:02:37 UTC) #22
Bo Xu
Updated based on previous comments. Now put the PDF_USE_XFA define to pdfium xfa branch
6 years, 1 month ago (2014-11-07 00:31:21 UTC) #23
Lei Zhang
lgtm
6 years, 1 month ago (2014-11-07 00:51:01 UTC) #24
Tom Sepez
lgtm
6 years, 1 month ago (2014-11-07 00:53:06 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/705823002/120001
6 years, 1 month ago (2014-11-07 00:54:58 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/22730)
6 years, 1 month ago (2014-11-07 01:02:51 UTC) #29
Bo Xu
On 2014/11/07 01:02:51, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 1 month ago (2014-11-07 01:35:54 UTC) #30
Tom Sepez
No recent movement; I'm going to pull the patch and land it myself.
6 years, 1 month ago (2014-11-12 22:04:01 UTC) #31
Tom Sepez
On 2014/11/12 22:04:01, Tom Sepez wrote: > No recent movement; I'm going to pull the ...
6 years, 1 month ago (2014-11-12 22:05:04 UTC) #32
Tom Sepez
6 years, 1 month ago (2014-11-12 22:06:07 UTC) #33
On 2014/11/12 22:05:04, Tom Sepez wrote:
> On 2014/11/12 22:04:01, Tom Sepez wrote:
> > No recent movement; I'm going to pull the patch and land it myself.
> See https://codereview.chromium.org/705823002/
No, see https://codereview.chromium.org/722863002/.

Powered by Google App Engine
This is Rietveld 408576698