summaryrefslogtreecommitdiff
path: root/fpdfsdk/ipdfsdk_annothandler.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-10-12 09:12:47 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-12 09:12:47 -0700
commita30537f8b07492489e81414c9037af90c8b1448e (patch)
treedd3b94cef9876afafe9c69939dc581cd1b23bf7f /fpdfsdk/ipdfsdk_annothandler.h
parent7dd285df25630482bfd7bceea3678ff1dc60aab5 (diff)
downloadpdfium-a30537f8b07492489e81414c9037af90c8b1448e.tar.xz
Remove unused widget handler overrides
This CL removes override points from the widget hander classes. Review-Url: https://codereview.chromium.org/2410193005
Diffstat (limited to 'fpdfsdk/ipdfsdk_annothandler.h')
-rw-r--r--fpdfsdk/ipdfsdk_annothandler.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fpdfsdk/ipdfsdk_annothandler.h b/fpdfsdk/ipdfsdk_annothandler.h
index 84da0c4054..e91b329eb7 100644
--- a/fpdfsdk/ipdfsdk_annothandler.h
+++ b/fpdfsdk/ipdfsdk_annothandler.h
@@ -34,7 +34,6 @@ class IPDFSDK_AnnotHandler {
#endif // PDF_ENABLE_XFA
virtual void ReleaseAnnot(CPDFSDK_Annot* pAnnot) = 0;
- virtual void DeleteAnnot(CPDFSDK_Annot* pAnnot) = 0;
virtual CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
CPDFSDK_Annot* pAnnot) = 0;
virtual FX_BOOL HitTest(CPDFSDK_PageView* pPageView,
@@ -45,10 +44,7 @@ class IPDFSDK_AnnotHandler {
CFX_RenderDevice* pDevice,
CFX_Matrix* pUser2Device,
bool bDrawAnnots) = 0;
- virtual void OnCreate(CPDFSDK_Annot* pAnnot) = 0;
virtual void OnLoad(CPDFSDK_Annot* pAnnot) = 0;
- virtual void OnDelete(CPDFSDK_Annot* pAnnot) = 0;
- virtual void OnRelease(CPDFSDK_Annot* pAnnot) = 0;
virtual void OnMouseEnter(CPDFSDK_PageView* pPageView,
CPDFSDK_Annot::ObservedPtr* pAnnot,
@@ -94,8 +90,6 @@ class IPDFSDK_AnnotHandler {
uint32_t nFlags) = 0;
virtual FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot, int nKeyCode, int nFlag) = 0;
virtual FX_BOOL OnKeyUp(CPDFSDK_Annot* pAnnot, int nKeyCode, int nFlag) = 0;
- virtual void OnDeSelected(CPDFSDK_Annot* pAnnot) = 0;
- virtual void OnSelected(CPDFSDK_Annot* pAnnot) = 0;
virtual FX_BOOL OnSetFocus(CPDFSDK_Annot::ObservedPtr* pAnnot,
uint32_t nFlag) = 0;
virtual FX_BOOL OnKillFocus(CPDFSDK_Annot::ObservedPtr* pAnnot,