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

Issue 1824033002: Split core/include/fpdfapi/fpdf_resource.h (Closed)

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

Description

Split core/include/fpdfapi/fpdf_resource.h This CL splits apart the core/include/fpdfapi/fpdf_resource.h file and places the classes into individual files. R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/61b2fc718910a5ab2a75ec5026b239ff33bccfdc

Patch Set 1 #

Patch Set 2 : Fixing mac build #

Total comments: 22

Patch Set 3 : #

Patch Set 4 : Rebase to master #

Total comments: 2

Patch Set 5 : Rebase to master #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4330 lines, -9186 lines) Patch
M BUILD.gn View 1 2 3 4 6 chunks +31 lines, -4 lines 0 comments Download
M core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M core/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M core/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.cpp View 2 chunks +3 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
D core/fpdfapi/fpdf_edit/fpdf_edit_image.cpp View 1 chunk +0 lines, -391 lines 0 comments Download
A core/fpdfapi/fpdf_font/cpdf_cidfont.h View 1 2 3 4 1 chunk +89 lines, -0 lines 0 comments Download
A + core/fpdfapi/fpdf_font/cpdf_cidfont.cpp View 1 2 3 4 2 chunks +80 lines, -852 lines 0 comments Download
A core/fpdfapi/fpdf_font/cpdf_font.cpp View 1 chunk +492 lines, -0 lines 0 comments Download
A + core/fpdfapi/fpdf_font/cpdf_fontencoding.cpp View 15 chunks +194 lines, -160 lines 0 comments Download
A core/fpdfapi/fpdf_font/cpdf_simplefont.h View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_font/cpdf_simplefont.cpp View 1 chunk +222 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_font/cpdf_truetypefont.h View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_font/cpdf_truetypefont.cpp View 1 chunk +225 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_font/cpdf_type1font.h View 1 2 3 4 1 chunk +35 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_font/cpdf_type1font.cpp View 1 1 chunk +403 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_font/cpdf_type3char.h View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_font/cpdf_type3char.cpp View 1 chunk +43 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_font/cpdf_type3font.h View 1 2 3 4 1 chunk +56 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_font/cpdf_type3font.cpp View 1 2 3 4 1 chunk +162 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_font/font_int.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M core/fpdfapi/fpdf_font/fpdf_font.cpp View 1 2 3 4 3 chunks +2 lines, -1513 lines 0 comments Download
D core/fpdfapi/fpdf_font/fpdf_font_charset.cpp View 1 chunk +0 lines, -1781 lines 0 comments Download
M core/fpdfapi/fpdf_font/fpdf_font_cid.cpp View 1 2 3 4 5 chunks +5 lines, -888 lines 0 comments Download
A core/fpdfapi/fpdf_font/include/cpdf_font.h View 1 2 3 4 1 chunk +128 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_font/include/cpdf_fontencoding.h View 1 2 3 4 1 chunk +59 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_allstates.cpp View 1 chunk +1 line, -0 lines 0 comments Download
A core/fpdfapi/fpdf_page/cpdf_color.cpp View 1 2 3 4 1 chunk +180 lines, -0 lines 0 comments Download
A + core/fpdfapi/fpdf_page/cpdf_colorspace.cpp View 1 2 26 chunks +705 lines, -1001 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_colorstate.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_colorstatedata.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A core/fpdfapi/fpdf_page/cpdf_countedobject.h View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
A + core/fpdfapi/fpdf_page/cpdf_image.cpp View 1 2 11 chunks +138 lines, -68 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_imageobject.cpp View 1 chunk +1 line, -0 lines 0 comments Download
A core/fpdfapi/fpdf_page/cpdf_meshstream.h View 1 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_page/cpdf_meshstream.cpp View 1 chunk +119 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_page.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_pageobjectholder.cpp View 1 chunk +1 line, -0 lines 0 comments Download
A core/fpdfapi/fpdf_page/cpdf_pattern.h View 1 2 3 4 1 chunk +39 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_page/cpdf_pattern.cpp View 1 chunk +21 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_shadingobject.cpp View 1 chunk +1 line, -0 lines 0 comments Download
A core/fpdfapi/fpdf_page/cpdf_shadingpattern.h View 1 2 3 4 1 chunk +62 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_page/cpdf_shadingpattern.cpp View 1 chunk +101 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_textobject.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_textstate.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/cpdf_textstatedata.cpp View 1 chunk +1 line, -1 line 0 comments Download
A core/fpdfapi/fpdf_page/cpdf_tilingpattern.h View 1 2 3 4 1 chunk +34 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_page/cpdf_tilingpattern.cpp View 1 chunk +51 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/fpdf_page_colors.cpp View 5 chunks +12 lines, -1326 lines 0 comments Download
M core/fpdfapi/fpdf_page/fpdf_page_doc.cpp View 3 chunks +7 lines, -2 lines 0 comments Download
M core/fpdfapi/fpdf_page/fpdf_page_func.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
D core/fpdfapi/fpdf_page/fpdf_page_image.cpp View 1 chunk +0 lines, -66 lines 0 comments Download
M core/fpdfapi/fpdf_page/fpdf_page_parser.cpp View 2 chunks +6 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/fpdf_page_pattern.cpp View 2 chunks +3 lines, -236 lines 0 comments Download
A core/fpdfapi/fpdf_page/include/cpdf_color.h View 1 2 3 4 1 chunk +47 lines, -0 lines 0 comments Download
A core/fpdfapi/fpdf_page/include/cpdf_colorspace.h View 1 2 3 4 1 chunk +122 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/include/cpdf_formobject.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A core/fpdfapi/fpdf_page/include/cpdf_image.h View 1 2 3 4 1 chunk +98 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_page/pageint.h View 4 chunks +11 lines, -5 lines 0 comments Download
M core/fpdfapi/fpdf_parser/cpdf_document.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M core/fpdfapi/fpdf_render/fpdf_render.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_render/fpdf_render_image.cpp View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp View 1 2 3 4 2 chunks +1 line, -65 lines 0 comments Download
M core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_render/fpdf_render_text.cpp View 2 chunks +5 lines, -21 lines 0 comments Download
M core/fpdfapi/fpdf_render/render_int.h View 2 chunks +3 lines, -1 line 0 comments Download
M core/fpdfdoc/doc_ap.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M core/fpdfdoc/doc_form.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M core/fpdfdoc/doc_tagged.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M core/fpdfdoc/doc_utils.h View 1 chunk +0 lines, -1 line 0 comments Download
M core/fpdfdoc/doc_utils.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M core/fpdftext/fpdf_text_int.cpp View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M core/fxcodec/codec/fx_codec_jpx_opj.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
D core/include/fpdfapi/fpdf_resource.h View 1 2 3 4 1 chunk +0 lines, -774 lines 0 comments Download
M core/include/fpdfdoc/fpdf_tagged.h View 1 chunk +2 lines, -0 lines 0 comments Download
M core/include/fxcodec/fx_codec.h View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M core/include/fxge/fx_font.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M core/include/fxge/fx_freetype.h View 1 chunk +1 line, -0 lines 0 comments Download
A fpdfsdk/formfiller/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M fpdfsdk/formfiller/cba_fontmap.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M fpdfsdk/fpdf_flatten.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M fpdfsdk/fpdfeditimg.cpp View 1 chunk +1 line, -1 line 0 comments Download
A fpdfsdk/fxedit/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M fpdfsdk/fxedit/fxet_ap.cpp View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/fxedit/fxet_edit.cpp View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/javascript/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/javascript/Document.h View 1 chunk +0 lines, -1 line 0 comments Download
M fpdfsdk/javascript/Document.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/javascript/Field.cpp View 1 chunk +1 line, -0 lines 0 comments Download
A fpdfsdk/pdfwindow/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M fpdfsdk/pdfwindow/PWL_Edit.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/pdfwindow/PWL_FontMap.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M pdfium.gyp View 1 2 3 4 6 chunks +31 lines, -4 lines 0 comments Download
M public/fpdf_edit.h View 1 2 3 4 5 1 chunk +3 lines, -4 lines 0 comments Download
M xfa/fxfa/app/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fxfa/app/xfa_fontmgr.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
dsinclair
PTAL. Turns out, fpdf_resources.h was really big, heh.
4 years, 9 months ago (2016-03-22 16:00:18 UTC) #2
Tom Sepez
LGTM with comments, few of which are about this CLs changes. https://codereview.chromium.org/1824033002/diff/20001/BUILD.gn File BUILD.gn (right): ...
4 years, 9 months ago (2016-03-22 16:55:53 UTC) #3
dsinclair
PTAL. https://codereview.chromium.org/1824033002/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1824033002/diff/20001/BUILD.gn#newcode313 BUILD.gn:313: "core/fpdfapi/fpdf_page/cpdf_countedobject.h", On 2016/03/22 16:55:52, Tom Sepez wrote: > ...
4 years, 9 months ago (2016-03-23 00:00:26 UTC) #4
Tom Sepez
https://codereview.chromium.org/1824033002/diff/60001/public/fpdf_edit.h File public/fpdf_edit.h (right): https://codereview.chromium.org/1824033002/diff/60001/public/fpdf_edit.h#newcode19 public/fpdf_edit.h:19: ((uint32_t)((uint32_t)(b) | ((uint32_t)(g) << 8) | ((uint32_t)(r) << 16) ...
4 years, 9 months ago (2016-03-23 19:57:02 UTC) #5
dsinclair
https://codereview.chromium.org/1824033002/diff/60001/public/fpdf_edit.h File public/fpdf_edit.h (right): https://codereview.chromium.org/1824033002/diff/60001/public/fpdf_edit.h#newcode19 public/fpdf_edit.h:19: ((uint32_t)((uint32_t)(b) | ((uint32_t)(g) << 8) | ((uint32_t)(r) << 16) ...
4 years, 9 months ago (2016-03-23 20:09:11 UTC) #6
Tom Sepez
lgtm
4 years, 9 months ago (2016-03-23 21:47:43 UTC) #7
dsinclair
4 years, 9 months ago (2016-03-23 23:21:33 UTC) #9
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
61b2fc718910a5ab2a75ec5026b239ff33bccfdc (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698