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

Issue 2062313002: Make code compile with clang_use_chrome_plugin (part IV) (Closed)

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

Description

Make code compile with clang_use_chrome_plugin (part IV) This change mainly contains files in fpdfsdk/ directory. This is part of the efforts to make PDFium code compilable by Clang chromium style plugins. The changes are mainly the following: -- move inline constructor/destructor of complex class/struct out-of-line; -- add constructor/destructor of complex class/struct if not explicitly defined; -- add explicit out-of-line copy constructor when needed; -- move inline virtual functions out-of-line; -- Properly mark virtual functions with 'override'; -- some minor cleanups plus removing an unused file and splitting cxfa_eventparam out from fxfa.h BUG=pdfium:469 Committed: https://pdfium.googlesource.com/pdfium/+/625ad667d0c0c17d5bc11d505f04861d90b45078

Patch Set 1 #

Patch Set 2 : clean up #

Patch Set 3 : small fix #

Total comments: 2

Patch Set 4 : address comments #

Patch Set 5 : remove unused file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+986 lines, -652 lines) Patch
M BUILD.gn View 1 2 3 3 chunks +2 lines, -1 line 0 comments Download
M core/fxcodec/codec/fx_codec_progress.cpp View 3 chunks +12 lines, -0 lines 0 comments Download
M core/fxcodec/codec/include/ccodec_progressivedecoder.h View 3 chunks +7 lines, -6 lines 0 comments Download
M fpdfsdk/formfiller/cffl_iformfiller.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M fpdfsdk/fpdfformfill.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M fpdfsdk/fpdfsave.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/fpdfview.cpp View 3 chunks +16 lines, -0 lines 0 comments Download
M fpdfsdk/fpdfxfa/fpdfxfa_app.cpp View 1 3 chunks +15 lines, -2 lines 0 comments Download
M fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp View 1 2 3 7 chunks +70 lines, -30 lines 0 comments Download
M fpdfsdk/fpdfxfa/fpdfxfa_page.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M fpdfsdk/fpdfxfa/include/fpdfxfa_app.h View 1 1 chunk +4 lines, -6 lines 0 comments Download
M fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h View 4 chunks +92 lines, -111 lines 0 comments Download
M fpdfsdk/fpdfxfa/include/fpdfxfa_page.h View 1 chunk +2 lines, -3 lines 0 comments Download
M fpdfsdk/fsdk_actionhandler.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M fpdfsdk/fsdk_annothandler.cpp View 11 chunks +85 lines, -4 lines 0 comments Download
M fpdfsdk/fsdk_baseannot.cpp View 5 chunks +52 lines, -15 lines 0 comments Download
M fpdfsdk/fsdk_baseform.cpp View 1 2 3 3 chunks +26 lines, -0 lines 0 comments Download
M fpdfsdk/fsdk_mgr.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M fpdfsdk/fxedit/fxet_edit.cpp View 2 chunks +142 lines, -0 lines 0 comments Download
M fpdfsdk/fxedit/fxet_list.cpp View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
M fpdfsdk/fxedit/include/fxet_edit.h View 1 4 chunks +34 lines, -97 lines 0 comments Download
M fpdfsdk/fxedit/include/fxet_list.h View 1 2 chunks +6 lines, -7 lines 0 comments Download
M fpdfsdk/include/fsdk_actionhandler.h View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/include/fsdk_annothandler.h View 11 chunks +92 lines, -135 lines 0 comments Download
M fpdfsdk/include/fsdk_baseannot.h View 5 chunks +16 lines, -25 lines 0 comments Download
M fpdfsdk/include/fsdk_baseform.h View 5 chunks +7 lines, -17 lines 0 comments Download
M fpdfsdk/include/fsdk_define.h View 2 chunks +4 lines, -4 lines 0 comments Download
M fpdfsdk/javascript/Field.h View 1 chunk +2 lines, -2 lines 0 comments Download
M fpdfsdk/javascript/Field.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M fpdfsdk/javascript/JS_GlobalData.h View 1 chunk +2 lines, -2 lines 0 comments Download
M fpdfsdk/javascript/JS_GlobalData.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M fpdfsdk/javascript/JS_Object.h View 1 chunk +4 lines, -4 lines 0 comments Download
M fpdfsdk/javascript/JS_Object.cpp View 1 chunk +12 lines, -0 lines 0 comments Download
M fpdfsdk/javascript/JS_Value.h View 2 chunks +2 lines, -0 lines 0 comments Download
M fpdfsdk/javascript/JS_Value.cpp View 1 2 chunks +4 lines, -0 lines 0 comments Download
M fpdfsdk/javascript/cjs_context.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M fpdfsdk/javascript/cjs_context.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M fpdfsdk/javascript/cjs_runtime.h View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/javascript/cjs_runtime.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M fpdfsdk/javascript/global.h View 1 chunk +2 lines, -9 lines 0 comments Download
M fpdfsdk/javascript/global.cpp View 1 1 chunk +12 lines, -0 lines 0 comments Download
M fpdfsdk/jsapi/fxjs_v8.cpp View 2 chunks +18 lines, -0 lines 0 comments Download
M fpdfsdk/jsapi/include/fxjs_v8.h View 1 3 chunks +9 lines, -11 lines 0 comments Download
M fpdfsdk/pdfwindow/PWL_Icon.h View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/pdfwindow/PWL_Icon.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M fpdfsdk/pdfwindow/PWL_Wnd.h View 3 chunks +6 lines, -25 lines 0 comments Download
M fpdfsdk/pdfwindow/PWL_Wnd.cpp View 1 2 chunks +37 lines, -0 lines 0 comments Download
M xfa.gyp View 1 2 3 3 chunks +2 lines, -1 line 0 comments Download
M xfa/fwl/basewidget/ifwl_spinbutton.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
D xfa/fxbarcode/BC_DecoderResult.h View 1 chunk +0 lines, -38 lines 0 comments Download
M xfa/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M xfa/fxbarcode/pdf417/BC_PDF417Reader.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M xfa/fxbarcode/pdf417/BC_PDF417ScanningDecoder.cpp View 1 chunk +0 lines, -1 line 0 comments Download
A xfa/fxfa/app/cxfa_eventparam.cpp View 1 2 3 1 chunk +48 lines, -0 lines 0 comments Download
M xfa/fxfa/app/xfa_ffchoicelist.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fxfa/app/xfa_ffnotify.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fxfa/app/xfa_fftextedit.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fxfa/app/xfa_ffwidget.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/fxfa/app/xfa_ffwidgetacc.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A xfa/fxfa/include/cxfa_eventparam.h View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
M xfa/fxfa/include/fxfa.h View 2 chunks +0 lines, -84 lines 0 comments Download
M xfa/fxfa/include/xfa_ffdocview.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fxfa/include/xfa_ffwidgethandler.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fxfa/parser/xfa_script_imp.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fxfa/parser/xfa_script_imp.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Wei Li
pls review, thanks
4 years, 6 months ago (2016-06-15 16:50:32 UTC) #2
dsinclair
lgtm w/ nit. https://codereview.chromium.org/2062313002/diff/40001/xfa/fxfa/app/xfa_eventparam.cpp File xfa/fxfa/app/xfa_eventparam.cpp (right): https://codereview.chromium.org/2062313002/diff/40001/xfa/fxfa/app/xfa_eventparam.cpp#newcode6 xfa/fxfa/app/xfa_eventparam.cpp:6: Can we rename this and the ...
4 years, 6 months ago (2016-06-15 17:08:03 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2062313002/60001
4 years, 6 months ago (2016-06-15 17:50:39 UTC) #5
Wei Li
thanks https://codereview.chromium.org/2062313002/diff/40001/xfa/fxfa/app/xfa_eventparam.cpp File xfa/fxfa/app/xfa_eventparam.cpp (right): https://codereview.chromium.org/2062313002/diff/40001/xfa/fxfa/app/xfa_eventparam.cpp#newcode6 xfa/fxfa/app/xfa_eventparam.cpp:6: On 2016/06/15 17:08:03, dsinclair wrote: > Can we ...
4 years, 6 months ago (2016-06-15 17:57:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2062313002/80001
4 years, 6 months ago (2016-06-15 18:06:09 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://pdfium.googlesource.com/pdfium/+/625ad667d0c0c17d5bc11d505f04861d90b45078
4 years, 6 months ago (2016-06-15 18:21:39 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-06-15 18:21:42 UTC) #12
Message was sent while issue was closed.
CQ bit was unchecked

Powered by Google App Engine
This is Rietveld 408576698