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

Issue 1816133002: Move xfa/include/fxbarcode/BC_Barcode.h to xfa/fxbarcode. (Closed)

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

Description

Move xfa/include/fxbarcode/BC_Barcode.h to xfa/fxbarcode. This CL splits apart the larger header into individual class headers in the xfa/fxbarcode directory. R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/a98600aeb8d815c297834aa5006f5c3ea20dde6d

Patch Set 1 #

Patch Set 2 : #

Total comments: 20

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1792 lines, -1285 lines) Patch
M BUILD.gn View 2 chunks +23 lines, -2 lines 0 comments Download
A fpdfsdk/fpdfxfa/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M fpdfsdk/fpdfxfa/fpdfxfa_app.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa.gyp View 4 chunks +23 lines, -2 lines 0 comments Download
M xfa/fwl/basewidget/fxmath_barcodeimp.h View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M xfa/fwl/basewidget/fxmath_barcodeimp.cpp View 1 2 3 chunks +13 lines, -2 lines 0 comments Download
D xfa/fxbarcode/BC_BarCode.cpp View 1 chunk +0 lines, -877 lines 0 comments Download
M xfa/fxbarcode/BC_Library.cpp View 1 2 2 chunks +3 lines, -67 lines 0 comments Download
A xfa/fxbarcode/cbc_codabar.h View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_codabar.cpp View 1 chunk +121 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_code128.h View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_code128.cpp View 1 chunk +106 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_code39.h View 1 chunk +39 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_code39.cpp View 1 chunk +124 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_codebase.h View 1 chunk +52 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_codebase.cpp View 1 2 1 chunk +58 lines, -0 lines 1 comment Download
A xfa/fxbarcode/cbc_datamatrix.h View 1 chunk +32 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_datamatrix.cpp View 1 chunk +83 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_ean13.h View 1 chunk +36 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_ean13.cpp View 1 chunk +114 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_ean8.h View 1 chunk +36 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_ean8.cpp View 1 chunk +113 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_onecode.h View 1 chunk +52 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_onecode.cpp View 1 chunk +77 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_pdf417i.h View 1 chunk +35 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_pdf417i.cpp View 1 chunk +91 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_qrcode.h View 1 chunk +35 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_qrcode.cpp View 1 chunk +101 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_upca.h View 1 chunk +33 lines, -0 lines 0 comments Download
A xfa/fxbarcode/cbc_upca.cpp View 1 chunk +116 lines, -0 lines 0 comments Download
A xfa/fxbarcode/include/BC_Library.h View 1 chunk +38 lines, -0 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OneDimWriter.h View 5 chunks +19 lines, -16 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OnedCodaBarWriter.h View 3 chunks +11 lines, -5 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OnedCode128Reader.h View 1 chunk +3 lines, -1 line 0 comments Download
M xfa/fxbarcode/oned/BC_OnedCode128Writer.h View 2 chunks +14 lines, -7 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OnedCode128Writer.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OnedCode39Reader.h View 1 chunk +11 lines, -5 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OnedCode39Reader.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M xfa/fxbarcode/oned/BC_OnedCode39Writer.h View 3 chunks +7 lines, -3 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OnedEAN13Reader.h View 2 chunks +10 lines, -3 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OnedEAN13Writer.h View 3 chunks +11 lines, -5 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OnedEAN8Reader.h View 1 chunk +3 lines, -2 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OnedEAN8Writer.h View 3 chunks +10 lines, -3 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OnedUPCAReader.h View 3 chunks +12 lines, -6 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OnedUPCAWriter.h View 3 chunks +14 lines, -4 lines 0 comments Download
M xfa/fxbarcode/pdf417/BC_PDF417Reader.h View 1 chunk +5 lines, -1 line 0 comments Download
M xfa/fxbarcode/pdf417/BC_PDF417Writer.h View 1 chunk +4 lines, -2 lines 0 comments Download
M xfa/fxfa/app/xfa_ffbarcode.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/parser/xfa_objectacc_imp.cpp View 2 chunks +1 line, -1 line 0 comments Download
M xfa/include/fwl/basewidget/fwl_barcode.h View 2 chunks +3 lines, -2 lines 0 comments Download
M xfa/include/fwl/basewidget/fxmath_barcode.h View 2 chunks +11 lines, -1 line 0 comments Download
M xfa/include/fwl/lightwidget/barcode.h View 1 chunk +0 lines, -1 line 0 comments Download
D xfa/include/fxbarcode/BC_BarCode.h View 1 chunk +0 lines, -257 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
dsinclair
PTAL.
4 years, 9 months ago (2016-03-21 15:29:14 UTC) #2
Tom Sepez
Hard to say which of these you need to fix in this CL. https://codereview.chromium.org/1816133002/diff/20001/xfa/fwl/basewidget/fxmath_barcodeimp.cpp File ...
4 years, 9 months ago (2016-03-21 16:49:29 UTC) #3
dsinclair
https://codereview.chromium.org/1816133002/diff/20001/xfa/fwl/basewidget/fxmath_barcodeimp.cpp File xfa/fwl/basewidget/fxmath_barcodeimp.cpp (right): https://codereview.chromium.org/1816133002/diff/20001/xfa/fwl/basewidget/fxmath_barcodeimp.cpp#newcode56 xfa/fwl/basewidget/fxmath_barcodeimp.cpp:56: FX_BOOL CFX_Barcode::Crreate(BC_TYPE type) { On 2016/03/21 16:49:29, Tom Sepez ...
4 years, 9 months ago (2016-03-21 17:52:39 UTC) #4
Tom Sepez
lgtm https://codereview.chromium.org/1816133002/diff/40001/xfa/fxbarcode/cbc_codebase.cpp File xfa/fxbarcode/cbc_codebase.cpp (right): https://codereview.chromium.org/1816133002/diff/40001/xfa/fxbarcode/cbc_codebase.cpp#newcode22 xfa/fxbarcode/cbc_codebase.cpp:22: #include "xfa/fxbarcode/cbc_codebase.h" nit: Style point - as we ...
4 years, 9 months ago (2016-03-21 18:19:24 UTC) #5
Tom Sepez
On 2016/03/21 18:19:24, Tom Sepez wrote: > lgtm > > https://codereview.chromium.org/1816133002/diff/40001/xfa/fxbarcode/cbc_codebase.cpp > File xfa/fxbarcode/cbc_codebase.cpp (right): ...
4 years, 9 months ago (2016-03-21 18:21:14 UTC) #6
dsinclair
On 2016/03/21 18:21:14, Tom Sepez wrote: > On 2016/03/21 18:19:24, Tom Sepez wrote: > > ...
4 years, 9 months ago (2016-03-21 19:12:48 UTC) #7
dsinclair
Committed patchset #3 (id:40001) manually as a98600aeb8d815c297834aa5006f5c3ea20dde6d (presubmit successful).
4 years, 9 months ago (2016-03-21 19:16:00 UTC) #9
Tom Sepez
On 2016/03/21 19:12:48, dsinclair wrote: > On 2016/03/21 18:21:14, Tom Sepez wrote: > > On ...
4 years, 9 months ago (2016-03-21 19:24:36 UTC) #10
dsinclair
4 years, 9 months ago (2016-03-21 19:26:49 UTC) #11
Message was sent while issue was closed.
On 2016/03/21 19:24:36, Tom Sepez wrote:
> On 2016/03/21 19:12:48, dsinclair wrote:
> > On 2016/03/21 18:21:14, Tom Sepez wrote:
> > > On 2016/03/21 18:19:24, Tom Sepez wrote:
> > > > lgtm
> > > > 
> > > >
> > >
> >
>
https://codereview.chromium.org/1816133002/diff/40001/xfa/fxbarcode/cbc_codeb...
> > > > File xfa/fxbarcode/cbc_codebase.cpp (right):
> > > > 
> > > >
> > >
> >
>
https://codereview.chromium.org/1816133002/diff/40001/xfa/fxbarcode/cbc_codeb...
> > > > xfa/fxbarcode/cbc_codebase.cpp:22: #include
"xfa/fxbarcode/cbc_codebase.h"
> > > > nit: Style point - as we move to unix_hacker.cpp file naming style, I've
> > > > wondered about whether there should be an "_" at each camel-case
> transition,
> > > eg
> > > > cbc_code_base.h.  We should make a rule about this.
> > > That would be consistent with the chrome style, e.g. RenderViewHostImpl
> lives
> > in
> > > render_view_host_impl.cc
> > 
> > 
> > The google style guide says:  Follow the convention that your project uses. 
> > Which, in our case is the mixed _ style, currently.  Is it worth changing
it?
> > Currently the filenames will match up with the class name as CDC_CodeBase
and
> > cdc_codebase.h. Following chromium style it would be CdcCodeBase and
> > cdc_code_base.h.
> We've made a deliberate exception not to try to move to CdcCodeBase yet, so
the
> name
> would remain CDC_CodeBase in either case.
> 
> Straining credibility, if there were a CDC_Codebase class as well, then having
> one file
> called cdc_code_base.h and the other called cdc_codebase.h would be helpful.


If I found a CDC_CodeBase and CDC_Codebase I'd rename one because I'd be very
sad. I'm fine going either cdc_codebase.h or cdc_code_base.h. The second is
certainly closer to chromium style. I can start going with that form from this
point on and fixup the others later.

Powered by Google App Engine
This is Rietveld 408576698