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

Issue 1701073002: Split CPDF_PageObjectHolder off from CPDF_PageObjectList (Closed)

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

Description

Split CPDF_PageObjectHolder off from CPDF_PageObjectList Eventually, we're going to expose an iterator over CPDF_PageObjectList that we don't want to be inherited by the CPDF_PageObjectHolder sub-classes: page and form. Also, the operations that the object holder performs dealing with inquiring about masks and such seem beyond the scope of what a list would provide. Hence the "Holder" name. R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/32c70815316672091946be88e5941089c359d151

Patch Set 1 : sed and format #

Patch Set 2 : Actually perform split. #

Patch Set 3 : Few other minor renames. #

Total comments: 8

Patch Set 4 : Nits, make m_pPage be CPDF_Page. #

Patch Set 5 : m_pPage can never be null, remove checks. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -178 lines) Patch
M core/include/fpdfapi/fpdf_module.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M core/include/fpdfapi/fpdf_page.h View 1 2 3 4 chunks +25 lines, -27 lines 0 comments Download
M core/include/fpdfapi/fpdf_render.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M core/include/fpdftext/fpdf_text.h View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M core/src/fpdfapi/fpdf_font/fpdf_font.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page.cpp View 1 5 chunks +22 lines, -34 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp View 1 10 chunks +15 lines, -14 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/pageint.h View 1 4 chunks +4 lines, -4 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render.cpp View 1 2 8 chunks +23 lines, -19 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/render_int.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M core/src/fpdftext/fpdf_text_int.cpp View 1 2 3 4 9 chunks +15 lines, -26 lines 0 comments Download
M core/src/fpdftext/text_int.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/include/fxedit/fx_edit.h View 2 chunks +4 lines, -4 lines 0 comments Download
M fpdfsdk/include/pdfwindow/PWL_Edit.h View 1 chunk +2 lines, -2 lines 0 comments Download
M fpdfsdk/src/fpdf_flatten.cpp View 1 1 chunk +3 lines, -2 lines 0 comments Download
M fpdfsdk/src/fpdfeditpage.cpp View 1 3 chunks +4 lines, -4 lines 0 comments Download
M fpdfsdk/src/fxedit/fxet_pageobjs.cpp View 1 5 chunks +17 lines, -16 lines 0 comments Download
M fpdfsdk/src/javascript/Document.cpp View 1 2 chunks +6 lines, -7 lines 0 comments Download
M fpdfsdk/src/pdfwindow/PWL_Edit.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
Tom Sepez
Lei, for review. Next part of the ptr_list work that I'm trying to split into ...
4 years, 10 months ago (2016-02-16 19:01:31 UTC) #3
Lei Zhang
lgtm https://codereview.chromium.org/1701073002/diff/40001/core/include/fpdfapi/fpdf_module.h File core/include/fpdfapi/fpdf_module.h (right): https://codereview.chromium.org/1701073002/diff/40001/core/include/fpdfapi/fpdf_module.h#newcode27 core/include/fpdfapi/fpdf_module.h:27: class CPDF_PageObjectHolder; Not needed. https://codereview.chromium.org/1701073002/diff/40001/core/include/fpdfapi/fpdf_page.h File core/include/fpdfapi/fpdf_page.h (right): ...
4 years, 10 months ago (2016-02-17 00:28:59 UTC) #6
Tom Sepez
https://codereview.chromium.org/1701073002/diff/40001/core/include/fpdfapi/fpdf_module.h File core/include/fpdfapi/fpdf_module.h (right): https://codereview.chromium.org/1701073002/diff/40001/core/include/fpdfapi/fpdf_module.h#newcode27 core/include/fpdfapi/fpdf_module.h:27: class CPDF_PageObjectHolder; On 2016/02/17 00:28:59, Lei Zhang wrote: > ...
4 years, 10 months ago (2016-02-17 00:59:45 UTC) #7
Tom Sepez
4 years, 10 months ago (2016-02-17 01:15:37 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
32c70815316672091946be88e5941089c359d151 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698