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

Issue 1927973003: Remove IFDE_TxtEdt interfaces where possible. (Closed)

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

Remove IFDE_TxtEdt interfaces where possible. This CL removes the following and uses the only instance instead. * IFDE_TxtEdtParag * IFDE_TxtEdtEventSink * IFDE_TxtEdtEngine * IFDE_TxtEdtBuf Committed: https://pdfium.googlesource.com/pdfium/+/b696f7d616ef397a01af1d6bd01c061922a259f7

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+273 lines, -450 lines) Patch
M BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M xfa.gyp View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M xfa/fee/fde_txtedtbuf.h View 1 2 chunks +29 lines, -34 lines 0 comments Download
M xfa/fee/fde_txtedtbuf.cpp View 1 15 chunks +34 lines, -25 lines 0 comments Download
M xfa/fee/fde_txtedtengine.h View 4 chunks +67 lines, -72 lines 0 comments Download
M xfa/fee/fde_txtedtengine.cpp View 1 2 32 chunks +66 lines, -77 lines 0 comments Download
M xfa/fee/fde_txtedtpage.h View 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/fee/fde_txtedtpage.cpp View 1 2 5 chunks +6 lines, -7 lines 0 comments Download
M xfa/fee/fde_txtedtparag.h View 1 2 1 chunk +16 lines, -10 lines 0 comments Download
M xfa/fee/fde_txtedtparag.cpp View 3 chunks +2 lines, -3 lines 0 comments Download
D xfa/fee/ifde_txtedtbuf.h View 1 chunk +0 lines, -39 lines 0 comments Download
M xfa/fee/ifde_txtedtengine.h View 1 6 chunks +15 lines, -114 lines 0 comments Download
M xfa/fee/ifde_txtedtpage.h View 1 chunk +4 lines, -3 lines 0 comments Download
M xfa/fwl/basewidget/fwl_comboboximp.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fwl/basewidget/fwl_editimp.h View 3 chunks +17 lines, -31 lines 0 comments Download
M xfa/fwl/basewidget/fwl_editimp.cpp View 1 2 7 chunks +14 lines, -31 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
dsinclair
PTAL. https://codereview.chromium.org/1927973003/diff/1/xfa/fwl/basewidget/fwl_editimp.cpp File xfa/fwl/basewidget/fwl_editimp.cpp (right): https://codereview.chromium.org/1927973003/diff/1/xfa/fwl/basewidget/fwl_editimp.cpp#newcode756 xfa/fwl/basewidget/fwl_editimp.cpp:756: FDE_TXTEDTPARAMS* pParams = m_pEdtEngine->GetEditParams(); The cast was casting ...
4 years, 7 months ago (2016-04-28 14:59:39 UTC) #2
Tom Sepez
https://codereview.chromium.org/1927973003/diff/1/xfa/fee/fde_txtedtbuf.h File xfa/fee/fde_txtedtbuf.h (right): https://codereview.chromium.org/1927973003/diff/1/xfa/fee/fde_txtedtbuf.h#newcode13 xfa/fee/fde_txtedtbuf.h:13: #define FDE_DEFCHUNKLENGTH (1024) nit: why ()? https://codereview.chromium.org/1927973003/diff/1/xfa/fee/fde_txtedtbuf.h#newcode53 xfa/fee/fde_txtedtbuf.h:53: int32_t ...
4 years, 7 months ago (2016-04-28 16:51:09 UTC) #3
dsinclair
https://codereview.chromium.org/1927973003/diff/1/xfa/fee/fde_txtedtbuf.h File xfa/fee/fde_txtedtbuf.h (right): https://codereview.chromium.org/1927973003/diff/1/xfa/fee/fde_txtedtbuf.h#newcode13 xfa/fee/fde_txtedtbuf.h:13: #define FDE_DEFCHUNKLENGTH (1024) On 2016/04/28 16:51:09, Tom Sepez wrote: ...
4 years, 7 months ago (2016-04-28 17:35:57 UTC) #4
Tom Sepez
lgtm https://codereview.chromium.org/1927973003/diff/20001/xfa/fee/fde_txtedtengine.cpp File xfa/fee/fde_txtedtengine.cpp (right): https://codereview.chromium.org/1927973003/diff/20001/xfa/fee/fde_txtedtengine.cpp#newcode918 xfa/fee/fde_txtedtengine.cpp:918: m_ParagPtrArray[i]->SetStartIndex(m_ParagPtrArray[i]->GetStartIndex() - Feels like we should have incrementStatIndex ...
4 years, 7 months ago (2016-04-29 15:36:23 UTC) #5
dsinclair
https://codereview.chromium.org/1927973003/diff/20001/xfa/fee/fde_txtedtengine.cpp File xfa/fee/fde_txtedtengine.cpp (right): https://codereview.chromium.org/1927973003/diff/20001/xfa/fee/fde_txtedtengine.cpp#newcode918 xfa/fee/fde_txtedtengine.cpp:918: m_ParagPtrArray[i]->SetStartIndex(m_ParagPtrArray[i]->GetStartIndex() - On 2016/04/29 15:36:23, Tom Sepez wrote: > ...
4 years, 7 months ago (2016-05-02 13:36:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1927973003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1927973003/40001
4 years, 7 months ago (2016-05-02 13:37:06 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 13:50:03 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/b696f7d616ef397a01af1d6bd01c061922a2...

Powered by Google App Engine
This is Rietveld 408576698