diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-06-03 16:09:12 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-06-03 16:09:12 -0700 |
commit | 80b597d3f32ef2509627c7561abb84a6f5ac09bf (patch) | |
tree | fd13d7c464df96ae4d3b5a60ba802af04cc86163 /core/include/fpdfapi/fpdf_render.h | |
parent | 7bb4d8dc9e825f484e180205254aee1488cc34dc (diff) | |
download | pdfium-80b597d3f32ef2509627c7561abb84a6f5ac09bf.tar.xz |
Kill unused IPDF_ classes.
Some are simply never defined. Some are never instantiated. Some have
paths that are never reached.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1168503003
Diffstat (limited to 'core/include/fpdfapi/fpdf_render.h')
-rw-r--r-- | core/include/fpdfapi/fpdf_render.h | 26 |
1 files changed, 0 insertions, 26 deletions
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<struct _PDF_RenderItem> 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: |