diff options
author | jaepark <jaepark@google.com> | 2016-08-26 16:16:10 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-26 16:16:10 -0700 |
commit | 9ed91376d562f3c6e7ca0a99035a74502f648776 (patch) | |
tree | d164689b94d520448de46c8e4dbc9ea0abf788cf /fpdfsdk/include/cpdfsdk_xfawidget.h | |
parent | 987f3ee94c3cb8e4a6113ad05453a2948469386c (diff) | |
download | pdfium-9ed91376d562f3c6e7ca0a99035a74502f648776.tar.xz |
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.
Review-Url: https://codereview.chromium.org/2287703002
Diffstat (limited to 'fpdfsdk/include/cpdfsdk_xfawidget.h')
-rw-r--r-- | fpdfsdk/include/cpdfsdk_xfawidget.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/include/cpdfsdk_xfawidget.h b/fpdfsdk/include/cpdfsdk_xfawidget.h index 46e71b6481..00cc01249c 100644 --- a/fpdfsdk/include/cpdfsdk_xfawidget.h +++ b/fpdfsdk/include/cpdfsdk_xfawidget.h @@ -24,8 +24,7 @@ class CPDFSDK_XFAWidget : public CPDFSDK_Annot { FX_BOOL IsXFAField() override; CXFA_FFWidget* GetXFAWidget() const override; - CFX_ByteString GetType() const override; - CFX_ByteString GetSubType() const override; + CFX_ByteString GetAnnotSubtype() const override; CFX_FloatRect GetRect() const override; CPDFSDK_InterForm* GetInterForm() { return m_pInterForm; } |