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

Issue 2436103002: Remove FWL globals. (Closed)

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

Description

Remove FWL globals. This CL removes the FWL_GetApp, FWL_SetApp and FWL_GetWidgetAdapter methods. In the process it changes the various Initialize methods to return void. Committed: https://pdfium.googlesource.com/pdfium/+/20855384b8149a631c3c1d229551523c12eb767b

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : fix mac #

Total comments: 8

Patch Set 4 : Rebase to master #

Patch Set 5 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+700 lines, -709 lines) Patch
M fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h View 1 chunk +2 lines, -3 lines 0 comments Download
M fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fwl/core/cfwl_barcode.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/fwl/core/cfwl_barcode.cpp View 1 2 3 1 chunk +18 lines, -21 lines 0 comments Download
M xfa/fwl/core/cfwl_checkbox.h View 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/fwl/core/cfwl_checkbox.cpp View 3 chunks +18 lines, -21 lines 0 comments Download
M xfa/fwl/core/cfwl_combobox.h View 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/fwl/core/cfwl_combobox.cpp View 3 chunks +18 lines, -21 lines 0 comments Download
M xfa/fwl/core/cfwl_datetimepicker.h View 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/fwl/core/cfwl_datetimepicker.cpp View 3 chunks +19 lines, -22 lines 0 comments Download
M xfa/fwl/core/cfwl_edit.h View 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/fwl/core/cfwl_edit.cpp View 3 chunks +18 lines, -21 lines 0 comments Download
M xfa/fwl/core/cfwl_listbox.h View 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/fwl/core/cfwl_listbox.cpp View 3 chunks +18 lines, -21 lines 0 comments Download
M xfa/fwl/core/cfwl_picturebox.h View 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/fwl/core/cfwl_picturebox.cpp View 3 chunks +18 lines, -22 lines 0 comments Download
M xfa/fwl/core/cfwl_pushbutton.h View 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/fwl/core/cfwl_pushbutton.cpp View 3 chunks +18 lines, -22 lines 0 comments Download
M xfa/fwl/core/cfwl_themetext.h View 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fwl/core/cfwl_widget.h View 2 chunks +3 lines, -2 lines 0 comments Download
M xfa/fwl/core/cfwl_widget.cpp View 3 chunks +9 lines, -10 lines 0 comments Download
M xfa/fwl/core/cfwl_widgetmgr.h View 3 chunks +2 lines, -3 lines 0 comments Download
M xfa/fwl/core/cfwl_widgetmgr.cpp View 1 2 3 7 chunks +7 lines, -12 lines 0 comments Download
M xfa/fwl/core/fwl_noteimp.h View 1 chunk +0 lines, -1 line 0 comments Download
M xfa/fwl/core/fwl_noteimp.cpp View 1 2 3 14 chunks +17 lines, -19 lines 0 comments Download
M xfa/fwl/core/ifwl_app.h View 1 2 3 4 2 chunks +2 lines, -8 lines 0 comments Download
M xfa/fwl/core/ifwl_app.cpp View 1 2 3 4 1 chunk +3 lines, -29 lines 0 comments Download
M xfa/fwl/core/ifwl_barcode.h View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M xfa/fwl/core/ifwl_barcode.cpp View 2 chunks +7 lines, -8 lines 0 comments Download
M xfa/fwl/core/ifwl_caret.h View 2 chunks +11 lines, -9 lines 0 comments Download
M xfa/fwl/core/ifwl_caret.cpp View 3 chunks +13 lines, -15 lines 0 comments Download
M xfa/fwl/core/ifwl_checkbox.h View 1 chunk +4 lines, -3 lines 0 comments Download
M xfa/fwl/core/ifwl_checkbox.cpp View 1 2 3 5 chunks +11 lines, -12 lines 0 comments Download
M xfa/fwl/core/ifwl_combobox.h View 2 chunks +4 lines, -4 lines 0 comments Download
M xfa/fwl/core/ifwl_combobox.cpp View 11 chunks +27 lines, -35 lines 0 comments Download
M xfa/fwl/core/ifwl_comboedit.h View 1 chunk +2 lines, -1 line 0 comments Download
M xfa/fwl/core/ifwl_comboedit.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/fwl/core/ifwl_combolist.h View 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/fwl/core/ifwl_combolist.cpp View 1 chunk +7 lines, -6 lines 0 comments Download
M xfa/fwl/core/ifwl_dataprovider.h View 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fwl/core/ifwl_datetimecalendar.h View 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/fwl/core/ifwl_datetimecalendar.cpp View 1 chunk +6 lines, -5 lines 0 comments Download
M xfa/fwl/core/ifwl_datetimeedit.h View 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/fwl/core/ifwl_datetimeedit.cpp View 1 chunk +8 lines, -6 lines 0 comments Download
M xfa/fwl/core/ifwl_datetimepicker.h View 1 chunk +4 lines, -3 lines 0 comments Download
M xfa/fwl/core/ifwl_datetimepicker.cpp View 9 chunks +15 lines, -15 lines 0 comments Download
M xfa/fwl/core/ifwl_edit.h View 1 chunk +5 lines, -3 lines 0 comments Download
M xfa/fwl/core/ifwl_edit.cpp View 1 2 3 5 chunks +11 lines, -13 lines 0 comments Download
M xfa/fwl/core/ifwl_form.h View 1 chunk +5 lines, -4 lines 0 comments Download
M xfa/fwl/core/ifwl_form.cpp View 1 2 15 chunks +27 lines, -27 lines 0 comments Download
M xfa/fwl/core/ifwl_formproxy.h View 1 chunk +4 lines, -3 lines 0 comments Download
M xfa/fwl/core/ifwl_formproxy.cpp View 2 chunks +14 lines, -15 lines 0 comments Download
M xfa/fwl/core/ifwl_listbox.h View 1 chunk +5 lines, -3 lines 0 comments Download
M xfa/fwl/core/ifwl_listbox.cpp View 1 2 3 4 chunks +10 lines, -12 lines 0 comments Download
M xfa/fwl/core/ifwl_monthcalendar.h View 1 chunk +4 lines, -3 lines 0 comments Download
M xfa/fwl/core/ifwl_monthcalendar.cpp View 3 chunks +8 lines, -10 lines 0 comments Download
M xfa/fwl/core/ifwl_picturebox.h View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M xfa/fwl/core/ifwl_picturebox.cpp View 1 2 3 3 chunks +9 lines, -11 lines 0 comments Download
M xfa/fwl/core/ifwl_pushbutton.h View 1 chunk +4 lines, -3 lines 0 comments Download
M xfa/fwl/core/ifwl_pushbutton.cpp View 3 chunks +9 lines, -11 lines 0 comments Download
M xfa/fwl/core/ifwl_scrollbar.h View 3 chunks +16 lines, -10 lines 0 comments Download
M xfa/fwl/core/ifwl_scrollbar.cpp View 1 2 3 7 chunks +25 lines, -21 lines 0 comments Download
M xfa/fwl/core/ifwl_spinbutton.h View 2 chunks +15 lines, -7 lines 0 comments Download
M xfa/fwl/core/ifwl_spinbutton.cpp View 6 chunks +27 lines, -23 lines 0 comments Download
M xfa/fwl/core/ifwl_themeprovider.h View 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fwl/core/ifwl_timer.h View 1 1 chunk +14 lines, -0 lines 0 comments Download
M xfa/fwl/core/ifwl_timer.cpp View 2 chunks +7 lines, -10 lines 0 comments Download
M xfa/fwl/core/ifwl_tooltip.h View 3 chunks +11 lines, -12 lines 0 comments Download
M xfa/fwl/core/ifwl_tooltip.cpp View 3 chunks +26 lines, -27 lines 0 comments Download
M xfa/fwl/core/ifwl_widget.h View 1 2 3 4 4 chunks +7 lines, -5 lines 0 comments Download
M xfa/fwl/core/ifwl_widget.cpp View 12 chunks +14 lines, -28 lines 0 comments Download
M xfa/fwl/core/ifwl_widgetdelegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fxfa/app/xfa_ffapp.cpp View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M xfa/fxfa/app/xfa_ffbarcode.cpp View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M xfa/fxfa/app/xfa_ffcheckbutton.cpp View 1 chunk +6 lines, -3 lines 0 comments Download
M xfa/fxfa/app/xfa_ffchoicelist.cpp View 2 chunks +11 lines, -7 lines 0 comments Download
M xfa/fxfa/app/xfa_ffdoc.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M xfa/fxfa/app/xfa_ffimageedit.cpp View 1 chunk +4 lines, -5 lines 0 comments Download
M xfa/fxfa/app/xfa_ffpushbutton.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M xfa/fxfa/app/xfa_fftextedit.cpp View 1 2 3 4 chunks +20 lines, -13 lines 0 comments Download
M xfa/fxfa/app/xfa_ffwidget.cpp View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M xfa/fxfa/xfa_ffapp.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M xfa/fxfa/xfa_ffwidget.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
dsinclair
PTAL.
4 years, 2 months ago (2016-10-20 18:05:03 UTC) #4
dsinclair
On 2016/10/20 18:05:03, OOO to 2016-10-31 (dsinclair) wrote: > PTAL. ping.
4 years, 1 month ago (2016-10-28 20:42:05 UTC) #5
Tom Sepez
lgtm https://codereview.chromium.org/2436103002/diff/40001/xfa/fwl/core/ifwl_app.h File xfa/fwl/core/ifwl_app.h (right): https://codereview.chromium.org/2436103002/diff/40001/xfa/fwl/core/ifwl_app.h#newcode35 xfa/fwl/core/ifwl_app.h:35: CXFA_FFApp* GetAdapterNative() const; nit: do we want these ...
4 years, 1 month ago (2016-10-28 23:11:48 UTC) #6
dsinclair
https://codereview.chromium.org/2436103002/diff/40001/xfa/fwl/core/ifwl_app.h File xfa/fwl/core/ifwl_app.h (right): https://codereview.chromium.org/2436103002/diff/40001/xfa/fwl/core/ifwl_app.h#newcode35 xfa/fwl/core/ifwl_app.h:35: CXFA_FFApp* GetAdapterNative() const; On 2016/10/28 23:11:47, Tom Sepez wrote: ...
4 years, 1 month ago (2016-10-31 14:13:18 UTC) #7
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/2436103002/80001
4 years, 1 month ago (2016-10-31 14:13:27 UTC) #10
commit-bot: I haz the power
4 years, 1 month ago (2016-10-31 14:29:39 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://pdfium.googlesource.com/pdfium/+/20855384b8149a631c3c1d229551523c12eb...

Powered by Google App Engine
This is Rietveld 408576698