diff options
author | dsinclair <dsinclair@chromium.org> | 2016-07-13 11:26:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-13 11:26:20 -0700 |
commit | e35af1e3c93e5e1f374799da115eb4b99820831c (patch) | |
tree | 1adebcd0961e7e331ff6d4172401296676967970 /fpdfsdk/pdfwindow/PWL_Edit.h | |
parent | a2919b31197737d35e4e1df53b02f7ee7cb4cf5e (diff) | |
download | pdfium-e35af1e3c93e5e1f374799da115eb4b99820831c.tar.xz |
Remove some IFX_* wrappers.
This CL removes the IFX_* wrappers between fpdfsdk/fxedit and fpdfsdk/pdfwindow
which only have a single implementation.
Review-Url: https://codereview.chromium.org/2142213002
Diffstat (limited to 'fpdfsdk/pdfwindow/PWL_Edit.h')
-rw-r--r-- | fpdfsdk/pdfwindow/PWL_Edit.h | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_Edit.h b/fpdfsdk/pdfwindow/PWL_Edit.h index 8a9d371b28..e1518ef86c 100644 --- a/fpdfsdk/pdfwindow/PWL_Edit.h +++ b/fpdfsdk/pdfwindow/PWL_Edit.h @@ -12,6 +12,10 @@ #include "fpdfsdk/pdfwindow/PWL_EditCtrl.h" #include "fpdfsdk/pdfwindow/PWL_Wnd.h" +class CPDF_PageObjectHolder; +class CPDF_TextObject; +class IFX_Edit_UndoItem; + class IPWL_Filler_Notify { public: virtual ~IPWL_Filler_Notify() {} @@ -40,7 +44,7 @@ class IPWL_Filler_Notify { #endif // PDF_ENABLE_XFA }; -class CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify { +class CPWL_Edit : public CPWL_EditCtrl { public: CPWL_Edit(); ~CPWL_Edit() override; @@ -113,23 +117,16 @@ class CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify { FX_BOOL IsProceedtoOnChar(uint16_t nKeyCode, uint32_t nFlag); void AttachFFLData(void* pData) { m_pFormFiller = pData; } - protected: - // IFX_Edit_OprNotify void OnInsertWord(const CPVT_WordPlace& place, - const CPVT_WordPlace& oldplace) override; + const CPVT_WordPlace& oldplace); void OnInsertReturn(const CPVT_WordPlace& place, - const CPVT_WordPlace& oldplace) override; - void OnBackSpace(const CPVT_WordPlace& place, - const CPVT_WordPlace& oldplace) override; - void OnDelete(const CPVT_WordPlace& place, - const CPVT_WordPlace& oldplace) override; - void OnClear(const CPVT_WordPlace& place, - const CPVT_WordPlace& oldplace) override; - void OnSetText(const CPVT_WordPlace& place, - const CPVT_WordPlace& oldplace) override; + const CPVT_WordPlace& oldplace); + void OnBackSpace(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace); + void OnDelete(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace); + void OnClear(const CPVT_WordPlace& place, const CPVT_WordPlace& oldplace); void OnInsertText(const CPVT_WordPlace& place, - const CPVT_WordPlace& oldplace) override; - void OnAddUndo(IFX_Edit_UndoItem* pUndoItem) override; + const CPVT_WordPlace& oldplace); + void OnAddUndo(IFX_Edit_UndoItem* pUndoItem); private: CPVT_WordRange GetSelectWordRange() const; |