summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_widgethandler.cpp
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.cpp
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.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_widgethandler.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/fpdfsdk/cpdfsdk_widgethandler.cpp b/fpdfsdk/cpdfsdk_widgethandler.cpp
index e294c4f204..2509eb6285 100644
--- a/fpdfsdk/cpdfsdk_widgethandler.cpp
+++ b/fpdfsdk/cpdfsdk_widgethandler.cpp
@@ -88,8 +88,6 @@ void CPDFSDK_WidgetHandler::ReleaseAnnot(CPDFSDK_Annot* pAnnot) {
pInterForm->RemoveMap(pControl);
}
-void CPDFSDK_WidgetHandler::DeleteAnnot(CPDFSDK_Annot* pAnnot) {}
-
void CPDFSDK_WidgetHandler::OnDraw(CPDFSDK_PageView* pPageView,
CPDFSDK_Annot* pAnnot,
CFX_RenderDevice* pDevice,
@@ -104,10 +102,6 @@ void CPDFSDK_WidgetHandler::OnDraw(CPDFSDK_PageView* pPageView,
}
}
-void CPDFSDK_WidgetHandler::OnDelete(CPDFSDK_Annot* pAnnot) {}
-
-void CPDFSDK_WidgetHandler::OnRelease(CPDFSDK_Annot* pAnnot) {}
-
void CPDFSDK_WidgetHandler::OnMouseEnter(CPDFSDK_PageView* pPageView,
CPDFSDK_Annot::ObservedPtr* pAnnot,
uint32_t nFlag) {
@@ -227,11 +221,6 @@ FX_BOOL CPDFSDK_WidgetHandler::OnKeyUp(CPDFSDK_Annot* pAnnot,
return FALSE;
}
-void CPDFSDK_WidgetHandler::OnCreate(CPDFSDK_Annot* pAnnot) {
- if (!pAnnot->IsSignatureWidget() && m_pFormFiller)
- m_pFormFiller->OnCreate(pAnnot);
-}
-
void CPDFSDK_WidgetHandler::OnLoad(CPDFSDK_Annot* pAnnot) {
if (pAnnot->IsSignatureWidget())
return;
@@ -257,8 +246,6 @@ void CPDFSDK_WidgetHandler::OnLoad(CPDFSDK_Annot* pAnnot) {
pWidget->ResetAppearance(FALSE);
}
#endif // PDF_ENABLE_XFA
- if (m_pFormFiller)
- m_pFormFiller->OnLoad(pAnnot);
}
FX_BOOL CPDFSDK_WidgetHandler::OnSetFocus(CPDFSDK_Annot::ObservedPtr* pAnnot,