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

Issue 1153553003: Make CPDFXFA_App / IXFA_AppProvider saner (Closed)

Created:
5 years, 7 months ago by Tom Sepez
Modified:
5 years, 7 months ago
Reviewers:
Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@xfa
Target Ref:
refs/heads/xfa
Visibility:
Public.

Description

Make CPDFXFA_App / IXFA_AppProvider saner Move interface comments from the implementation header to the interface header. Replace Create / Release functions with static methods. Replace dubious Release() methods with deletion via virtual dtor, also for IXFA_App and IXFA_FontMgr while we're at it. Untabify and fix (theoretically) illegal _CAP include guard definitions for fpdfxfa/ headers. R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/bdeeb8a036442302b821686a03698b0bb98952e1

Patch Set 1 #

Patch Set 2 : Whitespace and dtors #

Patch Set 3 : IXFA_FontMgr. #

Patch Set 4 : Reduce churn. #

Patch Set 5 : Tidy, dead code. #

Total comments: 14

Patch Set 6 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+690 lines, -816 lines) Patch
M fpdfsdk/include/fpdfxfa/fpdfxfa_app.h View 1 2 3 4 5 1 chunk +68 lines, -126 lines 0 comments Download
M fpdfsdk/src/fpdf_dataavail.cpp View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M fpdfsdk/src/fpdfeditpage.cpp View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M fpdfsdk/src/fpdfformfill.cpp View 1 2 3 12 chunks +26 lines, -49 lines 0 comments Download
M fpdfsdk/src/fpdfsave.cpp View 1 2 3 1 chunk +5 lines, -4 lines 0 comments Download
M fpdfsdk/src/fpdfview.cpp View 1 2 3 4 4 chunks +17 lines, -28 lines 0 comments Download
M fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp View 1 2 3 4 5 2 chunks +432 lines, -512 lines 0 comments Download
M fpdfsdk/src/fsdk_mgr.cpp View 1 2 3 3 chunks +17 lines, -35 lines 0 comments Download
M fpdfsdk/src/javascript/JS_Runtime.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M fpdfsdk/src/javascript/global.cpp View 1 2 3 1 chunk +3 lines, -8 lines 0 comments Download
M xfa/include/fxfa/fxfa.h View 1 2 3 4 5 3 chunks +101 lines, -32 lines 0 comments Download
M xfa/src/fxfa/src/app/xfa_ffapp.h View 1 1 chunk +2 lines, -5 lines 0 comments Download
M xfa/src/fxfa/src/app/xfa_ffapp.cpp View 1 2 3 4 5 1 chunk +6 lines, -1 line 0 comments Download
M xfa/src/fxfa/src/app/xfa_fontmgr.h View 1 1 chunk +1 line, -5 lines 0 comments Download
M xfa/src/fxfa/src/app/xfa_fontmgr.cpp View 1 2 3 4 5 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 8 (1 generated)
Tom Sepez
Lei, for review. I'm trying to see how invasive XFA is into the non-XFA side, ...
5 years, 7 months ago (2015-05-22 20:43:59 UTC) #2
Tom Sepez
On 2015/05/22 20:43:59, Tom Sepez wrote: > Lei, for review. I'm trying to see how ...
5 years, 7 months ago (2015-05-26 18:31:35 UTC) #3
Tom Sepez
And, its re-opened. Lei, please review this smaller subset.
5 years, 7 months ago (2015-05-26 19:58:02 UTC) #4
Lei Zhang
https://codereview.chromium.org/1153553003/diff/80001/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h File fpdfsdk/include/fpdfxfa/fpdfxfa_app.h (right): https://codereview.chromium.org/1153553003/diff/80001/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h#newcode30 fpdfsdk/include/fpdfxfa/fpdfxfa_app.h:30: FX_BOOL InitRuntime(FX_BOOL bReset = FALSE) { move impl to ...
5 years, 7 months ago (2015-05-27 02:18:40 UTC) #5
Tom Sepez
https://codereview.chromium.org/1153553003/diff/80001/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h File fpdfsdk/include/fpdfxfa/fpdfxfa_app.h (right): https://codereview.chromium.org/1153553003/diff/80001/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h#newcode30 fpdfsdk/include/fpdfxfa/fpdfxfa_app.h:30: FX_BOOL InitRuntime(FX_BOOL bReset = FALSE) { On 2015/05/27 02:18:40, ...
5 years, 7 months ago (2015-05-27 17:07:50 UTC) #6
Lei Zhang
lgtm
5 years, 7 months ago (2015-05-27 17:35:34 UTC) #7
Tom Sepez
5 years, 7 months ago (2015-05-27 19:25:18 UTC) #8
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
bdeeb8a036442302b821686a03698b0bb98952e1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698