summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-05 16:00:48 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-05 21:24:34 +0000
commit0fdd1aea658bc65e4d136c58818451b9ddad00e0 (patch)
tree7b435514a01e74198159de880f65408e1b77ab2e /fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
parentd32623b507c7e78221eb9f5f62641e3113501a5c (diff)
downloadpdfium-0fdd1aea658bc65e4d136c58818451b9ddad00e0.tar.xz
Cleanup IOn* methods and CPWL_CBEdit
This CL removes various IOn* methods and consolidates code where possible. The CPWL_CBEdit class is also removed as it was a subclass of CPWL_Edit which added no extra functionality. Change-Id: Ifac579ab252b7ca64f8c9b3caeac443683a39c58 Reviewed-on: https://pdfium-review.googlesource.com/7279 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/cpwl_edit_ctrl.h')
-rw-r--r--fpdfsdk/pdfwindow/cpwl_edit_ctrl.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h b/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
index f81def6464..454e579622 100644
--- a/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
+++ b/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
@@ -62,24 +62,14 @@ class CPWL_EditCtrl : public CPWL_Wnd {
void SetCursor() override;
CFX_WideString GetSelectedText() override;
- void IOnSetScrollInfoY(float fPlateMin,
- float fPlateMax,
- float fContentMin,
- float fContentMax,
- float fSmallStep,
- float fBigStep);
- void IOnSetScrollPosY(float fy);
- void IOnSetCaret(bool bVisible,
- const CFX_PointF& ptHead,
- const CFX_PointF& ptFoot,
- const CPVT_WordPlace& place);
- void IOnInvalidateRect(CFX_FloatRect* pRect);
+ void SetCaret(bool bVisible,
+ const CFX_PointF& ptHead,
+ const CFX_PointF& ptFoot);
protected:
void CopyText();
void PasteText();
void CutText();
- void ShowVScrollBar(bool bShow);
void InsertWord(uint16_t word, int32_t nCharset);
void InsertReturn();
@@ -89,9 +79,6 @@ class CPWL_EditCtrl : public CPWL_Wnd {
void Backspace();
void GetCaretInfo(CFX_PointF* ptHead, CFX_PointF* ptFoot) const;
- void SetCaret(bool bVisible,
- const CFX_PointF& ptHead,
- const CFX_PointF& ptFoot);
void SetEditCaret(bool bVisible);