diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2017-09-19 13:36:09 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-19 17:48:51 +0000 |
commit | 2d510f7dc4d6c30cdecef09c5e68c47e98de6ffb (patch) | |
tree | 86d27d304c0edeb7cf1f4256cbe34be3eb6cb636 /fpdfsdk | |
parent | b52b1b485f8997c460f59b115db68f05a99f0c7c (diff) | |
download | pdfium-2d510f7dc4d6c30cdecef09c5e68c47e98de6ffb.tar.xz |
Remove unused methods and field in CFFL_FormFiller.
Change-Id: Ice5ef31af6e32b6a02072e2a4445b19d4f801d3c
Reviewed-on: https://pdfium-review.googlesource.com/14330
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/formfiller/cffl_formfiller.cpp | 14 | ||||
-rw-r--r-- | fpdfsdk/formfiller/cffl_formfiller.h | 5 |
2 files changed, 0 insertions, 19 deletions
diff --git a/fpdfsdk/formfiller/cffl_formfiller.cpp b/fpdfsdk/formfiller/cffl_formfiller.cpp index 2c6138b92b..1ed7ffa420 100644 --- a/fpdfsdk/formfiller/cffl_formfiller.cpp +++ b/fpdfsdk/formfiller/cffl_formfiller.cpp @@ -46,17 +46,6 @@ void CFFL_FormFiller::DestroyWindows() { m_Maps.clear(); } -void CFFL_FormFiller::SetWindowRect(CPDFSDK_PageView* pPageView, - const CFX_FloatRect& rcWindow) { - if (CPWL_Wnd* pWnd = GetPDFWindow(pPageView, false)) - pWnd->Move(CFX_FloatRect(rcWindow), true, false); -} - -CFX_FloatRect CFFL_FormFiller::GetWindowRect(CPDFSDK_PageView* pPageView) { - CPWL_Wnd* pWnd = GetPDFWindow(pPageView, false); - return pWnd ? pWnd->GetWindowRect() : CFX_FloatRect(); -} - FX_RECT CFFL_FormFiller::GetViewBBox(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot) { ASSERT(pPageView); @@ -160,9 +149,6 @@ bool CFFL_FormFiller::OnMouseMove(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot, uint32_t nFlags, const CFX_PointF& point) { - if (m_ptOldPos != point) - m_ptOldPos = point; - CPWL_Wnd* pWnd = GetPDFWindow(pPageView, false); if (!pWnd) return false; diff --git a/fpdfsdk/formfiller/cffl_formfiller.h b/fpdfsdk/formfiller/cffl_formfiller.h index 8078d35519..26f6052df8 100644 --- a/fpdfsdk/formfiller/cffl_formfiller.h +++ b/fpdfsdk/formfiller/cffl_formfiller.h @@ -115,10 +115,6 @@ class CFFL_FormFiller : public CPWL_Wnd::ProviderIface, CFX_FloatRect FFLtoWnd(CPDFSDK_PageView* pPageView, const CFX_FloatRect& rect); - void SetWindowRect(CPDFSDK_PageView* pPageView, - const CFX_FloatRect& rcWindow); - CFX_FloatRect GetWindowRect(CPDFSDK_PageView* pPageView); - bool CommitData(CPDFSDK_PageView* pPageView, uint32_t nFlag); virtual bool IsDataChanged(CPDFSDK_PageView* pPageView); virtual void SaveData(CPDFSDK_PageView* pPageView); @@ -160,7 +156,6 @@ class CFFL_FormFiller : public CPWL_Wnd::ProviderIface, CFX_UnownedPtr<CPDFSDK_Widget> m_pWidget; bool m_bValid; CFFL_PageView2PDFWindow m_Maps; - CFX_PointF m_ptOldPos; }; #endif // FPDFSDK_FORMFILLER_CFFL_FORMFILLER_H_ |