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

Issue 2070583003: Make code compile with clang_use_chrome_plugin (part VI) (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 VI) This change mainly contains files in xfa/fwl 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; BUG=pdfium:469 Committed: https://pdfium.googlesource.com/pdfium/+/4ce94e118d66064715de5baebeb4b2b580dcac66

Patch Set 1 #

Patch Set 2 : clean up #

Total comments: 12

Patch Set 3 : address comments #

Patch Set 4 : rebase #

Patch Set 5 : better macros #

Unified diffs Side-by-side diffs Delta from patch set Stats (+812 lines, -568 lines) Patch
M xfa/fwl/basewidget/fwl_datetimepickerimp.h View 1 6 chunks +58 lines, -51 lines 0 comments Download
M xfa/fwl/basewidget/fwl_datetimepickerimp.cpp View 1 chunk +27 lines, -0 lines 0 comments Download
M xfa/fwl/basewidget/fwl_editimp.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M xfa/fwl/basewidget/fwl_monthcalendarimp.h View 1 chunk +3 lines, -6 lines 0 comments Download
M xfa/fwl/basewidget/fwl_monthcalendarimp.cpp View 1 chunk +13 lines, -0 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_checkbox.h View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_combobox.h View 1 2 3 4 1 chunk +27 lines, -30 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_datetimepicker.h View 1 2 3 4 1 chunk +13 lines, -15 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_edit.h View 1 2 3 4 2 chunks +31 lines, -34 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_listbox.h View 1 2 3 4 1 chunk +9 lines, -9 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_monthcalendar.h View 1 2 3 4 1 chunk +11 lines, -11 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_spinbutton.h View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_tooltip.h View 1 chunk +4 lines, -2 lines 0 comments Download
M xfa/fwl/core/cfwl_event.h View 1 2 3 4 2 chunks +97 lines, -95 lines 0 comments Download
M xfa/fwl/core/cfwl_message.h View 1 2 3 4 2 chunks +124 lines, -107 lines 0 comments Download
M xfa/fwl/core/cfwl_themepart.h View 2 chunks +12 lines, -10 lines 0 comments Download
M xfa/fwl/core/cfwl_widgetimpproperties.h View 1 2 chunks +20 lines, -11 lines 0 comments Download
M xfa/fwl/core/cfwl_widgetmgr.h View 1 chunk +3 lines, -16 lines 0 comments Download
M xfa/fwl/core/cfwl_widgetmgr.cpp View 1 chunk +19 lines, -0 lines 0 comments Download
M xfa/fwl/core/fwl_appimp.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M xfa/fwl/core/fwl_formimp.h View 2 chunks +12 lines, -29 lines 0 comments Download
M xfa/fwl/core/fwl_formimp.cpp View 2 chunks +42 lines, -0 lines 0 comments Download
M xfa/fwl/core/fwl_noteimp.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/fwl/core/fwl_noteimp.cpp View 1 2 chunks +20 lines, -5 lines 0 comments Download
M xfa/fwl/core/fwl_widgetimp.cpp View 2 chunks +1 line, -1 line 0 comments Download
M xfa/fwl/core/ifwl_app.h View 2 chunks +2 lines, -2 lines 0 comments Download
M xfa/fwl/core/ifwl_tooltiptarget.h View 1 1 chunk +5 lines, -3 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_barcode.h View 1 chunk +19 lines, -16 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_barcode.cpp View 1 chunk +60 lines, -0 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_checkbox.h View 1 1 chunk +12 lines, -6 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_combobox.h View 3 chunks +53 lines, -48 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_combobox.cpp View 1 2 chunks +10 lines, -0 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_datetimepicker.h View 1 2 chunks +15 lines, -8 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_edit.h View 2 chunks +3 lines, -2 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_listbox.h View 3 chunks +7 lines, -12 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_listbox.cpp View 1 chunk +12 lines, -0 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_picturebox.h View 1 3 chunks +19 lines, -18 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_picturebox.cpp View 1 1 chunk +10 lines, -0 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_pushbutton.h View 1 1 chunk +13 lines, -4 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_widgetproperties.h View 1 chunk +3 lines, -8 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_widgetproperties.cpp View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Wei Li
pls review, thanks
4 years, 6 months ago (2016-06-16 17:03:46 UTC) #2
dsinclair
https://codereview.chromium.org/2070583003/diff/20001/xfa/fwl/core/cfwl_event.h File xfa/fwl/core/cfwl_event.h (right): https://codereview.chromium.org/2070583003/diff/20001/xfa/fwl/core/cfwl_event.h#newcode112 xfa/fwl/core/cfwl_event.h:112: __VA_ARGS__ \ That's frighteningly awesome. https://codereview.chromium.org/2070583003/diff/20001/xfa/fwl/core/cfwl_event.h#newcode113 xfa/fwl/core/cfwl_event.h:113: }; // ...
4 years, 6 months ago (2016-06-16 17:35:20 UTC) #3
Wei Li
thanks https://codereview.chromium.org/2070583003/diff/20001/xfa/fwl/core/cfwl_event.h File xfa/fwl/core/cfwl_event.h (right): https://codereview.chromium.org/2070583003/diff/20001/xfa/fwl/core/cfwl_event.h#newcode112 xfa/fwl/core/cfwl_event.h:112: __VA_ARGS__ \ On 2016/06/16 17:35:19, dsinclair wrote: > ...
4 years, 6 months ago (2016-06-16 18:16:33 UTC) #4
dsinclair
https://codereview.chromium.org/2070583003/diff/20001/xfa/fwl/core/cfwl_event.h File xfa/fwl/core/cfwl_event.h (right): https://codereview.chromium.org/2070583003/diff/20001/xfa/fwl/core/cfwl_event.h#newcode115 xfa/fwl/core/cfwl_event.h:115: #define FWL_EVENT_FUNCTION_DEF(classname, eventType) \ On 2016/06/16 18:16:33, Wei Li ...
4 years, 6 months ago (2016-06-16 18:21:13 UTC) #5
Wei Li
ptal, thanks https://codereview.chromium.org/2070583003/diff/20001/xfa/fwl/core/cfwl_event.h File xfa/fwl/core/cfwl_event.h (right): https://codereview.chromium.org/2070583003/diff/20001/xfa/fwl/core/cfwl_event.h#newcode115 xfa/fwl/core/cfwl_event.h:115: #define FWL_EVENT_FUNCTION_DEF(classname, eventType) \ On 2016/06/16 18:21:13, ...
4 years, 6 months ago (2016-06-17 18:11:18 UTC) #6
dsinclair
lgtm Awesome.
4 years, 6 months ago (2016-06-18 13:21:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2070583003/80001
4 years, 6 months ago (2016-06-18 13:21:36 UTC) #9
commit-bot: I haz the power
4 years, 6 months ago (2016-06-18 13:22:05 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://pdfium.googlesource.com/pdfium/+/4ce94e118d66064715de5baebeb4b2b580dc...

Powered by Google App Engine
This is Rietveld 408576698