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

Issue 2467993003: Merge delegates into IFWL_* classes. (Closed)

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

Description

Merge delegates into IFWL_* classes. This Cl removes ownership of the delgates from IFWL_Widget and puts it in the hand of the creating classes. In doing so, merge the delegates back into the IFWL_* classes to simplify logic. Committed: https://pdfium.googlesource.com/pdfium/+/3b3ce1a242f8445848d3f23d6c35ba01d7c645f4

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add const version #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1605 lines, -2069 lines) Patch
M BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/fwl/core/cfwl_widget.h View 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/fwl/core/cfwl_widget.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M xfa/fwl/core/cfwl_widgetmgr.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M xfa/fwl/core/fwl_noteimp.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M xfa/fwl/core/ifwl_barcode.h View 3 chunks +1 line, -9 lines 0 comments Download
M xfa/fwl/core/ifwl_barcode.cpp View 2 chunks +4 lines, -9 lines 0 comments Download
M xfa/fwl/core/ifwl_caret.h View 4 chunks +3 lines, -14 lines 0 comments Download
M xfa/fwl/core/ifwl_caret.cpp View 3 chunks +7 lines, -11 lines 0 comments Download
M xfa/fwl/core/ifwl_checkbox.h View 3 chunks +7 lines, -16 lines 0 comments Download
M xfa/fwl/core/ifwl_checkbox.cpp View 4 chunks +70 lines, -83 lines 0 comments Download
M xfa/fwl/core/ifwl_combobox.h View 7 chunks +15 lines, -53 lines 0 comments Download
M xfa/fwl/core/ifwl_combobox.cpp View 14 chunks +162 lines, -298 lines 0 comments Download
A xfa/fwl/core/ifwl_comboboxproxy.h View 1 chunk +41 lines, -0 lines 0 comments Download
A xfa/fwl/core/ifwl_comboboxproxy.cpp View 1 chunk +118 lines, -0 lines 0 comments Download
M xfa/fwl/core/ifwl_comboedit.h View 2 chunks +3 lines, -10 lines 0 comments Download
M xfa/fwl/core/ifwl_comboedit.cpp View 2 chunks +7 lines, -10 lines 0 comments Download
M xfa/fwl/core/ifwl_combolist.h View 2 chunks +5 lines, -10 lines 0 comments Download
M xfa/fwl/core/ifwl_combolist.cpp View 5 chunks +58 lines, -63 lines 0 comments Download
M xfa/fwl/core/ifwl_datetimecalendar.h View 1 chunk +4 lines, -13 lines 0 comments Download
M xfa/fwl/core/ifwl_datetimecalendar.cpp View 4 chunks +84 lines, -104 lines 0 comments Download
M xfa/fwl/core/ifwl_datetimeedit.h View 1 chunk +1 line, -10 lines 0 comments Download
M xfa/fwl/core/ifwl_datetimeedit.cpp View 3 chunks +12 lines, -19 lines 0 comments Download
M xfa/fwl/core/ifwl_datetimepicker.h View 4 chunks +11 lines, -25 lines 0 comments Download
M xfa/fwl/core/ifwl_datetimepicker.cpp View 4 chunks +70 lines, -91 lines 0 comments Download
M xfa/fwl/core/ifwl_edit.h View 5 chunks +6 lines, -16 lines 0 comments Download
M xfa/fwl/core/ifwl_edit.cpp View 7 chunks +163 lines, -188 lines 0 comments Download
M xfa/fwl/core/ifwl_form.h View 4 chunks +4 lines, -12 lines 0 comments Download
M xfa/fwl/core/ifwl_form.cpp View 4 chunks +132 lines, -154 lines 0 comments Download
M xfa/fwl/core/ifwl_formproxy.h View 2 chunks +1 line, -10 lines 0 comments Download
M xfa/fwl/core/ifwl_formproxy.cpp View 2 chunks +2 lines, -6 lines 0 comments Download
M xfa/fwl/core/ifwl_listbox.h View 4 chunks +5 lines, -12 lines 0 comments Download
M xfa/fwl/core/ifwl_listbox.cpp View 6 chunks +103 lines, -130 lines 0 comments Download
M xfa/fwl/core/ifwl_monthcalendar.h View 4 chunks +11 lines, -19 lines 0 comments Download
M xfa/fwl/core/ifwl_monthcalendar.cpp View 2 chunks +88 lines, -110 lines 0 comments Download
M xfa/fwl/core/ifwl_picturebox.h View 3 chunks +2 lines, -13 lines 0 comments Download
M xfa/fwl/core/ifwl_picturebox.cpp View 2 chunks +3 lines, -8 lines 0 comments Download
M xfa/fwl/core/ifwl_pushbutton.h View 3 chunks +5 lines, -15 lines 0 comments Download
M xfa/fwl/core/ifwl_pushbutton.cpp View 3 chunks +69 lines, -84 lines 0 comments Download
M xfa/fwl/core/ifwl_scrollbar.h View 5 chunks +4 lines, -14 lines 0 comments Download
M xfa/fwl/core/ifwl_scrollbar.cpp View 4 chunks +112 lines, -140 lines 0 comments Download
M xfa/fwl/core/ifwl_spinbutton.h View 3 chunks +6 lines, -15 lines 0 comments Download
M xfa/fwl/core/ifwl_spinbutton.cpp View 6 chunks +133 lines, -164 lines 0 comments Download
M xfa/fwl/core/ifwl_tooltip.h View 2 chunks +4 lines, -14 lines 0 comments Download
M xfa/fwl/core/ifwl_tooltip.cpp View 3 chunks +5 lines, -16 lines 0 comments Download
M xfa/fwl/core/ifwl_widget.h View 1 7 chunks +19 lines, -23 lines 0 comments Download
M xfa/fwl/core/ifwl_widget.cpp View 6 chunks +8 lines, -23 lines 0 comments Download
M xfa/fxfa/app/xfa_ffapp.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/app/xfa_ffbarcode.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/fxfa/app/xfa_ffcheckbutton.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/fxfa/app/xfa_ffchoicelist.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M xfa/fxfa/app/xfa_ffimageedit.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/fxfa/app/xfa_ffpushbutton.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/fxfa/app/xfa_fftextedit.cpp View 4 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
dsinclair
PTAL. tsepez@ does this better match what we discussed yesterday? I think this is a ...
4 years, 1 month ago (2016-11-02 17:51:05 UTC) #4
Tom Sepez
Yes, this is OK; a class can be its own delegate to provide defaults behaviour. ...
4 years, 1 month ago (2016-11-02 21:03:29 UTC) #7
dsinclair
https://codereview.chromium.org/2467993003/diff/1/xfa/fwl/core/ifwl_widget.h File xfa/fwl/core/ifwl_widget.h (right): https://codereview.chromium.org/2467993003/diff/1/xfa/fwl/core/ifwl_widget.h#newcode116 xfa/fwl/core/ifwl_widget.h:116: IFWL_WidgetDelegate* GetDelegate() { On 2016/11/02 21:03:29, Tom Sepez wrote: ...
4 years, 1 month ago (2016-11-02 21:11:14 UTC) #8
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/2467993003/20001
4 years, 1 month ago (2016-11-02 21:11:30 UTC) #11
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 21:51:28 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/3b3ce1a242f8445848d3f23d6c35ba01d7c6...

Powered by Google App Engine
This is Rietveld 408576698