From 76510e4127dc938d121ac5026000f3b0d84a2d46 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 3 Jun 2015 16:19:04 -0700 Subject: Merge to XFA: Kill unused IPDF_ classes. Original Review URL: https://codereview.chromium.org/1168503003 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1153033009 --- core/include/fpdfapi/fpdf_render.h | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'core/include/fpdfapi/fpdf_render.h') diff --git a/core/include/fpdfapi/fpdf_render.h b/core/include/fpdfapi/fpdf_render.h index 714fffba5c..47d1b19920 100644 --- a/core/include/fpdfapi/fpdf_render.h +++ b/core/include/fpdfapi/fpdf_render.h @@ -96,8 +96,6 @@ public: void AppendObjectList(CPDF_PageObjects* pObjs, const CFX_AffineMatrix* pObject2Device); - void SetBackground(class IPDF_BackgroundDraw* pBackground); - void Render(CFX_RenderDevice* pDevice, const CPDF_RenderOptions* pOptions = NULL, const CFX_AffineMatrix* pFinalMatrix = NULL); @@ -124,8 +122,6 @@ protected: CFX_ArrayTemplate m_ContentList; - IPDF_BackgroundDraw* m_pBackgroundDraw; - FX_BOOL m_bFirstLayer; void Render(CFX_RenderDevice* pDevice, const CPDF_PageObject* pStopObj, @@ -133,15 +129,6 @@ protected: friend class CPDF_RenderStatus; friend class CPDF_ProgressiveRenderer; }; -class IPDF_BackgroundDraw -{ -public: - virtual ~IPDF_BackgroundDraw() { } - virtual void OnDrawBackground( - CFX_RenderDevice* pBitmapDevice, - const CFX_AffineMatrix* pOriginal2Bitmap - ) = 0; -}; class CPDF_ProgressiveRenderer { public: @@ -234,19 +221,6 @@ public: CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pText2Device, FX_ARGB fill_argb); }; -class IPDF_PageImageCache -{ -public: - - static IPDF_PageImageCache* Create(); - - virtual ~IPDF_PageImageCache() {} - - virtual void OutputPage(CFX_RenderDevice* pDevice, CPDF_Page* pPage, - int pos_x, int pos_y, int size_x, int size_y, int rotate) = 0; - - virtual void SetCacheLimit(FX_DWORD limit) = 0; -}; class CPDF_PageRenderCache { public: -- cgit v1.2.3