From 9ddafc82bddb984ae46ee0df801ba20b446d5158 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 19 Oct 2015 14:14:48 -0700 Subject: Remove dead code that was reactivated when fixing overrides. BUG=pdfium:205 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1409743004 . --- fpdfsdk/include/formfiller/FFL_ComboBox.h | 1 - fpdfsdk/include/formfiller/FFL_FormFiller.h | 2 -- fpdfsdk/include/formfiller/FFL_IFormFiller.h | 8 +------- fpdfsdk/include/formfiller/FFL_ListBox.h | 1 - 4 files changed, 1 insertion(+), 11 deletions(-) (limited to 'fpdfsdk/include/formfiller') diff --git a/fpdfsdk/include/formfiller/FFL_ComboBox.h b/fpdfsdk/include/formfiller/FFL_ComboBox.h index 5bfbc12a8e..c18fb74282 100644 --- a/fpdfsdk/include/formfiller/FFL_ComboBox.h +++ b/fpdfsdk/include/formfiller/FFL_ComboBox.h @@ -47,7 +47,6 @@ class CFFL_ComboBox : public CFFL_FormFiller, void RestoreState(CPDFSDK_PageView* pPageView) override; CPWL_Wnd* ResetPDFWindow(CPDFSDK_PageView* pPageView, FX_BOOL bRestoreValue) override; - void OnKeyStroke(FX_BOOL bKeyDown, FX_DWORD nFlag) override; // IPWL_FocusHandler: void OnSetFocus(CPWL_Wnd* pWnd) override; diff --git a/fpdfsdk/include/formfiller/FFL_FormFiller.h b/fpdfsdk/include/formfiller/FFL_FormFiller.h index 35b4bdf59b..eb82bda2f4 100644 --- a/fpdfsdk/include/formfiller/FFL_FormFiller.h +++ b/fpdfsdk/include/formfiller/FFL_FormFiller.h @@ -103,8 +103,6 @@ class CFFL_FormFiller : public IPWL_Provider, public CPWL_TimerHandler { virtual CPWL_Wnd* ResetPDFWindow(CPDFSDK_PageView* pPageView, FX_BOOL bRestoreValue); - virtual void OnKeyStroke(FX_BOOL bKeyDown, FX_DWORD nFlag); - CPDF_Matrix GetCurMatrix(); CPDF_Rect FFLtoPWL(const CPDF_Rect& rect); diff --git a/fpdfsdk/include/formfiller/FFL_IFormFiller.h b/fpdfsdk/include/formfiller/FFL_IFormFiller.h index 8421774bcb..3eb4a4689a 100644 --- a/fpdfsdk/include/formfiller/FFL_IFormFiller.h +++ b/fpdfsdk/include/formfiller/FFL_IFormFiller.h @@ -122,9 +122,7 @@ class CFFL_IFormFiller : public IPWL_Filler_Notify { FX_FLOAT fPopupMax, int32_t& nRet, FX_FLOAT& fPopupRet) override; - void OnBeforeKeyStroke(FX_BOOL bEditOrList, - void* pPrivateData, - int32_t nKeyCode, + void OnBeforeKeyStroke(void* pPrivateData, CFX_WideString& strChange, const CFX_WideString& strChangeEx, int nSelStart, @@ -133,10 +131,6 @@ class CFFL_IFormFiller : public IPWL_Filler_Notify { FX_BOOL& bRC, FX_BOOL& bExit, FX_DWORD nFlag) override; - void OnAfterKeyStroke(FX_BOOL bEditOrList, - void* pPrivateData, - FX_BOOL& bExit, - FX_DWORD nFlag) override; void UnRegisterFormFiller(CPDFSDK_Annot* pAnnot); diff --git a/fpdfsdk/include/formfiller/FFL_ListBox.h b/fpdfsdk/include/formfiller/FFL_ListBox.h index 01ad2218d0..227f062e46 100644 --- a/fpdfsdk/include/formfiller/FFL_ListBox.h +++ b/fpdfsdk/include/formfiller/FFL_ListBox.h @@ -35,7 +35,6 @@ class CFFL_ListBox : public CFFL_FormFiller { void RestoreState(CPDFSDK_PageView* pPageView) override; CPWL_Wnd* ResetPDFWindow(CPDFSDK_PageView* pPageView, FX_BOOL bRestoreValue) override; - void OnKeyStroke(FX_BOOL bKeyDown, FX_DWORD nFlag) override; private: CBA_FontMap* m_pFontMap; -- cgit v1.2.3