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

Issue 2287703002: Rename CPDFSDK_Annot::GetType to CPDFSDK_Annot::GetAnnotSubtype. (Closed)

Created:
4 years, 3 months ago by jaepark
Modified:
4 years, 3 months ago
Reviewers:
Lei Zhang, dsinclair
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Rename CPDFSDK_Annot::GetType to CPDFSDK_Annot::GetAnnotSubtype. CPDFSDK_Annot::GetType should be renamed to GetAnnotSubtype as it returns annotation subtype. Also, CPDFSDK_Annot::GetSubType is only used to check if the annotation is signature widget. Thus, change the method to IsSignatureWidget. Lastly, rename CPDF_Annot::GetSubType to CPDF_Annot::GetSubtype to match with spec. Committed: https://pdfium.googlesource.com/pdfium/+/9ed91376d562f3c6e7ca0a99035a74502f648776

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename CPDFSDK_Annot::GetType to CPDFSDK_Annot::GetAnnotSubtype. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -94 lines) Patch
M core/fpdfdoc/cpdf_annot.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M core/fpdfdoc/cpdf_annotlist.cpp View 1 chunk +1 line, -1 line 0 comments Download
M core/fpdfdoc/include/cpdf_annot.h View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/cba_annotiterator.cpp View 1 4 chunks +8 lines, -7 lines 0 comments Download
M fpdfsdk/cpdfsdk_annot.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M fpdfsdk/cpdfsdk_annothandlermgr.cpp View 1 4 chunks +5 lines, -4 lines 0 comments Download
M fpdfsdk/cpdfsdk_baannot.cpp View 1 1 chunk +2 lines, -6 lines 0 comments Download
M fpdfsdk/cpdfsdk_bfannothandler.cpp View 1 16 chunks +19 lines, -21 lines 0 comments Download
M fpdfsdk/cpdfsdk_interform.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/cpdfsdk_widget.cpp View 1 1 chunk +2 lines, -6 lines 0 comments Download
M fpdfsdk/cpdfsdk_xfawidget.cpp View 1 1 chunk +1 line, -5 lines 0 comments Download
M fpdfsdk/formfiller/cffl_formfiller.cpp View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/formfiller/cffl_iformfiller.cpp View 13 chunks +13 lines, -13 lines 0 comments Download
M fpdfsdk/fpdf_ext.cpp View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/fsdk_baseform_embeddertest.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M fpdfsdk/fsdk_mgr.cpp View 3 chunks +5 lines, -4 lines 0 comments Download
M fpdfsdk/include/cba_annotiterator.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M fpdfsdk/include/cpdfsdk_annot.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M fpdfsdk/include/cpdfsdk_baannot.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M fpdfsdk/include/cpdfsdk_widget.h View 1 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/include/cpdfsdk_xfawidget.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M fpdfsdk/include/fsdk_common.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M fpdfsdk/javascript/Annot.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (12 generated)
jaepark
4 years, 3 months ago (2016-08-26 21:12:34 UTC) #6
Lei Zhang
https://codereview.chromium.org/2287703002/diff/1/fpdfsdk/cba_annotiterator.cpp File fpdfsdk/cba_annotiterator.cpp (right): https://codereview.chromium.org/2287703002/diff/1/fpdfsdk/cba_annotiterator.cpp#newcode129 fpdfsdk/cba_annotiterator.cpp:129: pAnnot->GetSubType() == m_sSubType) There's some SubType vs Subtype inconsistencies.
4 years, 3 months ago (2016-08-26 21:16:14 UTC) #7
jaepark
https://codereview.chromium.org/2287703002/diff/1/fpdfsdk/cba_annotiterator.cpp File fpdfsdk/cba_annotiterator.cpp (right): https://codereview.chromium.org/2287703002/diff/1/fpdfsdk/cba_annotiterator.cpp#newcode129 fpdfsdk/cba_annotiterator.cpp:129: pAnnot->GetSubType() == m_sSubType) On 2016/08/26 21:16:13, Lei Zhang wrote: ...
4 years, 3 months ago (2016-08-26 22:08:11 UTC) #13
Lei Zhang
lgtm
4 years, 3 months ago (2016-08-26 22:24:17 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2287703002/20001
4 years, 3 months ago (2016-08-26 23:15:53 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 23:16:13 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/9ed91376d562f3c6e7ca0a99035a74502f64...

Powered by Google App Engine
This is Rietveld 408576698