diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-03-13 10:16:05 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-13 15:46:47 +0000 |
commit | 575898e6251c1dbb8de0d40a5b6ce90762aa2af2 (patch) | |
tree | c9b30307e04200c2621bfd98e4152c47653efcb6 /xfa/fde/fde_render.h | |
parent | 068d34426272bd7f02ffc12139ddd33ee2e237e6 (diff) | |
download | pdfium-575898e6251c1dbb8de0d40a5b6ce90762aa2af2.tar.xz |
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 <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fde/fde_render.h')
-rw-r--r-- | xfa/fde/fde_render.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fde/fde_render.h b/xfa/fde/fde_render.h index a24d6b5496..ba56754a3e 100644 --- a/xfa/fde/fde_render.h +++ b/xfa/fde/fde_render.h @@ -16,6 +16,7 @@ #include "xfa/fde/fde_visualset.h" class CFDE_RenderDevice; +class CFDE_TxtEdtTextSet; enum FDE_RENDERSTATUS { FDE_RENDERSTATUS_Reset = 0, @@ -30,12 +31,12 @@ class CFDE_RenderContext { ~CFDE_RenderContext(); bool StartRender(CFDE_RenderDevice* pRenderDevice, - IFDE_CanvasSet* pCanvasSet, + CFDE_TxtEdtPage* pCanvasSet, const CFX_Matrix& tmDoc2Device); FDE_RENDERSTATUS GetStatus() const { return m_eStatus; } FDE_RENDERSTATUS DoRender(IFX_Pause* pPause = nullptr); void StopRender(); - void RenderText(IFDE_TextSet* pTextSet, FDE_TEXTEDITPIECE* pText); + void RenderText(CFDE_TxtEdtTextSet* pTextSet, FDE_TEXTEDITPIECE* pText); protected: FDE_RENDERSTATUS m_eStatus; |