diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-01-21 16:01:41 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-01-21 16:01:41 -0800 |
commit | 9ebc84109d7d2f7b81f06f19e5db20888e026c3b (patch) | |
tree | 9091387b73fd4a88f8395a66ebf4e56ff6cc7ad4 /core/include/fpdfapi | |
parent | da9355139b5dce270be02af31db326d60f488e8c (diff) | |
download | pdfium-9ebc84109d7d2f7b81f06f19e5db20888e026c3b.tar.xz |
Rename CPDF_PageObjects to CPDF_PageObjectList
Prefer class names to be singular.
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1612113003 .
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r-- | core/include/fpdfapi/fpdf_module.h | 2 | ||||
-rw-r--r-- | core/include/fpdfapi/fpdf_page.h | 10 | ||||
-rw-r--r-- | core/include/fpdfapi/fpdf_render.h | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/core/include/fpdfapi/fpdf_module.h b/core/include/fpdfapi/fpdf_module.h index e22b63e544..f68511cc77 100644 --- a/core/include/fpdfapi/fpdf_module.h +++ b/core/include/fpdfapi/fpdf_module.h @@ -24,7 +24,7 @@ class CPDF_Document; class CPDF_FontGlobals; class CPDF_Image; class CPDF_Page; -class CPDF_PageObjects; +class CPDF_PageObjectList; class CPDF_PageRenderCache; class CPDF_RenderConfig; class CPDF_RenderOptions; diff --git a/core/include/fpdfapi/fpdf_page.h b/core/include/fpdfapi/fpdf_page.h index 2ff8a0596b..20030e7dea 100644 --- a/core/include/fpdfapi/fpdf_page.h +++ b/core/include/fpdfapi/fpdf_page.h @@ -26,10 +26,10 @@ class CPDF_StreamContentParser; #define PDFTRANS_ISOLATED 0x0200 #define PDFTRANS_KNOCKOUT 0x0400 -class CPDF_PageObjects { +class CPDF_PageObjectList { public: - CPDF_PageObjects(); - ~CPDF_PageObjects(); + CPDF_PageObjectList(); + ~CPDF_PageObjectList(); void ContinueParse(IFX_Pause* pPause); @@ -96,7 +96,7 @@ class CPDF_PageObjects { CFX_PtrList m_ObjectList; }; -class CPDF_Page : public CPDF_PageObjects, public CFX_PrivateData { +class CPDF_Page : public CPDF_PageObjectList, public CFX_PrivateData { public: CPDF_Page(); ~CPDF_Page(); @@ -142,7 +142,7 @@ class CPDF_ParseOptions { FX_BOOL m_bDecodeInlineImage; }; -class CPDF_Form : public CPDF_PageObjects { +class CPDF_Form : public CPDF_PageObjectList { public: CPDF_Form(CPDF_Document* pDocument, CPDF_Dictionary* pPageResources, diff --git a/core/include/fpdfapi/fpdf_render.h b/core/include/fpdfapi/fpdf_render.h index 1c8a99ac7d..b4178a7f86 100644 --- a/core/include/fpdfapi/fpdf_render.h +++ b/core/include/fpdfapi/fpdf_render.h @@ -85,7 +85,7 @@ class CPDF_RenderContext { CPDF_RenderContext(CPDF_Document* pDoc, CPDF_PageRenderCache* pPageCache); ~CPDF_RenderContext(); - void AppendObjectList(CPDF_PageObjects* pObjs, + void AppendObjectList(CPDF_PageObjectList* pObjs, const CFX_Matrix* pObject2Device); void Render(CFX_RenderDevice* pDevice, @@ -93,7 +93,7 @@ class CPDF_RenderContext { const CFX_Matrix* pFinalMatrix = NULL); void DrawObjectList(CFX_RenderDevice* pDevice, - CPDF_PageObjects* pObjs, + CPDF_PageObjectList* pObjs, const CFX_Matrix* pObject2Device, const CPDF_RenderOptions* pOptions); |