Chromium Code Reviews| Index: fpdfsdk/src/formfiller/FFL_FormFiller.cpp |
| diff --git a/fpdfsdk/src/formfiller/FFL_FormFiller.cpp b/fpdfsdk/src/formfiller/FFL_FormFiller.cpp |
| index 6b211f3b8f4692dbecb4725201b0900bde3d95d4..1b152d7b4bad2310643bc8c3ceb7055cb597698d 100644 |
| --- a/fpdfsdk/src/formfiller/FFL_FormFiller.cpp |
| +++ b/fpdfsdk/src/formfiller/FFL_FormFiller.cpp |
| @@ -225,17 +225,6 @@ FX_BOOL CFFL_FormFiller::OnRButtonUp(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* |
| return FALSE; |
| } |
| -FX_BOOL CFFL_FormFiller::OnRButtonDblClk(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point) |
|
Lei Zhang
2015/06/22 01:24:38
Only called from CFFL_IFormFiller::OnRButtonDblClk
|
| -{ |
| - if (CPWL_Wnd * pWnd = GetPDFWindow(pPageView, FALSE)) |
| - { |
| - pWnd->OnRButtonDblClk(WndtoPWL(pPageView, point),nFlags); |
| - return TRUE; |
| - } |
| - |
| - return FALSE; |
| -} |
| - |
| FX_BOOL CFFL_FormFiller::OnKeyDown(CPDFSDK_Annot* pAnnot, FX_UINT nKeyCode, FX_UINT nFlags) |
| { |
| if (IsValid()) |
| @@ -268,16 +257,6 @@ FX_BOOL CFFL_FormFiller::OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nF |
| return FALSE; |
| } |
| -void CFFL_FormFiller::OnDeSelected(CPDFSDK_Annot* pAnnot) |
| -{ |
| - ASSERT(FALSE); |
| -} |
| - |
| -void CFFL_FormFiller::OnSelected(CPDFSDK_Annot* pAnnot) |
| -{ |
| - ASSERT(FALSE); |
| -} |
| - |
| FX_BOOL CFFL_FormFiller::OnSetFocus(CPDFSDK_Annot* pAnnot, FX_UINT nFlag) |
| { |
| CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; |
| @@ -287,8 +266,6 @@ FX_BOOL CFFL_FormFiller::OnSetFocus(CPDFSDK_Annot* pAnnot, FX_UINT nFlag) |
| CPDFSDK_PageView* pPageView = pDoc->GetPageView(pPage); |
| ASSERT(pPageView != NULL); |
| - |
| - |
| CPWL_Wnd * pWnd = NULL; |
| if ( (pWnd = GetPDFWindow(pPageView, TRUE))) |
| { |
| @@ -296,11 +273,6 @@ FX_BOOL CFFL_FormFiller::OnSetFocus(CPDFSDK_Annot* pAnnot, FX_UINT nFlag) |
| } |
| m_bValid = TRUE; |
| - |
| - |
| - |
| - |
| - m_bValid = TRUE; |
| FX_RECT rcRect = GetViewBBox(pPageView,pAnnot); |
| InvalidateRect(rcRect.left, rcRect.top, rcRect.right, rcRect.bottom); |