summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_widgethandler.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/cpdfsdk_widgethandler.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/cpdfsdk_widgethandler.h')
-rw-r--r--fpdfsdk/cpdfsdk_widgethandler.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fpdfsdk/cpdfsdk_widgethandler.h b/fpdfsdk/cpdfsdk_widgethandler.h
index b2fa71daa5..5df6018bbf 100644
--- a/fpdfsdk/cpdfsdk_widgethandler.h
+++ b/fpdfsdk/cpdfsdk_widgethandler.h
@@ -35,7 +35,6 @@ class CPDFSDK_WidgetHandler : public IPDFSDK_AnnotHandler {
CPDFSDK_PageView* pPage) override;
#endif // PDF_ENABLE_XFA
void ReleaseAnnot(CPDFSDK_Annot* pAnnot) override;
- void DeleteAnnot(CPDFSDK_Annot* pAnnot) override;
CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
CPDFSDK_Annot* pAnnot) override;
FX_BOOL HitTest(CPDFSDK_PageView* pPageView,
@@ -46,10 +45,7 @@ class CPDFSDK_WidgetHandler : public IPDFSDK_AnnotHandler {
CFX_RenderDevice* pDevice,
CFX_Matrix* pUser2Device,
bool bDrawAnnots) override;
- void OnCreate(CPDFSDK_Annot* pAnnot) override;
void OnLoad(CPDFSDK_Annot* pAnnot) override;
- void OnDelete(CPDFSDK_Annot* pAnnot) override;
- void OnRelease(CPDFSDK_Annot* pAnnot) override;
void OnMouseEnter(CPDFSDK_PageView* pPageView,
CPDFSDK_Annot::ObservedPtr* pAnnot,
@@ -95,8 +91,6 @@ class CPDFSDK_WidgetHandler : public IPDFSDK_AnnotHandler {
uint32_t nFlags) override;
FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot, int nKeyCode, int nFlag) override;
FX_BOOL OnKeyUp(CPDFSDK_Annot* pAnnot, int nKeyCode, int nFlag) override;
- void OnDeSelected(CPDFSDK_Annot* pAnnot) override {}
- void OnSelected(CPDFSDK_Annot* pAnnot) override {}
FX_BOOL OnSetFocus(CPDFSDK_Annot::ObservedPtr* pAnnot,
uint32_t nFlag) override;
FX_BOOL OnKillFocus(CPDFSDK_Annot::ObservedPtr* pAnnot,