Chromium Code Reviews| Index: core/include/fpdfapi/fpdf_render.h |
| diff --git a/core/include/fpdfapi/fpdf_render.h b/core/include/fpdfapi/fpdf_render.h |
| index 714fffba5c139db39cd5b5cbeb5d3009166c5ab5..47d1b1992020bb7fa51853ba5e6f46e726d7bcb3 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 |
|
Tom Sepez
2015/06/02 22:19:28
Note: never instantiated, set, etc.
|
| -{ |
| -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 |
|
Tom Sepez
2015/06/02 22:19:27
Note: unused.
|
| -{ |
| -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: |