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

Issue 2017773002: Test CL. (Closed)

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

Description

Test CL.

Patch Set 1 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -18 lines) Patch
M xfa/fwl/basewidget/fwl_editimp.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M xfa/fwl/core/fwl_widgetimp.h View 3 chunks +4 lines, -3 lines 0 comments Download
M xfa/fwl/core/fwl_widgetimp.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M xfa/fwl/core/ifwl_widget.h View 2 chunks +3 lines, -2 lines 2 comments Download
M xfa/fwl/lightwidget/cfwl_widget.h View 2 chunks +3 lines, -2 lines 0 comments Download
M xfa/fwl/lightwidget/cfwl_widget.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/fxfa/app/xfa_fwladapter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/app/xfa_fwltheme.cpp View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Tom Sepez
https://codereview.chromium.org/2017773002/diff/20001/xfa/fwl/core/ifwl_widget.h File xfa/fwl/core/ifwl_widget.h (right): https://codereview.chromium.org/2017773002/diff/20001/xfa/fwl/core/ifwl_widget.h#newcode51 xfa/fwl/core/ifwl_widget.h:51: class CXFA_FFWidget; This is the layering violation. FWL shouldn't ...
4 years, 6 months ago (2016-05-26 22:34:21 UTC) #3
Lei Zhang
On 2016/05/26 22:34:21, Tom Sepez wrote: > https://codereview.chromium.org/2017773002/diff/20001/xfa/fwl/core/ifwl_widget.h > File xfa/fwl/core/ifwl_widget.h (right): > > https://codereview.chromium.org/2017773002/diff/20001/xfa/fwl/core/ifwl_widget.h#newcode51 ...
4 years, 6 months ago (2016-05-26 22:43:11 UTC) #4
Tom Sepez
On 2016/05/26 22:43:11, Lei Zhang wrote: > On 2016/05/26 22:34:21, Tom Sepez wrote: > > ...
4 years, 6 months ago (2016-05-26 23:38:23 UTC) #5
dsinclair
https://codereview.chromium.org/2017773002/diff/20001/xfa/fwl/core/ifwl_widget.h File xfa/fwl/core/ifwl_widget.h (right): https://codereview.chromium.org/2017773002/diff/20001/xfa/fwl/core/ifwl_widget.h#newcode51 xfa/fwl/core/ifwl_widget.h:51: class CXFA_FFWidget; On 2016/05/26 22:34:21, Tom Sepez wrote: > ...
4 years, 6 months ago (2016-05-27 02:57:47 UTC) #7
Tom Sepez
> I was assuming that things inside a top level directory (xfa/, > core/, fpdfsdk/) ...
4 years, 6 months ago (2016-05-27 17:17:49 UTC) #8
Tom Sepez
On 2016/05/27 17:17:49, Tom Sepez wrote: > > I was assuming that things inside a ...
4 years, 6 months ago (2016-05-27 18:09:15 UTC) #9
dsinclair
4 years, 6 months ago (2016-05-30 14:30:09 UTC) #10
Message was sent while issue was closed.
On 2016/05/27 18:09:15, Tom Sepez wrote:
> On 2016/05/27 17:17:49, Tom Sepez wrote:
> > > I was assuming that things inside a top level directory (xfa/,
> > > core/, fpdfsdk/) can see anything in their subtrees.
> > 
> > That's a really good model to follow, agreed.
> > 
> > >If that's the case, should we move fwl out of the xfa directory to make the
> > > layering clearer?
> > 
> > That would be the conclusion, yes.  Dan would dig this :).
> 
> These are the includes that I found in fwl that would complicate that
> 
> "xfa/fxbarcode/cbc_codabar.h"
> "xfa/fxbarcode/cbc_code128.h"
> "xfa/fxbarcode/cbc_code39.h"
> "xfa/fxbarcode/cbc_codebase.h"
> "xfa/fxbarcode/cbc_datamatrix.h"
> "xfa/fxbarcode/cbc_ean13.h"
> "xfa/fxbarcode/cbc_ean8.h"
> "xfa/fxbarcode/cbc_pdf417i.h"
> "xfa/fxbarcode/cbc_qrcode.h"
> "xfa/fxbarcode/cbc_upca.h"
> "xfa/fxbarcode/include/BC_Library.h"
> "xfa/fxbarcode/utils.h"
> "xfa/fxfa/app/xfa_fwladapter.h"
> "xfa/fxfa/include/xfa_ffapp.h"
> "xfa/fxfa/include/xfa_ffdoc.h"
> "xfa/fxfa/include/xfa_ffwidget.h"
> "xfa/fxgraphics/cfx_color.h"
> "xfa/fxgraphics/cfx_path.h"
> "xfa/fxgraphics/cfx_shading.h"
> "xfa/fxgraphics/include/cfx_graphics.h"
> 
> So maybe we should just treat XFA as a "top-level directory" and push the
issue
> down one dir without moving anything.
> 
> 
> Only the fxfa includes abouve bother me.


What about if we move fwl/ up to top level, white list these violations in DEPS,
which would stop us from adding more. Then remove them.

We can then work towards moving pdfwindow and the other widget stuff to work
based on this top level fwl and hopefully get rid of the other widget code.

Powered by Google App Engine
This is Rietveld 408576698