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

Issue 1473503002: Introduce "underlying types" to abstract XFA differences. (Closed)

Created:
5 years, 1 month ago by Tom Sepez
Modified:
5 years 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

Introduce "underlying types" to abstract XFA differences. See the comment in fsdk_define.h. Also tidy up a bit, and remove dead DeletePages(). This should help us match master more closely (given corresponding changes on the master side). R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/50d12ada784ad3ba3f9ed6935d59f1ce828695e5

Patch Set 1 #

Total comments: 7

Patch Set 2 : Include order, underlying types in one other place. #

Patch Set 3 : rebase past Jun's CL. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -186 lines) Patch
M fpdfsdk/include/fsdk_baseannot.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M fpdfsdk/include/fsdk_define.h View 2 chunks +14 lines, -0 lines 0 comments Download
M fpdfsdk/include/fsdk_mgr.h View 1 5 chunks +14 lines, -9 lines 0 comments Download
M fpdfsdk/src/fpdfformfill.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M fpdfsdk/src/fpdfview.cpp View 1 2 5 chunks +24 lines, -11 lines 0 comments Download
M fpdfsdk/src/fsdk_actionhandler.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/src/fsdk_annothandler.cpp View 3 chunks +24 lines, -34 lines 0 comments Download
M fpdfsdk/src/fsdk_baseannot.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M fpdfsdk/src/fsdk_baseform.cpp View 10 chunks +13 lines, -50 lines 1 comment Download
M fpdfsdk/src/fsdk_mgr.cpp View 12 chunks +28 lines, -49 lines 0 comments Download
M fpdfsdk/src/javascript/Document.cpp View 12 chunks +13 lines, -22 lines 0 comments Download
M fpdfsdk/src/javascript/Field.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M fpdfsdk/src/javascript/JS_Runtime.cpp View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/src/javascript/app.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
Tom Sepez
https://codereview.chromium.org/1473503002/diff/1/fpdfsdk/src/fsdk_baseannot.cpp File fpdfsdk/src/fsdk_baseannot.cpp (right): https://codereview.chromium.org/1473503002/diff/1/fpdfsdk/src/fsdk_baseannot.cpp#newcode985 fpdfsdk/src/fsdk_baseannot.cpp:985: return GetPDFXFAPage(); e.g., in master this changes to GetPDFPage().
5 years, 1 month ago (2015-11-24 00:23:33 UTC) #3
Tom Sepez
Lei, for review, part of the work to make fpdfsdk have fewer diff lines.
5 years, 1 month ago (2015-11-24 00:25:36 UTC) #4
Lei Zhang
https://codereview.chromium.org/1473503002/diff/1/fpdfsdk/include/fsdk_baseannot.h File fpdfsdk/include/fsdk_baseannot.h (right): https://codereview.chromium.org/1473503002/diff/1/fpdfsdk/include/fsdk_baseannot.h#newcode18 fpdfsdk/include/fsdk_baseannot.h:18: #include "fx_systemhandler.h" this comes last, might as well make ...
5 years, 1 month ago (2015-11-24 00:45:14 UTC) #5
Tom Sepez
https://codereview.chromium.org/1473503002/diff/1/fpdfsdk/include/fsdk_baseannot.h File fpdfsdk/include/fsdk_baseannot.h (right): https://codereview.chromium.org/1473503002/diff/1/fpdfsdk/include/fsdk_baseannot.h#newcode18 fpdfsdk/include/fsdk_baseannot.h:18: #include "fx_systemhandler.h" On 2015/11/24 00:45:14, Lei Zhang wrote: > ...
5 years, 1 month ago (2015-11-24 00:57:53 UTC) #6
Lei Zhang
lgtm
5 years, 1 month ago (2015-11-24 01:02:30 UTC) #7
Tom Sepez
Added a few more uses (now TBR)
5 years ago (2015-11-24 17:50:15 UTC) #8
Tom Sepez
Committed patchset #3 (id:40001) manually as 50d12ada784ad3ba3f9ed6935d59f1ce828695e5 (presubmit successful).
5 years ago (2015-11-24 17:50:58 UTC) #9
Lei Zhang
5 years ago (2015-11-24 18:13:09 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/1473503002/diff/40001/fpdfsdk/src/fsdk_basefo...
File fpdfsdk/src/fsdk_baseform.cpp (right):

https://codereview.chromium.org/1473503002/diff/40001/fpdfsdk/src/fsdk_basefo...
fpdfsdk/src/fsdk_baseform.cpp:2267: CPDF_Document* pDocument =
m_pDocument->GetDocument()->GetPDFDoc();
Looks like you got more to change.

Powered by Google App Engine
This is Rietveld 408576698