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

Issue 1411203007: Cleanup parts of CPDFSDK_AnnotIterator and CPDFSDK_PageView. (Closed)

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

Description

Cleanup parts of CPDFSDK_AnnotIterator and CPDFSDK_PageView. R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/9b2741829b8a8c511ef0f2f313ff53d77ac96307

Patch Set 1 #

Total comments: 2

Patch Set 2 : self nits #

Patch Set 3 : more #

Patch Set 4 : self nits #

Patch Set 5 : fix bounds check #

Total comments: 24

Patch Set 6 : rebase #

Patch Set 7 : address comments #

Total comments: 16

Patch Set 8 : rebase #

Patch Set 9 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -271 lines) Patch
M fpdfsdk/include/fsdk_annothandler.h View 1 2 3 4 5 6 3 chunks +14 lines, -31 lines 0 comments Download
M fpdfsdk/include/fsdk_mgr.h View 1 2 3 4 5 6 4 chunks +10 lines, -7 lines 0 comments Download
M fpdfsdk/src/fsdk_annothandler.cpp View 1 2 3 4 5 6 7 8 2 chunks +32 lines, -149 lines 0 comments Download
M fpdfsdk/src/fsdk_baseform.cpp View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M fpdfsdk/src/fsdk_mgr.cpp View 1 2 3 4 5 6 7 8 14 chunks +58 lines, -81 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Lei Zhang
Some of the diffs don't line up well, so it's harder to read side by ...
5 years, 2 months ago (2015-10-21 14:24:16 UTC) #2
Lei Zhang
Whoops, wrong acct.
5 years, 2 months ago (2015-10-21 18:17:31 UTC) #4
Lei Zhang
And I managed to break something. Please hold off on the review.
5 years, 2 months ago (2015-10-21 18:18:04 UTC) #5
Lei Zhang
... and ready for review.
5 years, 2 months ago (2015-10-21 18:29:02 UTC) #6
Tom Sepez
https://codereview.chromium.org/1411203007/diff/80001/fpdfsdk/include/fsdk_annothandler.h File fpdfsdk/include/fsdk_annothandler.h (right): https://codereview.chromium.org/1411203007/diff/80001/fpdfsdk/include/fsdk_annothandler.h#newcode307 fpdfsdk/include/fsdk_annothandler.h:307: class CPDFSDK_AnnotIterator { Can we just kill this class ...
5 years, 2 months ago (2015-10-21 19:32:59 UTC) #7
Lei Zhang
https://codereview.chromium.org/1411203007/diff/80001/fpdfsdk/include/fsdk_annothandler.h File fpdfsdk/include/fsdk_annothandler.h (right): https://codereview.chromium.org/1411203007/diff/80001/fpdfsdk/include/fsdk_annothandler.h#newcode307 fpdfsdk/include/fsdk_annothandler.h:307: class CPDFSDK_AnnotIterator { On 2015/10/21 19:32:58, Tom Sepez wrote: ...
5 years, 2 months ago (2015-10-22 06:56:22 UTC) #9
Tom Sepez
So much better. Lots of nits. LGTM otherwise I think. https://codereview.chromium.org/1411203007/diff/140001/fpdfsdk/src/fsdk_annothandler.cpp File fpdfsdk/src/fsdk_annothandler.cpp (right): https://codereview.chromium.org/1411203007/diff/140001/fpdfsdk/src/fsdk_annothandler.cpp#newcode16 ...
5 years, 2 months ago (2015-10-23 15:54:49 UTC) #10
Tom Sepez
https://codereview.chromium.org/1411203007/diff/140001/fpdfsdk/src/fsdk_annothandler.cpp File fpdfsdk/src/fsdk_annothandler.cpp (right): https://codereview.chromium.org/1411203007/diff/140001/fpdfsdk/src/fsdk_annothandler.cpp#newcode699 fpdfsdk/src/fsdk_annothandler.cpp:699: ++m_pos; On 2015/10/23 15:54:48, Tom Sepez wrote: > nit: ...
5 years, 2 months ago (2015-10-23 16:05:04 UTC) #11
Lei Zhang
https://codereview.chromium.org/1411203007/diff/140001/fpdfsdk/src/fsdk_annothandler.cpp File fpdfsdk/src/fsdk_annothandler.cpp (right): https://codereview.chromium.org/1411203007/diff/140001/fpdfsdk/src/fsdk_annothandler.cpp#newcode16 fpdfsdk/src/fsdk_annothandler.cpp:16: bool LayoutOrderCompare(CPDFSDK_Annot* p1, CPDFSDK_Annot* p2) { On 2015/10/23 15:54:48, ...
5 years, 2 months ago (2015-10-24 01:01:24 UTC) #12
Lei Zhang
5 years, 2 months ago (2015-10-24 01:06:24 UTC) #13
Message was sent while issue was closed.
Committed patchset #9 (id:180001) manually as
9b2741829b8a8c511ef0f2f313ff53d77ac96307 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698