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

Issue 1901183002: Remove CFWL_Note. (Closed)

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

Description

Remove CFWL_Note. This CL removes the CFWL_Note class. The two subclasses, CFWL_Event and CFWL_Message are distinct types and should not be related by the subclass. The code has been updated to pass the correct types as needed. The various FWL_EVTHASH and FWL_MSGHASH defines have all been removed and turned into an FWL_EventType and FWL_MessageType enum classes. BUG=pdfium:474 Committed: https://pdfium.googlesource.com/pdfium/+/5d9da0c1255a75dd9b7b2005f8b7d6ae4948feaf

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Patch Set 5 : Rebase to master #

Total comments: 18

Patch Set 6 : Rebase to master #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+623 lines, -540 lines) Patch
M BUILD.gn View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download
M xfa.gyp View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M xfa/fwl/basewidget/fwl_barcodeimp.cpp View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/fwl/basewidget/fwl_checkboximp.cpp View 1 2 3 4 2 chunks +20 lines, -12 lines 0 comments Download
M xfa/fwl/basewidget/fwl_comboboximp.cpp View 1 2 3 4 13 chunks +114 lines, -81 lines 0 comments Download
M xfa/fwl/basewidget/fwl_datetimepickerimp.cpp View 1 2 3 4 8 chunks +45 lines, -26 lines 0 comments Download
M xfa/fwl/basewidget/fwl_editimp.cpp View 1 2 3 4 5 3 chunks +23 lines, -16 lines 0 comments Download
M xfa/fwl/basewidget/fwl_listboximp.cpp View 1 2 3 4 5 6 3 chunks +25 lines, -15 lines 0 comments Download
M xfa/fwl/basewidget/fwl_monthcalendarimp.cpp View 1 2 3 4 5 6 3 chunks +16 lines, -9 lines 0 comments Download
M xfa/fwl/basewidget/fwl_pushbuttonimp.cpp View 1 2 3 4 5 6 3 chunks +18 lines, -13 lines 0 comments Download
M xfa/fwl/basewidget/fwl_scrollbarimp.cpp View 1 2 3 4 3 chunks +11 lines, -4 lines 0 comments Download
M xfa/fwl/basewidget/fwl_spinbuttonimp.cpp View 1 2 3 4 5 6 3 chunks +17 lines, -11 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_checkbox.h View 1 2 3 4 1 chunk +1 line, -4 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_combobox.h View 1 2 3 4 1 chunk +8 lines, -16 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_datetimepicker.h View 1 2 3 4 1 chunk +5 lines, -11 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_edit.h View 1 2 3 4 5 3 chunks +8 lines, -13 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_listbox.h View 1 2 3 4 5 2 chunks +2 lines, -5 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_monthcalendar.h View 1 2 3 4 5 1 chunk +2 lines, -5 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_spinbutton.h View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M xfa/fwl/core/cfwl_event.h View 1 4 chunks +71 lines, -32 lines 0 comments Download
M xfa/fwl/core/cfwl_message.h View 1 4 chunks +75 lines, -42 lines 0 comments Download
D xfa/fwl/core/cfwl_note.h View 1 chunk +0 lines, -67 lines 0 comments Download
M xfa/fwl/core/fwl_formimp.cpp View 1 2 3 4 4 chunks +32 lines, -28 lines 0 comments Download
M xfa/fwl/core/fwl_noteimp.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/fwl/core/fwl_noteimp.cpp View 1 2 3 4 5 6 9 chunks +64 lines, -73 lines 0 comments Download
M xfa/fwl/core/fwl_widgetimp.cpp View 1 2 3 4 7 chunks +14 lines, -8 lines 0 comments Download
M xfa/fwl/core/ifwl_notedriver.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M xfa/fwl/lightwidget/cfwl_widget.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/app/xfa_ffcheckbutton.cpp View 1 2 3 4 5 6 2 chunks +6 lines, -4 lines 0 comments Download
M xfa/fxfa/app/xfa_ffchoicelist.cpp View 1 2 chunks +13 lines, -11 lines 0 comments Download
M xfa/fxfa/app/xfa_fffield.cpp View 1 2 chunks +7 lines, -5 lines 0 comments Download
M xfa/fxfa/app/xfa_fftextedit.cpp View 1 3 chunks +16 lines, -15 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
dsinclair
PTAL.
4 years, 8 months ago (2016-04-19 18:10:16 UTC) #2
Tom Sepez
Probably want to tackle the nits as a followup. LGTM https://codereview.chromium.org/1901183002/diff/40001/xfa/fwl/basewidget/fwl_checkboximp.cpp File xfa/fwl/basewidget/fwl_checkboximp.cpp (right): https://codereview.chromium.org/1901183002/diff/40001/xfa/fwl/basewidget/fwl_checkboximp.cpp#newcode424 ...
4 years, 8 months ago (2016-04-19 18:46:11 UTC) #3
dsinclair
Changes weren't too bad, did them in this CL. PTAL. https://codereview.chromium.org/1901183002/diff/40001/xfa/fwl/basewidget/fwl_checkboximp.cpp File xfa/fwl/basewidget/fwl_checkboximp.cpp (right): https://codereview.chromium.org/1901183002/diff/40001/xfa/fwl/basewidget/fwl_checkboximp.cpp#newcode424 ...
4 years, 8 months ago (2016-04-19 19:11:25 UTC) #4
dsinclair
ping.
4 years, 8 months ago (2016-04-21 13:10:34 UTC) #5
Tom Sepez
Much better. Just a few more things. https://codereview.chromium.org/1901183002/diff/80001/xfa/fwl/basewidget/fwl_listboximp.cpp File xfa/fwl/basewidget/fwl_listboximp.cpp (right): https://codereview.chromium.org/1901183002/diff/80001/xfa/fwl/basewidget/fwl_listboximp.cpp#newcode998 xfa/fwl/basewidget/fwl_listboximp.cpp:998: case CFWL_MessageType::SetFocus: ...
4 years, 8 months ago (2016-04-21 19:22:33 UTC) #6
dsinclair
https://codereview.chromium.org/1901183002/diff/80001/xfa/fwl/basewidget/fwl_listboximp.cpp File xfa/fwl/basewidget/fwl_listboximp.cpp (right): https://codereview.chromium.org/1901183002/diff/80001/xfa/fwl/basewidget/fwl_listboximp.cpp#newcode998 xfa/fwl/basewidget/fwl_listboximp.cpp:998: case CFWL_MessageType::SetFocus: On 2016/04/21 19:22:33, Tom Sepez wrote: > ...
4 years, 8 months ago (2016-04-21 19:35:49 UTC) #7
Tom Sepez
lgtm
4 years, 8 months ago (2016-04-21 20:06:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901183002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901183002/120001
4 years, 8 months ago (2016-04-21 20:11:47 UTC) #10
commit-bot: I haz the power
4 years, 8 months ago (2016-04-21 20:12:11 UTC) #12
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://pdfium.googlesource.com/pdfium/+/5d9da0c1255a75dd9b7b2005f8b7d6ae4948...

Powered by Google App Engine
This is Rietveld 408576698