diff options
author | dan sinclair <dsinclair@chromium.org> | 2016-02-27 08:53:48 -0500 |
---|---|---|
committer | dan sinclair <dsinclair@chromium.org> | 2016-02-27 08:53:48 -0500 |
commit | 06f49c808a23d0ce9f89fd7fa6552a0f0ee96bbb (patch) | |
tree | dfeadd4e7851b25cbdb6430af7cb421650681660 /core/include/fpdfapi | |
parent | 330a7037a2b6ef329c18cac39d895ef42c2b793e (diff) | |
download | pdfium-06f49c808a23d0ce9f89fd7fa6552a0f0ee96bbb.tar.xz |
Cleanup forward declarations.
This CL removes duplicate forward declarations, removes extraneous declarations
and adds a couple of missing declarations.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1741003002 .
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r-- | core/include/fpdfapi/fpdf_module.h | 8 | ||||
-rw-r--r-- | core/include/fpdfapi/fpdf_objects.h | 3 | ||||
-rw-r--r-- | core/include/fpdfapi/fpdf_page.h | 3 | ||||
-rw-r--r-- | core/include/fpdfapi/fpdf_render.h | 5 | ||||
-rw-r--r-- | core/include/fpdfapi/fpdf_resource.h | 2 | ||||
-rw-r--r-- | core/include/fpdfapi/fpdf_serial.h | 1 |
6 files changed, 1 insertions, 21 deletions
diff --git a/core/include/fpdfapi/fpdf_module.h b/core/include/fpdfapi/fpdf_module.h index dffef9606e..e8cbb0d201 100644 --- a/core/include/fpdfapi/fpdf_module.h +++ b/core/include/fpdfapi/fpdf_module.h @@ -13,27 +13,19 @@ #include "core/include/fxcrt/fx_system.h" class CCodec_ModuleMgr; -class CFX_BitmapDevice; -class CFX_DIBSource; -class CFX_Matrix; class CPDF_ColorSpace; -class CPDF_Dictionary; class CPDF_DocPageData; class CPDF_DocRenderData; class CPDF_Document; class CPDF_FontGlobals; -class CPDF_Image; class CPDF_Page; class CPDF_PageRenderCache; -class CPDF_RenderOptions; -class CPDF_Stream; class ICodec_FaxModule; class ICodec_FlateModule; class ICodec_IccModule; class ICodec_Jbig2Module; class ICodec_JpegModule; class ICodec_JpxModule; -class IPDF_FontMapper; class IPDF_PageModule; class IPDF_RenderModule; diff --git a/core/include/fpdfapi/fpdf_objects.h b/core/include/fpdfapi/fpdf_objects.h index 5791b7e6b3..238f57de59 100644 --- a/core/include/fpdfapi/fpdf_objects.h +++ b/core/include/fpdfapi/fpdf_objects.h @@ -15,9 +15,7 @@ class CPDF_Array; class CPDF_Boolean; -class CPDF_CryptoHandler; class CPDF_Dictionary; -class CPDF_Document; class CPDF_IndirectObjectHolder; class CPDF_Name; class CPDF_Null; @@ -26,7 +24,6 @@ class CPDF_Parser; class CPDF_Reference; class CPDF_Stream; class CPDF_StreamAcc; -class CPDF_StreamFilter; class CPDF_String; class IFX_FileRead; diff --git a/core/include/fpdfapi/fpdf_page.h b/core/include/fpdfapi/fpdf_page.h index 973a28030f..4c880525f1 100644 --- a/core/include/fpdfapi/fpdf_page.h +++ b/core/include/fpdfapi/fpdf_page.h @@ -19,10 +19,9 @@ class CPDF_Form; class CPDF_ParseOptions; class CPDF_PageObject; class CPDF_PageRenderCache; -class CPDF_StreamFilter; class CPDF_AllStates; class CPDF_ContentParser; -class CPDF_StreamContentParser; +class CPDF_ImageObject; #define PDFTRANS_GROUP 0x0100 #define PDFTRANS_ISOLATED 0x0200 diff --git a/core/include/fpdfapi/fpdf_render.h b/core/include/fpdfapi/fpdf_render.h index cc9b9413ea..298e5e2fc7 100644 --- a/core/include/fpdfapi/fpdf_render.h +++ b/core/include/fpdfapi/fpdf_render.h @@ -16,13 +16,8 @@ class CFX_GraphStateData; class CFX_PathData; class CFX_RenderDevice; -class CPDF_FormObject; class CPDF_ImageCacheEntry; -class CPDF_ImageObject; -class CPDF_PathObject; class CPDF_RenderStatus; -class CPDF_ShadingObject; -class CPDF_TextObject; class IFX_Pause; class IPDF_OCContext { diff --git a/core/include/fpdfapi/fpdf_resource.h b/core/include/fpdfapi/fpdf_resource.h index 7dbc3fd618..393a9cc0bf 100644 --- a/core/include/fpdfapi/fpdf_resource.h +++ b/core/include/fpdfapi/fpdf_resource.h @@ -22,12 +22,10 @@ class CPDF_CIDFont; class CPDF_CMap; class CPDF_Color; class CPDF_ColorSpace; -class CPDF_Face; class CPDF_FontEncoding; class CPDF_Form; class CPDF_Function; class CPDF_Image; -class CPDF_ImageObject; class CPDF_Page; class CPDF_Pattern; class CPDF_RenderContext; diff --git a/core/include/fpdfapi/fpdf_serial.h b/core/include/fpdfapi/fpdf_serial.h index 5f493c4365..ccbea36404 100644 --- a/core/include/fpdfapi/fpdf_serial.h +++ b/core/include/fpdfapi/fpdf_serial.h @@ -10,7 +10,6 @@ #include "core/include/fpdfapi/fpdf_page.h" #include "core/include/fpdfapi/fpdf_pageobj.h" -class CPDF_ObjectStream; class CPDF_XRefStream; CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& buf, const CPDF_Object* pObj); |