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

Issue 2351673004: Cleanup CPDFXFA and CPDF document methods (Closed)

Created:
4 years, 3 months ago by dsinclair
Modified:
4 years, 3 months ago
Reviewers:
Tom Sepez, npm, Wei Li
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Cleanup CPDFXFA and CPDF document methods This CL renames and cleans up some methods that are similar between CPDF_Document and CPDFXFA_Document. Committed: https://pdfium.googlesource.com/pdfium/+/9f206f05eccf51089fe8a30bf52dc063ea5e2633

Patch Set 1 #

Total comments: 8

Patch Set 2 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -20 lines) Patch
M core/fpdfapi/fpdf_parser/include/cpdf_document.h View 2 chunks +3 lines, -2 lines 0 comments Download
M fpdfsdk/fpdfview.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp View 6 chunks +6 lines, -6 lines 0 comments Download
M fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h View 1 1 chunk +7 lines, -7 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
dsinclair
PTAL. https://codereview.chromium.org/2351673004/diff/1/core/fpdfapi/fpdf_parser/include/cpdf_document.h File core/fpdfapi/fpdf_parser/include/cpdf_document.h (right): https://codereview.chromium.org/2351673004/diff/1/core/fpdfapi/fpdf_parser/include/cpdf_document.h#newcode52 core/fpdfapi/fpdf_parser/include/cpdf_document.h:52: int GetPageCount() const; These two are grouped as ...
4 years, 3 months ago (2016-09-20 13:30:54 UTC) #7
npm
lgtm https://codereview.chromium.org/2351673004/diff/1/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h File fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h (right): https://codereview.chromium.org/2351673004/diff/1/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h#newcode47 fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h:47: CPDFXFA_Page* GetXFAPage(int page_index); Why separate these?
4 years, 3 months ago (2016-09-20 14:30:25 UTC) #8
dsinclair
https://codereview.chromium.org/2351673004/diff/1/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h File fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h (right): https://codereview.chromium.org/2351673004/diff/1/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h#newcode47 fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h:47: CPDFXFA_Page* GetXFAPage(int page_index); On 2016/09/20 14:30:25, npm wrote: > ...
4 years, 3 months ago (2016-09-20 14:38:09 UTC) #9
dsinclair
https://codereview.chromium.org/2351673004/diff/1/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h File fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h (right): https://codereview.chromium.org/2351673004/diff/1/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h#newcode48 fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h:48: CPDFXFA_Page* GetXFAPage(CXFA_FFPageView* pPage); Tom, I renamed these because there ...
4 years, 3 months ago (2016-09-20 18:04:43 UTC) #10
Tom Sepez
lgtm https://codereview.chromium.org/2351673004/diff/1/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h File fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h (right): https://codereview.chromium.org/2351673004/diff/1/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h#newcode42 fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h:42: int GetDocType() { return m_iDocType; } nit: both ...
4 years, 3 months ago (2016-09-20 18:52:30 UTC) #11
dsinclair
https://codereview.chromium.org/2351673004/diff/1/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h File fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h (right): https://codereview.chromium.org/2351673004/diff/1/fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h#newcode42 fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h:42: int GetDocType() { return m_iDocType; } On 2016/09/20 18:52:29, ...
4 years, 3 months ago (2016-09-20 19:02:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2351673004/40001
4 years, 3 months ago (2016-09-20 19:03:27 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 19:17:45 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/9f206f05eccf51089fe8a30bf52dc063ea5e...

Powered by Google App Engine
This is Rietveld 408576698