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

Issue 1810563002: Move xfa/include/fxgraphics/fx_graphics.h to xfa/fxgraphics. (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
Visibility:
Public.

Description

Move xfa/include/fxgraphics/fx_graphics.h to xfa/fxgraphics. This Cl moves and splits apart the fx_graphics.h file into individual classes. The .cpp files are renamed to match the .h files. pre.h was removed at the same time and its contents moved to the correct places as needed. R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/811b8a4f4482bb5c11ac7610e70a4c8fd34c2907

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Total comments: 26

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1339 lines, -3364 lines) Patch
M BUILD.gn View 3 chunks +15 lines, -8 lines 0 comments Download
M fpdfsdk/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/fsdk_annothandler.cpp View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/fsdk_mgr.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa.gyp View 2 chunks +14 lines, -5 lines 0 comments Download
M xfa/fwl/basewidget/fwl_caretimp.h View 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fwl/basewidget/fwl_editimp.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fwl/core/fwl_gridimp.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/fwl/lightwidget/caret.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fwl/theme/carettp.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/fwl/theme/checkboxtp.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/fwl/theme/comboboxtp.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/fwl/theme/edittp.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/fwl/theme/formtp.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/fwl/theme/listboxtp.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/fwl/theme/monthcalendartp.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/fwl/theme/pushbuttontp.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/fwl/theme/scrollbartp.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/fwl/theme/widgettp.cpp View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M xfa/fxfa/app/xfa_fffield.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/fxfa/app/xfa_ffpath.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M xfa/fxfa/app/xfa_ffpushbutton.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M xfa/fxfa/app/xfa_fftext.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/app/xfa_ffwidget.cpp View 1 2 5 chunks +14 lines, -12 lines 0 comments Download
M xfa/fxfa/app/xfa_fwltheme.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fxfa/app/xfa_rendercontext.cpp View 1 chunk +1 line, -1 line 0 comments Download
A xfa/fxgraphics/cagg_graphics.h View 1 chunk +29 lines, -0 lines 0 comments Download
A xfa/fxgraphics/cagg_graphics.cpp View 1 chunk +32 lines, -0 lines 0 comments Download
A xfa/fxgraphics/cfx_color.h View 1 chunk +45 lines, -0 lines 0 comments Download
A xfa/fxgraphics/cfx_color.cpp View 1 chunk +49 lines, -0 lines 0 comments Download
A + xfa/fxgraphics/cfx_graphics.cpp View 1 2 3 3 chunks +581 lines, -409 lines 0 comments Download
A xfa/fxgraphics/cfx_path.h View 1 chunk +78 lines, -0 lines 0 comments Download
A xfa/fxgraphics/cfx_path.cpp View 1 chunk +179 lines, -0 lines 0 comments Download
A + xfa/fxgraphics/cfx_path_generator.h View 2 chunks +7 lines, -4 lines 0 comments Download
A + xfa/fxgraphics/cfx_path_generator.cpp View 1 chunk +1 line, -3 lines 0 comments Download
A xfa/fxgraphics/cfx_pattern.h View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
A xfa/fxgraphics/cfx_pattern.cpp View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
A xfa/fxgraphics/cfx_shading.h View 1 2 3 1 chunk +56 lines, -0 lines 0 comments Download
A xfa/fxgraphics/cfx_shading.cpp View 1 2 3 1 chunk +78 lines, -0 lines 0 comments Download
D xfa/fxgraphics/fx_graphics.cpp View 1 chunk +0 lines, -1394 lines 0 comments Download
D xfa/fxgraphics/fx_path_generator.h View 1 chunk +0 lines, -64 lines 0 comments Download
D xfa/fxgraphics/fx_path_generator.cpp View 1 chunk +0 lines, -201 lines 0 comments Download
A + xfa/fxgraphics/include/cfx_graphics.h View 1 5 chunks +51 lines, -233 lines 0 comments Download
D xfa/fxgraphics/pre.h View 1 chunk +0 lines, -586 lines 0 comments Download
M xfa/include/fwl/core/fwl_note.h View 2 chunks +3 lines, -1 line 0 comments Download
M xfa/include/fwl/core/fwl_theme.h View 1 chunk +5 lines, -1 line 0 comments Download
M xfa/include/fwl/core/fwl_widget.h View 1 chunk +0 lines, -1 line 0 comments Download
M xfa/include/fwl/lightwidget/theme.h View 1 chunk +1 line, -0 lines 0 comments Download
D xfa/include/fxgraphics/fx_graphics.h View 1 chunk +0 lines, -435 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
dsinclair
PTAL.
4 years, 9 months ago (2016-03-16 14:37:38 UTC) #2
Tom Sepez
LGTM with nit and a bunch of comments for future work. https://codereview.chromium.org/1810563002/diff/1/xfa/fxgraphics/cfx_graphics.cpp File xfa/fxgraphics/cfx_graphics.cpp (right): ...
4 years, 9 months ago (2016-03-16 17:08:53 UTC) #3
dsinclair
PTAL to diff between ps1 and ps2. https://codereview.chromium.org/1810563002/diff/1/xfa/fxgraphics/cfx_graphics.cpp File xfa/fxgraphics/cfx_graphics.cpp (right): https://codereview.chromium.org/1810563002/diff/1/xfa/fxgraphics/cfx_graphics.cpp#newcode33 xfa/fxgraphics/cfx_graphics.cpp:33: static const ...
4 years, 9 months ago (2016-03-16 19:21:08 UTC) #4
Tom Sepez
https://codereview.chromium.org/1810563002/diff/20001/xfa/fwl/theme/widgettp.cpp File xfa/fwl/theme/widgettp.cpp (right): https://codereview.chromium.org/1810563002/diff/20001/xfa/fwl/theme/widgettp.cpp#newcode457 xfa/fwl/theme/widgettp.cpp:457: CFX_Shading shading(FX_SHADING_Axial); Argh, ok, I'm wrong. This now gives ...
4 years, 9 months ago (2016-03-16 19:38:32 UTC) #5
dsinclair
https://codereview.chromium.org/1810563002/diff/20001/xfa/fwl/theme/widgettp.cpp File xfa/fwl/theme/widgettp.cpp (right): https://codereview.chromium.org/1810563002/diff/20001/xfa/fwl/theme/widgettp.cpp#newcode457 xfa/fwl/theme/widgettp.cpp:457: CFX_Shading shading(FX_SHADING_Axial); On 2016/03/16 19:38:31, Tom Sepez wrote: > ...
4 years, 9 months ago (2016-03-16 19:59:16 UTC) #6
Tom Sepez
https://codereview.chromium.org/1810563002/diff/40001/xfa/fxgraphics/cfx_pattern.cpp File xfa/fxgraphics/cfx_pattern.cpp (right): https://codereview.chromium.org/1810563002/diff/40001/xfa/fxgraphics/cfx_pattern.cpp#newcode18 xfa/fxgraphics/cfx_pattern.cpp:18: m_hatchInfo.hatchStyle = hatchStyle; I'd move these to initializer list. ...
4 years, 9 months ago (2016-03-16 20:53:18 UTC) #7
dsinclair
https://codereview.chromium.org/1810563002/diff/40001/xfa/fxgraphics/cfx_pattern.cpp File xfa/fxgraphics/cfx_pattern.cpp (right): https://codereview.chromium.org/1810563002/diff/40001/xfa/fxgraphics/cfx_pattern.cpp#newcode18 xfa/fxgraphics/cfx_pattern.cpp:18: m_hatchInfo.hatchStyle = hatchStyle; On 2016/03/16 20:53:17, Tom Sepez wrote: ...
4 years, 9 months ago (2016-03-16 21:13:40 UTC) #8
Tom Sepez
lgtm https://codereview.chromium.org/1810563002/diff/60001/xfa/fxgraphics/cfx_pattern.cpp File xfa/fxgraphics/cfx_pattern.cpp (right): https://codereview.chromium.org/1810563002/diff/60001/xfa/fxgraphics/cfx_pattern.cpp#newcode16 xfa/fxgraphics/cfx_pattern.cpp:16: nit: maybe this can move to an else-branch ...
4 years, 9 months ago (2016-03-16 22:10:56 UTC) #9
dsinclair
https://codereview.chromium.org/1810563002/diff/60001/xfa/fxgraphics/cfx_pattern.cpp File xfa/fxgraphics/cfx_pattern.cpp (right): https://codereview.chromium.org/1810563002/diff/60001/xfa/fxgraphics/cfx_pattern.cpp#newcode16 xfa/fxgraphics/cfx_pattern.cpp:16: On 2016/03/16 22:10:55, Tom Sepez wrote: > nit: maybe ...
4 years, 9 months ago (2016-03-17 12:59:30 UTC) #10
dsinclair
4 years, 9 months ago (2016-03-17 12:59:49 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
811b8a4f4482bb5c11ac7610e70a4c8fd34c2907 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698