diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-05-04 12:12:06 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-04 16:48:35 +0000 |
commit | dcefccc9f0f2002f79a4a67048fac1360c1d6c26 (patch) | |
tree | 0b337a17f590d544ec2f20c5645cdb62b0b4c8b8 /xfa/fde/cfde_rendercontext.h | |
parent | df673c28191cca181ef526d02f24b4a7a6f5e200 (diff) | |
download | pdfium-dcefccc9f0f2002f79a4a67048fac1360c1d6c26.tar.xz |
Removing unused IFX_Pause parameters
Remove more IFX_Pause parameters which are not used.
Change-Id: I9d10bb6b28d6d4d94ec3c4241b1c5a8a0709264c
Reviewed-on: https://pdfium-review.googlesource.com/4875
Reviewed-by: Nicolás Peña <npm@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_rendercontext.h')
-rw-r--r-- | xfa/fde/cfde_rendercontext.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/xfa/fde/cfde_rendercontext.h b/xfa/fde/cfde_rendercontext.h index 28b8780052..7f54e28c6d 100644 --- a/xfa/fde/cfde_rendercontext.h +++ b/xfa/fde/cfde_rendercontext.h @@ -18,28 +18,19 @@ class CFDE_RenderDevice; class CFDE_TxtEdtTextSet; -enum FDE_RENDERSTATUS { - FDE_RENDERSTATUS_Reset = 0, - FDE_RENDERSTATUS_Paused, - FDE_RENDERSTATUS_Done, - FDE_RENDERSTATUS_Failed, -}; - class CFDE_RenderContext { public: CFDE_RenderContext(); ~CFDE_RenderContext(); - bool StartRender(CFDE_RenderDevice* pRenderDevice, + void StartRender(CFDE_RenderDevice* pRenderDevice, CFDE_TxtEdtPage* pCanvasSet, const CFX_Matrix& tmDoc2Device); - FDE_RENDERSTATUS GetStatus() const { return m_eStatus; } - FDE_RENDERSTATUS DoRender(IFX_Pause* pPause = nullptr); - void StopRender(); + void DoRender(); + + private: void RenderText(CFDE_TxtEdtTextSet* pTextSet, FDE_TEXTEDITPIECE* pText); - protected: - FDE_RENDERSTATUS m_eStatus; CFDE_RenderDevice* m_pRenderDevice; CFX_Matrix m_Transform; std::vector<FXTEXT_CHARPOS> m_CharPos; |