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

Issue 1986503002: XFA_WIDGETSTATUS, LAYOUTSTATUS and WIDGETFILTER cleanup. (Closed)

Created:
4 years, 7 months ago by dsinclair
Modified:
4 years, 7 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

XFA_WIDGETSTATUS cleanup. This CL moves all of the XFA_WIDGETSTATUS values into a single enum instead of multiple defines. The values are also normalized. The name was updated to be XFA_WidgetStatus. The XFA_WIDGETFILTER and XFA_LAYOUTSTATUS defines had to match up to XFA_WIDGETSTATUS. This Cl replaces those so we just have a single enum to work with. Committed: https://pdfium.googlesource.com/pdfium/+/935d8d5dcbf1da2b3198675428cbf7ca0406788f

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+345 lines, -353 lines) Patch
M fpdfsdk/fpdfformfill.cpp View 1 1 chunk +2 lines, -3 lines 0 comments Download
M fpdfsdk/fsdk_annothandler.cpp View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M fpdfsdk/fsdk_mgr.cpp View 1 1 chunk +3 lines, -4 lines 0 comments Download
M xfa/fxfa/app/xfa_ffdocview.cpp View 1 4 chunks +5 lines, -5 lines 0 comments Download
M xfa/fxfa/app/xfa_fffield.cpp View 1 4 chunks +4 lines, -4 lines 0 comments Download
M xfa/fxfa/app/xfa_ffnotify.cpp View 1 1 chunk +5 lines, -5 lines 0 comments Download
M xfa/fxfa/app/xfa_ffpageview.cpp View 1 2 3 8 chunks +34 lines, -32 lines 0 comments Download
M xfa/fxfa/app/xfa_fftextedit.cpp View 1 7 chunks +9 lines, -9 lines 0 comments Download
M xfa/fxfa/app/xfa_ffwidget.cpp View 8 chunks +14 lines, -14 lines 0 comments Download
M xfa/fxfa/app/xfa_ffwidgethandler.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M xfa/fxfa/app/xfa_rendercontext.cpp View 1 2 chunks +5 lines, -5 lines 0 comments Download
M xfa/fxfa/include/fxfa.h View 1 1 chunk +15 lines, -12 lines 0 comments Download
M xfa/fxfa/include/xfa_ffpageview.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M xfa/fxfa/parser/xfa_doclayout.h View 1 chunk +0 lines, -7 lines 0 comments Download
M xfa/fxfa/parser/xfa_document.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M xfa/fxfa/parser/xfa_layout_appadapter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/parser/xfa_layout_appadapter.cpp View 1 1 chunk +0 lines, -20 lines 0 comments Download
M xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp View 1 27 chunks +239 lines, -218 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
dsinclair
PTAL.
4 years, 7 months ago (2016-05-16 18:32:25 UTC) #2
Tom Sepez
https://codereview.chromium.org/1986503002/diff/1/xfa/fxfa/include/fxfa.h File xfa/fxfa/include/fxfa.h (right): https://codereview.chromium.org/1986503002/diff/1/xfa/fxfa/include/fxfa.h#newcode188 xfa/fxfa/include/fxfa.h:188: enum XFA_WidgetStatus { Any reason not an enum class?
4 years, 7 months ago (2016-05-16 18:36:58 UTC) #3
dsinclair
https://codereview.chromium.org/1986503002/diff/1/xfa/fxfa/include/fxfa.h File xfa/fxfa/include/fxfa.h (right): https://codereview.chromium.org/1986503002/diff/1/xfa/fxfa/include/fxfa.h#newcode188 xfa/fxfa/include/fxfa.h:188: enum XFA_WidgetStatus { On 2016/05/16 18:36:57, Tom Sepez wrote: ...
4 years, 7 months ago (2016-05-16 18:39:27 UTC) #4
dsinclair
On 2016/05/16 18:39:27, dsinclair wrote: > https://codereview.chromium.org/1986503002/diff/1/xfa/fxfa/include/fxfa.h > File xfa/fxfa/include/fxfa.h (right): > > https://codereview.chromium.org/1986503002/diff/1/xfa/fxfa/include/fxfa.h#newcode188 > ...
4 years, 7 months ago (2016-05-16 19:51:35 UTC) #5
dsinclair
On 2016/05/16 19:51:35, dsinclair wrote: > On 2016/05/16 18:39:27, dsinclair wrote: > > https://codereview.chromium.org/1986503002/diff/1/xfa/fxfa/include/fxfa.h > ...
4 years, 7 months ago (2016-05-16 21:30:15 UTC) #6
dsinclair
PTAL. Turns out, XFA_WIDGETSTATUS, XFA_WIDGETFILTER and XFA_LAYOUTSTATUS all had to have certain matching values in ...
4 years, 7 months ago (2016-05-17 16:02:47 UTC) #8
Tom Sepez
lgtm https://codereview.chromium.org/1986503002/diff/40001/xfa/fxfa/app/xfa_ffpageview.cpp File xfa/fxfa/app/xfa_ffpageview.cpp (right): https://codereview.chromium.org/1986503002/diff/40001/xfa/fxfa/app/xfa_ffpageview.cpp#newcode72 xfa/fxfa/app/xfa_ffpageview.cpp:72: FX_BOOL PageWidgetFilter(CXFA_FFWidget* pWidget, can this be bool? https://codereview.chromium.org/1986503002/diff/40001/xfa/fxfa/app/xfa_ffpageview.cpp#newcode79 ...
4 years, 7 months ago (2016-05-17 16:51:13 UTC) #9
dsinclair
https://codereview.chromium.org/1986503002/diff/40001/xfa/fxfa/app/xfa_ffpageview.cpp File xfa/fxfa/app/xfa_ffpageview.cpp (right): https://codereview.chromium.org/1986503002/diff/40001/xfa/fxfa/app/xfa_ffpageview.cpp#newcode72 xfa/fxfa/app/xfa_ffpageview.cpp:72: FX_BOOL PageWidgetFilter(CXFA_FFWidget* pWidget, On 2016/05/17 16:51:13, Tom Sepez wrote: ...
4 years, 7 months ago (2016-05-17 16:54:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1986503002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1986503002/60001
4 years, 7 months ago (2016-05-17 16:54:51 UTC) #13
commit-bot: I haz the power
4 years, 7 months ago (2016-05-17 17:32:24 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/935d8d5dcbf1da2b3198675428cbf7ca0406...

Powered by Google App Engine
This is Rietveld 408576698