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

Issue 2418413005: Remove FWL theme subclasses (Closed)

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

Description

Remove FWL theme subclasses The CFWL_CheckBoxTP and CFWL_EditTP are subclassed with the CXFA_FWLEditTP and CXFA_FWLCheckBoxTP. The super classes are never instantiated or used, so fold the subclasses back to the parent and use them directly. Committed: https://pdfium.googlesource.com/pdfium/+/c273e8f5006aa7d91d37a5da021dbbabb8721e5b

Patch Set 1 #

Total comments: 8

Patch Set 2 : Review fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -312 lines) Patch
M xfa/fwl/theme/cfwl_checkboxtp.h View 1 2 chunks +6 lines, -18 lines 0 comments Download
M xfa/fwl/theme/cfwl_checkboxtp.cpp View 1 5 chunks +46 lines, -192 lines 0 comments Download
M xfa/fwl/theme/cfwl_edittp.cpp View 2 chunks +20 lines, -0 lines 0 comments Download
M xfa/fxfa/app/xfa_fwltheme.h View 1 chunk +1 line, -23 lines 0 comments Download
M xfa/fxfa/app/xfa_fwltheme.cpp View 2 chunks +2 lines, -79 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (8 generated)
dsinclair
PTAL.
4 years, 2 months ago (2016-10-18 15:16:12 UTC) #4
Lei Zhang
lgtm https://codereview.chromium.org/2418413005/diff/1/xfa/fwl/theme/cfwl_checkboxtp.cpp File xfa/fwl/theme/cfwl_checkboxtp.cpp (right): https://codereview.chromium.org/2418413005/diff/1/xfa/fwl/theme/cfwl_checkboxtp.cpp#newcode327 xfa/fwl/theme/cfwl_checkboxtp.cpp:327: return TRUE; Looking at the old CFWL_CheckBoxTP::DrawBackground(), I ...
4 years, 2 months ago (2016-10-18 19:06:58 UTC) #7
dsinclair
https://codereview.chromium.org/2418413005/diff/1/xfa/fwl/theme/cfwl_checkboxtp.cpp File xfa/fwl/theme/cfwl_checkboxtp.cpp (right): https://codereview.chromium.org/2418413005/diff/1/xfa/fwl/theme/cfwl_checkboxtp.cpp#newcode327 xfa/fwl/theme/cfwl_checkboxtp.cpp:327: return TRUE; On 2016/10/18 19:06:58, Lei Zhang wrote: > ...
4 years, 2 months ago (2016-10-19 14:38:54 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/2418413005/20001
4 years, 2 months ago (2016-10-19 14:39:09 UTC) #11
commit-bot: I haz the power
4 years, 2 months ago (2016-10-19 14:48:10 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/c273e8f5006aa7d91d37a5da021dbbabb872...

Powered by Google App Engine
This is Rietveld 408576698