Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1997)

Unified Diff: core/include/fpdfapi/fpdf_render.h

Issue 1168503003: Kill unused IPDF_ classes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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:

Powered by Google App Engine
This is Rietveld 408576698