From a2919b31197737d35e4e1df53b02f7ee7cb4cf5e Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 13 Jul 2016 10:55:48 -0700 Subject: Remove RichText support from fpdfsdk/fxedit. This CL removes the support code for RichText from fxedit as it is currently unused. Review-Url: https://codereview.chromium.org/2146503002 --- fpdfsdk/pdfwindow/PWL_EditCtrl.cpp | 3 --- fpdfsdk/pdfwindow/PWL_EditCtrl.h | 2 -- fpdfsdk/pdfwindow/PWL_ListBox.h | 2 -- 3 files changed, 7 deletions(-) (limited to 'fpdfsdk/pdfwindow') diff --git a/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp b/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp index e74a6d8b32..4802c78fdb 100644 --- a/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp +++ b/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp @@ -566,9 +566,6 @@ void CPWL_EditCtrl::IOnSetCaret(FX_BOOL bVisible, OnNotify(this, PNM_SETCARETINFO, (intptr_t)&cInfo, (intptr_t) nullptr); } -void CPWL_EditCtrl::IOnCaretChange(const CPVT_SecProps& secProps, - const CPVT_WordProps& wordProps) {} - void CPWL_EditCtrl::IOnContentChange(const CFX_FloatRect& rcContent) { if (IsValid()) { if (m_pEditNotify) { diff --git a/fpdfsdk/pdfwindow/PWL_EditCtrl.h b/fpdfsdk/pdfwindow/PWL_EditCtrl.h index a8de08aaa6..b21c480b7d 100644 --- a/fpdfsdk/pdfwindow/PWL_EditCtrl.h +++ b/fpdfsdk/pdfwindow/PWL_EditCtrl.h @@ -138,8 +138,6 @@ class CPWL_EditCtrl : public CPWL_Wnd, public IFX_Edit_Notify { const CFX_FloatPoint& ptHead, const CFX_FloatPoint& ptFoot, const CPVT_WordPlace& place) override; - void IOnCaretChange(const CPVT_SecProps& secProps, - const CPVT_WordProps& wordProps) override; void IOnContentChange(const CFX_FloatRect& rcContent) override; void IOnInvalidateRect(CFX_FloatRect* pRect) override; diff --git a/fpdfsdk/pdfwindow/PWL_ListBox.h b/fpdfsdk/pdfwindow/PWL_ListBox.h index 37299e12df..eea0862a8b 100644 --- a/fpdfsdk/pdfwindow/PWL_ListBox.h +++ b/fpdfsdk/pdfwindow/PWL_ListBox.h @@ -40,8 +40,6 @@ class CPWL_List_Notify : public IFX_List_Notify { const CFX_FloatPoint& ptHead, const CFX_FloatPoint& ptFoot, const CPVT_WordPlace& place); - void IOnCaretChange(const CPVT_SecProps& secProps, - const CPVT_WordProps& wordProps); private: CPWL_ListBox* m_pList; -- cgit v1.2.3