From 575898e6251c1dbb8de0d40a5b6ce90762aa2af2 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 13 Mar 2017 10:16:05 -0400 Subject: Remove some single use interfaces Remove interfaces which are only implemented once. Change-Id: I73ceaa7bfd7ef2a630479c7eebed5e32ecb99940 Reviewed-on: https://pdfium-review.googlesource.com/2944 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- xfa/fde/fde_visualset.h | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'xfa/fde/fde_visualset.h') diff --git a/xfa/fde/fde_visualset.h b/xfa/fde/fde_visualset.h index 5cf02cde9c..e9ee9ab815 100644 --- a/xfa/fde/fde_visualset.h +++ b/xfa/fde/fde_visualset.h @@ -47,26 +47,4 @@ class IFDE_VisualSet { virtual CFX_RectF GetRect(const FDE_TEXTEDITPIECE& hVisualObj) = 0; }; -class IFDE_CanvasSet : public IFDE_VisualSet { - public: - virtual FX_POSITION GetFirstPosition() = 0; - virtual FDE_TEXTEDITPIECE* GetNext(FX_POSITION& pos, - IFDE_VisualSet*& pVisualSet) = 0; -}; - -class IFDE_TextSet : public IFDE_VisualSet { - public: - virtual int32_t GetString(FDE_TEXTEDITPIECE* hText, - CFX_WideString& wsText) = 0; - virtual CFX_RetainPtr GetFont() = 0; - virtual FX_FLOAT GetFontSize() = 0; - virtual FX_ARGB GetFontColor() = 0; - virtual int32_t GetDisplayPos(const FDE_TEXTEDITPIECE& hText, - FXTEXT_CHARPOS* pCharPos, - bool bCharCode = false, - CFX_WideString* pWSForms = nullptr) = 0; - virtual std::vector GetCharRects(const FDE_TEXTEDITPIECE* hText, - bool bbox) = 0; -}; - #endif // XFA_FDE_FDE_VISUALSET_H_ -- cgit v1.2.3