diff options
author | jaepark <jaepark@google.com> | 2016-08-25 06:40:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-25 06:40:56 -0700 |
commit | cae6bdfff7e409312f2f88548be5b30abfa84147 (patch) | |
tree | e9b043a8a1c29a1bffb9d87b0aeeb6e3907920d7 /fpdfsdk | |
parent | 156de02596e91490bf2432686d0d3c91a5c1a26e (diff) | |
download | pdfium-cae6bdfff7e409312f2f88548be5b30abfa84147.tar.xz |
Remove unused IPDFSDK_AnnotHandler::GetName().
Review-Url: https://codereview.chromium.org/2276953003
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/cpdfsdk_bfannothandler.cpp | 4 | ||||
-rw-r--r-- | fpdfsdk/cpdfsdk_xfaannothandler.cpp | 4 | ||||
-rw-r--r-- | fpdfsdk/include/cpdfsdk_bfannothandler.h | 1 | ||||
-rw-r--r-- | fpdfsdk/include/cpdfsdk_xfaannothandler.h | 1 | ||||
-rw-r--r-- | fpdfsdk/include/ipdfsdk_annothandler.h | 1 |
5 files changed, 0 insertions, 11 deletions
diff --git a/fpdfsdk/cpdfsdk_bfannothandler.cpp b/fpdfsdk/cpdfsdk_bfannothandler.cpp index 0617e44299..4742e5d275 100644 --- a/fpdfsdk/cpdfsdk_bfannothandler.cpp +++ b/fpdfsdk/cpdfsdk_bfannothandler.cpp @@ -31,10 +31,6 @@ CFX_ByteString CPDFSDK_BFAnnotHandler::GetType() { return CFX_ByteString("Widget"); } -CFX_ByteString CPDFSDK_BFAnnotHandler::GetName() { - return CFX_ByteString("WidgetHandler"); -} - FX_BOOL CPDFSDK_BFAnnotHandler::CanAnswer(CPDFSDK_Annot* pAnnot) { ASSERT(pAnnot->GetType() == "Widget"); if (pAnnot->GetSubType() == BFFT_SIGNATURE) diff --git a/fpdfsdk/cpdfsdk_xfaannothandler.cpp b/fpdfsdk/cpdfsdk_xfaannothandler.cpp index 94f6f4abdc..2f4599da5d 100644 --- a/fpdfsdk/cpdfsdk_xfaannothandler.cpp +++ b/fpdfsdk/cpdfsdk_xfaannothandler.cpp @@ -29,10 +29,6 @@ CFX_ByteString CPDFSDK_XFAAnnotHandler::GetType() { return FSDK_XFAWIDGET_TYPENAME; } -CFX_ByteString CPDFSDK_XFAAnnotHandler::GetName() { - return "XFAWidgetHandler"; -} - FX_BOOL CPDFSDK_XFAAnnotHandler::CanAnswer(CPDFSDK_Annot* pAnnot) { return !!pAnnot->GetXFAWidget(); } diff --git a/fpdfsdk/include/cpdfsdk_bfannothandler.h b/fpdfsdk/include/cpdfsdk_bfannothandler.h index 1fbc13ceee..be7e79279d 100644 --- a/fpdfsdk/include/cpdfsdk_bfannothandler.h +++ b/fpdfsdk/include/cpdfsdk_bfannothandler.h @@ -29,7 +29,6 @@ class CPDFSDK_BFAnnotHandler : public IPDFSDK_AnnotHandler { ~CPDFSDK_BFAnnotHandler() override; CFX_ByteString GetType() override; - CFX_ByteString GetName() override; FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) override; CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPage) override; #ifdef PDF_ENABLE_XFA diff --git a/fpdfsdk/include/cpdfsdk_xfaannothandler.h b/fpdfsdk/include/cpdfsdk_xfaannothandler.h index db5e4b7ea6..2dd6f297a7 100644 --- a/fpdfsdk/include/cpdfsdk_xfaannothandler.h +++ b/fpdfsdk/include/cpdfsdk_xfaannothandler.h @@ -26,7 +26,6 @@ class CPDFSDK_XFAAnnotHandler : public IPDFSDK_AnnotHandler { ~CPDFSDK_XFAAnnotHandler() override; CFX_ByteString GetType() override; - CFX_ByteString GetName() override; FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) override; CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPage) override; CPDFSDK_Annot* NewAnnot(CXFA_FFWidget* pAnnot, diff --git a/fpdfsdk/include/ipdfsdk_annothandler.h b/fpdfsdk/include/ipdfsdk_annothandler.h index ac7be62bce..0dd1a93cc8 100644 --- a/fpdfsdk/include/ipdfsdk_annothandler.h +++ b/fpdfsdk/include/ipdfsdk_annothandler.h @@ -29,7 +29,6 @@ class IPDFSDK_AnnotHandler { virtual ~IPDFSDK_AnnotHandler() {} virtual CFX_ByteString GetType() = 0; - virtual CFX_ByteString GetName() = 0; virtual FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) = 0; virtual CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPage) = 0; |