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

Issue 1896893003: Cleanup FDE interfaces. (Closed)

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

Cleanup FDE interfaces. This CL removes IFDE_TextOut, IFDE_Path, IFDE_RenderContext, IFDE_RenderDevice, and IFDE_VisualSetIterator in favour of the concrete classes. BUG=pdfium:468 Committed: https://pdfium.googlesource.com/pdfium/+/acd0d59e3c09f04bffd178aecd3638d3e189faba

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : Rebase to master #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+588 lines, -1149 lines) Patch
M BUILD.gn View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M xfa.gyp View 1 chunk +2 lines, -4 lines 0 comments Download
A + xfa/fde/cfde_path.h View 2 chunks +22 lines, -23 lines 0 comments Download
A + xfa/fde/cfde_path.cpp View 8 chunks +56 lines, -47 lines 0 comments Download
M xfa/fde/fde_gedevice.h View 1 chunk +89 lines, -80 lines 0 comments Download
M xfa/fde/fde_gedevice.cpp View 6 chunks +87 lines, -96 lines 0 comments Download
D xfa/fde/fde_geobject.h View 1 chunk +0 lines, -57 lines 0 comments Download
D xfa/fde/fde_geobject.cpp View 1 chunk +0 lines, -255 lines 0 comments Download
M xfa/fde/fde_iterator.h View 1 chunk +9 lines, -9 lines 0 comments Download
M xfa/fde/fde_iterator.cpp View 1 3 chunks +32 lines, -29 lines 0 comments Download
D xfa/fde/fde_path.h View 1 chunk +0 lines, -37 lines 0 comments Download
M xfa/fde/fde_render.h View 2 chunks +28 lines, -16 lines 0 comments Download
M xfa/fde/fde_render.cpp View 3 chunks +5 lines, -90 lines 0 comments Download
D xfa/fde/fde_renderdevice.h View 1 chunk +0 lines, -110 lines 0 comments Download
M xfa/fde/fde_visualset.h View 2 chunks +1 line, -14 lines 0 comments Download
M xfa/fde/tto/fde_textout.h View 1 2 chunks +145 lines, -60 lines 0 comments Download
M xfa/fde/tto/fde_textout.cpp View 1 11 chunks +27 lines, -188 lines 0 comments Download
M xfa/fee/fde_txtedtengine.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fwl/basewidget/fwl_editimp.cpp View 1 2 2 chunks +3 lines, -7 lines 0 comments Download
M xfa/fwl/theme/cfwl_widgettp.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M xfa/fwl/theme/cfwl_widgettp.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/app/xfa_ffpageview.cpp View 2 chunks +53 lines, -1 line 0 comments Download
M xfa/fxfa/app/xfa_ffwidgetacc.cpp View 3 chunks +9 lines, -6 lines 0 comments Download
M xfa/fxfa/app/xfa_fwltheme.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/app/xfa_fwltheme.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/app/xfa_textlayout.h View 2 chunks +3 lines, -3 lines 0 comments Download
M xfa/fxfa/app/xfa_textlayout.cpp View 1 2 5 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
dsinclair
PTAL.
4 years, 8 months ago (2016-04-19 13:45:27 UTC) #4
Tom Sepez
lgtm https://codereview.chromium.org/1896893003/diff/20001/xfa/fde/fde_iterator.cpp File xfa/fde/fde_iterator.cpp (right): https://codereview.chromium.org/1896893003/diff/20001/xfa/fde/fde_iterator.cpp#newcode44 xfa/fde/fde_iterator.cpp:44: return pCanvas->hPos != nullptr; nit: return !!pCanvas->hPos; https://codereview.chromium.org/1896893003/diff/20001/xfa/fde/tto/fde_textout.h ...
4 years, 8 months ago (2016-04-19 19:02:38 UTC) #5
dsinclair
PTAL. Nasty merge with FDE_TextOut changes. https://codereview.chromium.org/1896893003/diff/20001/xfa/fde/fde_iterator.cpp File xfa/fde/fde_iterator.cpp (right): https://codereview.chromium.org/1896893003/diff/20001/xfa/fde/fde_iterator.cpp#newcode44 xfa/fde/fde_iterator.cpp:44: return pCanvas->hPos != ...
4 years, 8 months ago (2016-04-19 19:20:26 UTC) #6
dsinclair
ping
4 years, 8 months ago (2016-04-21 13:10:21 UTC) #7
Tom Sepez
Sorry, being picky. https://codereview.chromium.org/1896893003/diff/60001/xfa/fwl/theme/cfwl_widgettp.h File xfa/fwl/theme/cfwl_widgettp.h (right): https://codereview.chromium.org/1896893003/diff/60001/xfa/fwl/theme/cfwl_widgettp.h#newcode23 xfa/fwl/theme/cfwl_widgettp.h:23: Mon, weeks start on sundays. we ...
4 years, 8 months ago (2016-04-21 17:05:25 UTC) #8
dsinclair
https://codereview.chromium.org/1896893003/diff/60001/xfa/fwl/theme/cfwl_widgettp.h File xfa/fwl/theme/cfwl_widgettp.h (right): https://codereview.chromium.org/1896893003/diff/60001/xfa/fwl/theme/cfwl_widgettp.h#newcode23 xfa/fwl/theme/cfwl_widgettp.h:23: Mon, On 2016/04/21 17:05:25, Tom Sepez wrote: > weeks ...
4 years, 8 months ago (2016-04-21 17:09:24 UTC) #9
Tom Sepez
On 2016/04/21 17:09:24, dsinclair wrote: > https://codereview.chromium.org/1896893003/diff/60001/xfa/fwl/theme/cfwl_widgettp.h > File xfa/fwl/theme/cfwl_widgettp.h (right): > > https://codereview.chromium.org/1896893003/diff/60001/xfa/fwl/theme/cfwl_widgettp.h#newcode23 > ...
4 years, 8 months ago (2016-04-21 17:12:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896893003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896893003/80001
4 years, 8 months ago (2016-04-21 17:13:32 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-04-21 18:06:30 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://pdfium.googlesource.com/pdfium/+/acd0d59e3c09f04bffd178aecd3638d3e189...

Powered by Google App Engine
This is Rietveld 408576698