From d9e1477c88692ac6eaf8bd20a573a2fdccb1ff41 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 11 Jun 2015 15:17:59 -0700 Subject: Remove trailing whitespaces in core. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1177973008. --- core/include/fpdfapi/fpdf_module.h | 8 +++---- core/include/fpdfapi/fpdf_objects.h | 12 +++++------ core/include/fpdfapi/fpdf_page.h | 8 +++---- core/include/fpdfapi/fpdf_pageobj.h | 16 +++++++------- core/include/fpdfapi/fpdf_parser.h | 20 +++++++++--------- core/include/fpdfapi/fpdf_render.h | 14 ++++++------- core/include/fpdfapi/fpdf_serial.h | 2 +- core/include/fpdfapi/fpdfapi.h | 2 +- core/include/fpdfdoc/fpdf_ap.h | 2 +- core/include/fpdfdoc/fpdf_tagged.h | 6 +++--- core/include/fpdfdoc/fpdf_vt.h | 2 +- core/include/fpdftext/fpdf_text.h | 10 ++++----- core/include/fxcodec/fx_codec.h | 22 +++++++++---------- core/include/fxcodec/fx_codec_def.h | 2 +- core/include/fxcodec/fx_codec_provider.h | 2 +- core/include/fxcrt/fx_arb.h | 2 +- core/include/fxcrt/fx_basic.h | 36 ++++++++++++++++---------------- core/include/fxcrt/fx_coordinates.h | 8 +++---- core/include/fxcrt/fx_ext.h | 2 +- core/include/fxcrt/fx_memory.h | 4 ++-- core/include/fxcrt/fx_ucd.h | 2 +- core/include/fxcrt/fx_xml.h | 8 +++---- core/include/fxge/fpf.h | 2 +- core/include/fxge/fx_dib.h | 14 ++++++------- core/include/fxge/fx_font.h | 22 +++++++++---------- core/include/fxge/fx_freetype.h | 2 +- core/include/fxge/fx_ge.h | 16 +++++++------- core/include/fxge/fx_ge_apple.h | 2 +- core/include/fxge/fx_ge_win32.h | 2 +- 29 files changed, 125 insertions(+), 125 deletions(-) (limited to 'core/include') diff --git a/core/include/fpdfapi/fpdf_module.h b/core/include/fpdfapi/fpdf_module.h index c7977b6183..31bdb45231 100644 --- a/core/include/fpdfapi/fpdf_module.h +++ b/core/include/fpdfapi/fpdf_module.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FPDFAPI_FPDF_MODULE_H_ @@ -41,7 +41,7 @@ class IPDF_FontMapper; #define ADDIN_NAME_CJK "Eastern Asian Language Support" #define ADDIN_NAME_DECODER "JPEG2000 and JBIG2 Image Decoders" -class CPDF_ModuleMgr +class CPDF_ModuleMgr { public: @@ -135,7 +135,7 @@ protected: CFX_PrivateData m_privateData; }; -class CPDF_PageModuleDef +class CPDF_PageModuleDef { public: virtual ~CPDF_PageModuleDef() {} @@ -162,7 +162,7 @@ public: return NULL; } }; -class CPDF_RenderModuleDef +class CPDF_RenderModuleDef { public: virtual ~CPDF_RenderModuleDef() {} diff --git a/core/include/fpdfapi/fpdf_objects.h b/core/include/fpdfapi/fpdf_objects.h index 5a30c8b45c..f2ace0bf50 100644 --- a/core/include/fpdfapi/fpdf_objects.h +++ b/core/include/fpdfapi/fpdf_objects.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ @@ -37,7 +37,7 @@ class IFX_FileRead; #define PDFOBJ_REFERENCE 9 typedef IFX_FileStream* (*FPDF_LPFCloneStreamCallback)(CPDF_Stream *pStream, void* pUserData); -class CPDF_Object +class CPDF_Object { public: @@ -70,7 +70,7 @@ public: CFX_ByteStringC GetConstString() const; - CFX_WideString GetUnicodeText(CFX_CharMap* pCharMap = NULL) const; + CFX_WideString GetUnicodeText(CFX_CharMap* pCharMap = NULL) const; FX_FLOAT GetNumber() const; FX_FLOAT GetNumber16() const; @@ -570,7 +570,7 @@ protected: friend class CPDF_StreamAcc; friend class CPDF_AttachmentAcc; }; -class CPDF_StreamAcc +class CPDF_StreamAcc { public: @@ -624,7 +624,7 @@ protected: }; CFX_DataFilter* FPDF_CreateFilter(const CFX_ByteStringC& name, const CPDF_Dictionary* pParam, int width = 0, int height = 0); #define FPDF_FILTER_BUFFER_SIZE 20480 -class CPDF_StreamFilter +class CPDF_StreamFilter { public: @@ -707,7 +707,7 @@ protected: FX_DWORD m_RefObjNum; friend class CPDF_Object; }; -class CPDF_IndirectObjects +class CPDF_IndirectObjects { public: diff --git a/core/include/fpdfapi/fpdf_page.h b/core/include/fpdfapi/fpdf_page.h index 959ed1382f..e766504ee1 100644 --- a/core/include/fpdfapi/fpdf_page.h +++ b/core/include/fpdfapi/fpdf_page.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ @@ -28,7 +28,7 @@ class CPDF_ResourceNaming; #define PDF_CONTENT_NOT_PARSED 0 #define PDF_CONTENT_PARSING 1 #define PDF_CONTENT_PARSED 2 -class CPDF_PageObjects +class CPDF_PageObjects { public: @@ -195,7 +195,7 @@ protected: CPDF_PageRenderCache* m_pPageRender; }; -class CPDF_ParseOptions +class CPDF_ParseOptions { public: @@ -225,7 +225,7 @@ public: CPDF_Form* Clone() const; }; -class CPDF_PageContentGenerate +class CPDF_PageContentGenerate { public: CPDF_PageContentGenerate(CPDF_Page* pPage); diff --git a/core/include/fpdfapi/fpdf_pageobj.h b/core/include/fpdfapi/fpdf_pageobj.h index 340c8d3b75..3414d36fbf 100644 --- a/core/include/fpdfapi/fpdf_pageobj.h +++ b/core/include/fpdfapi/fpdf_pageobj.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FPDFAPI_FPDF_PAGEOBJ_H_ @@ -97,7 +97,7 @@ public: return m_pObject->IsRect(); } }; -class CPDF_ClipPathData +class CPDF_ClipPathData { public: @@ -159,7 +159,7 @@ public: void Transform(const CFX_AffineMatrix& matrix); }; -class CPDF_ColorStateData +class CPDF_ColorStateData { public: @@ -206,7 +206,7 @@ class CPDF_GraphState : public CFX_CountRef { public: }; -class CPDF_TextStateData +class CPDF_TextStateData { public: @@ -265,7 +265,7 @@ public: }; class CPDF_TransferFunc; -class CPDF_GeneralStateData +class CPDF_GeneralStateData { public: @@ -334,7 +334,7 @@ public: return m_pObject ? FXSYS_round((bStroke ? m_pObject->m_StrokeAlpha : m_pObject->m_FillAlpha) * 255) : 255; } }; -class CPDF_ContentMarkItem +class CPDF_ContentMarkItem { public: @@ -386,7 +386,7 @@ private: void* m_pParam; }; -class CPDF_ContentMarkData +class CPDF_ContentMarkData { public: @@ -432,7 +432,7 @@ public: #define PDFPAGE_SHADING 4 #define PDFPAGE_FORM 5 #define PDFPAGE_INLINES 6 -class CPDF_GraphicStates +class CPDF_GraphicStates { public: diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h index f579527db4..0a08df8df9 100644 --- a/core/include/fpdfapi/fpdf_parser.h +++ b/core/include/fpdfapi/fpdf_parser.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ @@ -198,7 +198,7 @@ protected: #define PDFWORD_TEXT 2 #define PDFWORD_DELIMITER 3 #define PDFWORD_NAME 4 -class CPDF_SimpleParser +class CPDF_SimpleParser { public: @@ -237,7 +237,7 @@ private: FX_DWORD m_dwCurPos; }; -class CPDF_SyntaxParser +class CPDF_SyntaxParser { public: @@ -434,7 +434,7 @@ public: FX_DWORD GetInfoObjNum() ; CPDF_Array* GetIDArray() ; - CPDF_Dictionary* GetEncryptDict() + CPDF_Dictionary* GetEncryptDict() { return m_pEncryptDict; } @@ -580,7 +580,7 @@ protected: #define FXCIPHER_RC4 1 #define FXCIPHER_AES 2 #define FXCIPHER_AES2 3 -class CPDF_SecurityHandler +class CPDF_SecurityHandler { public: @@ -682,7 +682,7 @@ private: int m_KeyLen; }; -class CPDF_CryptoHandler +class CPDF_CryptoHandler { public: @@ -739,7 +739,7 @@ protected: uint8_t* m_pAESContext; }; -class CPDF_Point +class CPDF_Point { public: @@ -801,7 +801,7 @@ void FPDF_FileSpec_SetWin32Path(CPDF_Object* pFileSpec, const CFX_WideString& void FlateEncode(const uint8_t* src_buf, FX_DWORD src_size, uint8_t*& dest_buf, FX_DWORD& dest_size); FX_DWORD FlateDecode(const uint8_t* src_buf, FX_DWORD src_size, uint8_t*& dest_buf, FX_DWORD& dest_size); FX_DWORD RunLengthDecode(const uint8_t* src_buf, FX_DWORD src_size, uint8_t*& dest_buf, FX_DWORD& dest_size); -class CPDF_NumberTree +class CPDF_NumberTree { public: @@ -857,7 +857,7 @@ protected: IFX_FileAvail* m_pFileAvail; IFX_FileRead* m_pFileRead; }; -class CPDF_SortObjNumArray +class CPDF_SortObjNumArray { public: @@ -882,7 +882,7 @@ enum PDF_PAGENODE_TYPE { PDF_PAGENODE_PAGES, PDF_PAGENODE_ARRAY, }; -class CPDF_PageNode +class CPDF_PageNode { public: CPDF_PageNode() : m_type(PDF_PAGENODE_UNKOWN) {} diff --git a/core/include/fpdfapi/fpdf_render.h b/core/include/fpdfapi/fpdf_render.h index 2f03ae5bb7..c0792cfc35 100644 --- a/core/include/fpdfapi/fpdf_render.h +++ b/core/include/fpdfapi/fpdf_render.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_ @@ -53,7 +53,7 @@ public: #define RENDER_NOPATHSMOOTH 0x20000000 #define RENDER_NOIMAGESMOOTH 0x40000000 #define RENDER_LIMITEDIMAGECACHE 0x80000000 -class CPDF_RenderOptions +class CPDF_RenderOptions { public: @@ -79,7 +79,7 @@ public: FX_ARGB TranslateColor(FX_ARGB argb) const; }; -class CPDF_RenderContext +class CPDF_RenderContext { public: @@ -129,7 +129,7 @@ protected: friend class CPDF_RenderStatus; friend class CPDF_ProgressiveRenderer; }; -class CPDF_ProgressiveRenderer +class CPDF_ProgressiveRenderer { public: @@ -186,7 +186,7 @@ protected: void RenderStep(); }; -class CPDF_TextRenderer +class CPDF_TextRenderer { public: @@ -221,7 +221,7 @@ public: CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pText2Device, FX_ARGB fill_argb); }; -class CPDF_PageRenderCache +class CPDF_PageRenderCache { public: CPDF_PageRenderCache(CPDF_Page* pPage) @@ -279,7 +279,7 @@ protected: FX_DWORD m_nCacheSize; FX_BOOL m_bCurFindCache; }; -class CPDF_RenderConfig +class CPDF_RenderConfig { public: CPDF_RenderConfig(); diff --git a/core/include/fpdfapi/fpdf_serial.h b/core/include/fpdfapi/fpdf_serial.h index ada77a2075..ec89ec21d6 100644 --- a/core/include/fpdfapi/fpdf_serial.h +++ b/core/include/fpdfapi/fpdf_serial.h @@ -111,7 +111,7 @@ protected: #define FPDFCREATE_NO_ORIGINAL 2 #define FPDFCREATE_PROGRESSIVE 4 #define FPDFCREATE_OBJECTSTREAM 8 -class CPDF_Creator +class CPDF_Creator { public: diff --git a/core/include/fpdfapi/fpdfapi.h b/core/include/fpdfapi/fpdfapi.h index e432823c7a..00a0bb9952 100644 --- a/core/include/fpdfapi/fpdfapi.h +++ b/core/include/fpdfapi/fpdfapi.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FPDFAPI_FPDFAPI_H_ diff --git a/core/include/fpdfdoc/fpdf_ap.h b/core/include/fpdfdoc/fpdf_ap.h index 1d30ebbb0a..3385e58b81 100644 --- a/core/include/fpdfdoc/fpdf_ap.h +++ b/core/include/fpdfdoc/fpdf_ap.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FPDFDOC_FPDF_AP_H_ diff --git a/core/include/fpdfdoc/fpdf_tagged.h b/core/include/fpdfdoc/fpdf_tagged.h index 58f613bf96..706f5c04d7 100644 --- a/core/include/fpdfdoc/fpdf_tagged.h +++ b/core/include/fpdfdoc/fpdf_tagged.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FPDFDOC_FPDF_TAGGED_H_ @@ -14,7 +14,7 @@ class CPDF_StructTree; class IPDF_ReflowedPage; struct CPDF_StructKid; -class CPDF_StructTree +class CPDF_StructTree { public: @@ -66,7 +66,7 @@ struct CPDF_StructKid { } m_Object; }; }; -class CPDF_StructElement +class CPDF_StructElement { public: virtual ~CPDF_StructElement() { } diff --git a/core/include/fpdfdoc/fpdf_vt.h b/core/include/fpdfdoc/fpdf_vt.h index 7dbd154e89..3f14a46c98 100644 --- a/core/include/fpdfdoc/fpdf_vt.h +++ b/core/include/fpdfdoc/fpdf_vt.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FPDFDOC_FPDF_VT_H_ diff --git a/core/include/fpdftext/fpdf_text.h b/core/include/fpdftext/fpdf_text.h index 65c20b04b4..e0b5eb8929 100644 --- a/core/include/fpdftext/fpdf_text.h +++ b/core/include/fpdftext/fpdf_text.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FPDFTEXT_FPDF_TEXT_H_ @@ -56,7 +56,7 @@ typedef CFX_ArrayTemplate CFX_RectArray; #define FPDFTEXT_WRITINGMODE_LRTB 1 #define FPDFTEXT_WRITINGMODE_RLTB 2 #define FPDFTEXT_WRITINGMODE_TBRL 3 -class CPDFText_ParseOptions +class CPDFText_ParseOptions { public: @@ -65,7 +65,7 @@ public: FX_BOOL m_bNormalizeObjs; FX_BOOL m_bOutputHyphen; }; -class IPDF_TextPage +class IPDF_TextPage { public: @@ -127,7 +127,7 @@ public: #define FPDFTEXT_MATCHCASE 0x00000001 #define FPDFTEXT_MATCHWHOLEWORD 0x00000002 #define FPDFTEXT_CONSECUTIVE 0x00000004 -class IPDF_TextPageFind +class IPDF_TextPageFind { public: @@ -148,7 +148,7 @@ public: virtual int GetMatchedCount() const = 0; }; -class IPDF_LinkExtract +class IPDF_LinkExtract { public: diff --git a/core/include/fxcodec/fx_codec.h b/core/include/fxcodec/fx_codec.h index 75c7480b3d..43ac6966cf 100644 --- a/core/include/fxcodec/fx_codec.h +++ b/core/include/fxcodec/fx_codec.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXCODEC_FX_CODEC_H_ @@ -22,7 +22,7 @@ class ICodec_IccModule; class ICodec_FlateModule; class ICodec_Jbig2Encoder; class ICodec_ScanlineDecoder; -class CCodec_ModuleMgr +class CCodec_ModuleMgr { public: @@ -80,7 +80,7 @@ protected: ICodec_FlateModule* m_pFlateModule; }; -class ICodec_BasicModule +class ICodec_BasicModule { public: @@ -92,7 +92,7 @@ public: virtual ICodec_ScanlineDecoder* CreateRunLengthDecoder(const uint8_t* src_buf, FX_DWORD src_size, int width, int height, int nComps, int bpc) = 0; }; -class ICodec_ScanlineDecoder +class ICodec_ScanlineDecoder { public: @@ -118,7 +118,7 @@ public: virtual void ClearImageData() = 0; }; -class ICodec_FlateModule +class ICodec_FlateModule { public: @@ -133,7 +133,7 @@ public: uint8_t*& dest_buf, FX_DWORD& dest_size) = 0; virtual FX_BOOL Encode(const uint8_t* src_buf, FX_DWORD src_size, uint8_t*& dest_buf, FX_DWORD& dest_size) = 0; }; -class ICodec_FaxModule +class ICodec_FaxModule { public: @@ -146,7 +146,7 @@ public: virtual FX_BOOL Encode(const uint8_t* src_buf, int width, int height, int pitch, uint8_t*& dest_buf, FX_DWORD& dest_size) = 0; }; -class ICodec_JpegModule +class ICodec_JpegModule { public: @@ -181,7 +181,7 @@ public: virtual FX_DWORD GetAvailInput(void* pContext, uint8_t** avail_buf_ptr = NULL) = 0; }; -class ICodec_JpxModule +class ICodec_JpxModule { public: @@ -197,7 +197,7 @@ public: virtual void DestroyDecoder(void* ctx) = 0; }; -class ICodec_Jbig2Module +class ICodec_Jbig2Module { public: @@ -218,13 +218,13 @@ public: virtual FXCODEC_STATUS ContinueDecode(void* pJbig2Content, IFX_Pause* pPause) = 0; virtual void DestroyJbig2Context(void* pJbig2Content) = 0; }; -class ICodec_Jbig2Encoder +class ICodec_Jbig2Encoder { public: virtual ~ICodec_Jbig2Encoder() {} }; -class ICodec_IccModule +class ICodec_IccModule { public: typedef enum { diff --git a/core/include/fxcodec/fx_codec_def.h b/core/include/fxcodec/fx_codec_def.h index 86c059b2e9..a20fab2b8a 100644 --- a/core/include/fxcodec/fx_codec_def.h +++ b/core/include/fxcodec/fx_codec_def.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXCODEC_FX_CODEC_DEF_H_ diff --git a/core/include/fxcodec/fx_codec_provider.h b/core/include/fxcodec/fx_codec_provider.h index 20fd0c5357..8eb3712e08 100644 --- a/core/include/fxcodec/fx_codec_provider.h +++ b/core/include/fxcodec/fx_codec_provider.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXCODEC_FX_CODEC_PROVIDER_H_ diff --git a/core/include/fxcrt/fx_arb.h b/core/include/fxcrt/fx_arb.h index 220aec75c4..3485ce27bb 100644 --- a/core/include/fxcrt/fx_arb.h +++ b/core/include/fxcrt/fx_arb.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXCRT_FX_ARB_H_ diff --git a/core/include/fxcrt/fx_basic.h b/core/include/fxcrt/fx_basic.h index 3ae8b10510..35eacdfb0a 100644 --- a/core/include/fxcrt/fx_basic.h +++ b/core/include/fxcrt/fx_basic.h @@ -27,7 +27,7 @@ template char (&ArraySizeHelper(T (&array)[N]))[N]; -class CFX_BinaryBuf +class CFX_BinaryBuf { public: CFX_BinaryBuf(); @@ -155,7 +155,7 @@ public: CFX_WideStringC GetWideString() const; }; -class CFX_ArchiveSaver +class CFX_ArchiveSaver { public: CFX_ArchiveSaver() : m_pStream(NULL) {} @@ -198,7 +198,7 @@ protected: IFX_FileStream* m_pStream; }; -class CFX_ArchiveLoader +class CFX_ArchiveLoader { public: @@ -352,7 +352,7 @@ CFX_ByteString FX_UrlEncode(const CFX_WideString& wsUrl); CFX_WideString FX_UrlDecode(const CFX_ByteString& bsUrl); CFX_ByteString FX_EncodeURI(const CFX_WideString& wsURI); CFX_WideString FX_DecodeURI(const CFX_ByteString& bsURI); -class CFX_BasicArray +class CFX_BasicArray { protected: CFX_BasicArray(int unit_size); @@ -665,7 +665,7 @@ public: }; typedef CFX_ObjectArray CFX_ByteStringArray; typedef CFX_ObjectArray CFX_WideStringArray; -class CFX_BaseSegmentedArray +class CFX_BaseSegmentedArray { public: CFX_BaseSegmentedArray(int unit_size = 1, int segment_units = 512, int index_size = 8); @@ -734,7 +734,7 @@ public: } }; template -class CFX_FixedBufGrow +class CFX_FixedBufGrow { public: CFX_FixedBufGrow() : m_pData(NULL) @@ -773,7 +773,7 @@ private: DataType m_Data[FixedSize]; DataType* m_pData; }; -class CFX_MapPtrToPtr +class CFX_MapPtrToPtr { protected: @@ -890,7 +890,7 @@ public: rValue = (ValueType)(uintptr_t)pValue; } }; -class CFX_CMapDWordToDWord +class CFX_CMapDWordToDWord { public: @@ -907,7 +907,7 @@ protected: CFX_BinaryBuf m_Buffer; }; -class CFX_MapByteStringToPtr +class CFX_MapByteStringToPtr { protected: @@ -987,7 +987,7 @@ public: ~CFX_MapByteStringToPtr(); }; -class CFX_CMapByteStringToPtr +class CFX_CMapByteStringToPtr { public: CFX_CMapByteStringToPtr(); @@ -1015,7 +1015,7 @@ private: CFX_BaseSegmentedArray m_Buffer; }; -class CFX_PtrList +class CFX_PtrList { protected: @@ -1164,7 +1164,7 @@ protected: void AddData(void* module_id, void* pData, PD_CALLBACK_FREEDATA callback, FX_BOOL bSelfDestruct); }; -class CFX_BitStream +class CFX_BitStream { public: @@ -1197,7 +1197,7 @@ protected: const uint8_t* m_pData; }; -template class CFX_CountRef +template class CFX_CountRef { public: @@ -1338,7 +1338,7 @@ public: virtual ~IFX_Pause() { } virtual FX_BOOL NeedToPauseNow() = 0; }; -class CFX_DataFilter +class CFX_DataFilter { public: @@ -1413,7 +1413,7 @@ protected: }; #define FX_DATALIST_LENGTH 1024 template -class CFX_SortListArray +class CFX_SortListArray { protected: @@ -1524,7 +1524,7 @@ protected: CFX_ArrayTemplate m_DataLists; }; template -class CFX_ListArrayTemplate +class CFX_ListArrayTemplate { public: @@ -1565,7 +1565,7 @@ typedef enum { #define ProgressiveStatus FX_ProgressiveStatus #define FX_NAMESPACE_DECLARE(namespace, type) namespace::type -class CFX_Vector_3by1 +class CFX_Vector_3by1 { public: @@ -1581,7 +1581,7 @@ public: FX_FLOAT b; FX_FLOAT c; }; -class CFX_Matrix_3by3 +class CFX_Matrix_3by3 { public: diff --git a/core/include/fxcrt/fx_coordinates.h b/core/include/fxcrt/fx_coordinates.h index 779f1722b2..3689a4b270 100644 --- a/core/include/fxcrt/fx_coordinates.h +++ b/core/include/fxcrt/fx_coordinates.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXCRT_FX_COORDINATES_H_ @@ -18,7 +18,7 @@ template class CFX_ATemplate; template class CFX_RRTemplate; class CFX_Matrix; template -class CFX_PSVTemplate +class CFX_PSVTemplate { public: typedef CFX_PSVTemplate FXT_PSV; @@ -610,7 +610,7 @@ struct FX_SMALL_RECT { int16_t Bottom; }; -class CFX_FloatRect +class CFX_FloatRect { public: @@ -755,7 +755,7 @@ public: FX_FLOAT top; }; -class CFX_Matrix +class CFX_Matrix { public: diff --git a/core/include/fxcrt/fx_ext.h b/core/include/fxcrt/fx_ext.h index 4e1525a1a0..03a9d0d820 100644 --- a/core/include/fxcrt/fx_ext.h +++ b/core/include/fxcrt/fx_ext.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXCRT_FX_EXT_H_ diff --git a/core/include/fxcrt/fx_memory.h b/core/include/fxcrt/fx_memory.h index 93403302a1..3c6920171e 100644 --- a/core/include/fxcrt/fx_memory.h +++ b/core/include/fxcrt/fx_memory.h @@ -70,13 +70,13 @@ inline void* FX_ReallocOrDie(void* ptr, size_t num_members, size_t member_size) #define FX_Free(ptr) free(ptr) -class CFX_DestructObject +class CFX_DestructObject { public: virtual ~CFX_DestructObject() {} }; -class CFX_GrowOnlyPool +class CFX_GrowOnlyPool { public: diff --git a/core/include/fxcrt/fx_ucd.h b/core/include/fxcrt/fx_ucd.h index e764d9fd97..7b730bb81a 100644 --- a/core/include/fxcrt/fx_ucd.h +++ b/core/include/fxcrt/fx_ucd.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXCRT_FX_UCD_H_ diff --git a/core/include/fxcrt/fx_xml.h b/core/include/fxcrt/fx_xml.h index fb24f61b13..ba33b2083a 100644 --- a/core/include/fxcrt/fx_xml.h +++ b/core/include/fxcrt/fx_xml.h @@ -9,14 +9,14 @@ #include "fx_basic.h" -class CXML_AttrItem +class CXML_AttrItem { public: CFX_ByteString m_QSpaceName; CFX_ByteString m_AttrName; CFX_WideString m_Value; }; -class CXML_AttrMap +class CXML_AttrMap { public: CXML_AttrMap() @@ -35,7 +35,7 @@ public: CXML_AttrItem& GetAt(int index) const; CFX_ObjectArray* m_pMap; }; -class CXML_Content +class CXML_Content { public: CXML_Content() : m_bCDATA(FALSE), m_Content() {} @@ -47,7 +47,7 @@ public: FX_BOOL m_bCDATA; CFX_WideString m_Content; }; -class CXML_Element +class CXML_Element { public: static CXML_Element* Parse(const void* pBuffer, size_t size, FX_BOOL bSaveSpaceChars = FALSE, FX_FILESIZE* pParsedSize = NULL); diff --git a/core/include/fxge/fpf.h b/core/include/fxge/fpf.h index e288d1847b..9ff294ebcb 100644 --- a/core/include/fxge/fpf.h +++ b/core/include/fxge/fpf.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXGE_FPF_H_ diff --git a/core/include/fxge/fx_dib.h b/core/include/fxge/fx_dib.h index 50dd3e9eed..290c30a678 100644 --- a/core/include/fxge/fx_dib.h +++ b/core/include/fxge/fx_dib.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXGE_FX_DIB_H_ @@ -136,7 +136,7 @@ FX_ARGB ArgbEncode(int a, FX_COLORREF rgb); #define FXSETFLAG_COLORTYPE(flag, val) flag = (((val)<<8)|(flag&0xffff00ff)) #define FXSETFLAG_ALPHA_FILL(flag, val) flag = ((val)|(flag&0xffffff00)) #define FXSETFLAG_ALPHA_STROKE(flag, val) flag = (((val)<<16)|(flag&0xff00ffff)) -class CFX_DIBSource +class CFX_DIBSource { public: @@ -353,7 +353,7 @@ protected: FX_BOOL GetGrayData(void* pIccTransform = NULL); }; -class CFX_DIBExtractor +class CFX_DIBExtractor { public: @@ -408,7 +408,7 @@ public: virtual FX_BOOL SetInfo(int width, int height, FXDIB_Format src_format, FX_DWORD* pSrcPalette) = 0; }; -class CFX_ScanlineCompositor +class CFX_ScanlineCompositor { public: CFX_ScanlineCompositor(); @@ -514,7 +514,7 @@ private: CFX_DIBitmap* m_pBitmap; }; class CStretchEngine; -class CFX_ImageStretcher +class CFX_ImageStretcher { public: @@ -551,7 +551,7 @@ public: int32_t ContinueStretch(IFX_Pause* pPause); }; -class CFX_ImageTransformer +class CFX_ImageTransformer { public: @@ -572,7 +572,7 @@ public: FX_DWORD m_Flags; int m_Status; }; -class CFX_ImageRenderer +class CFX_ImageRenderer { public: diff --git a/core/include/fxge/fx_font.h b/core/include/fxge/fx_font.h index 29cc5df13d..365d57c707 100644 --- a/core/include/fxge/fx_font.h +++ b/core/include/fxge/fx_font.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXGE_FX_FONT_H_ @@ -48,7 +48,7 @@ class CFontFileFaceInfo; #define FXFONT_FF_SCRIPT (4<<4) #define FXFONT_FW_NORMAL 400 #define FXFONT_FW_BOLD 700 -class CFX_Font +class CFX_Font { public: CFX_Font(); @@ -143,7 +143,7 @@ protected: }; #define ENCODING_INTERNAL 0 #define ENCODING_UNICODE 1 -class IFX_FontEncoding +class IFX_FontEncoding { public: virtual ~IFX_FontEncoding() {} @@ -162,7 +162,7 @@ IFX_FontEncoding* FXGE_CreateUnicodeEncoding(CFX_Font* pFont); #define FXFONT_SUBST_NONSYMBOL 0x20 #define FXFONT_SUBST_EXACT 0x40 #define FXFONT_SUBST_STANDARD 0x80 -class CFX_SubstFont +class CFX_SubstFont { public: @@ -197,7 +197,7 @@ typedef struct { const uint8_t* m_pFontData; FX_DWORD m_dwSize; } FoxitFonts; -class CFX_FontMgr +class CFX_FontMgr { public: CFX_FontMgr(); @@ -227,7 +227,7 @@ public: FXFT_Library m_FTLibrary; FoxitFonts m_ExternalFonts[16]; }; -class IFX_FontMapper +class IFX_FontMapper { public: @@ -291,7 +291,7 @@ private: FXFT_Face m_FoxitFaces[14]; IFX_FontEnumerator* m_pFontEnumerator; }; -class IFX_SystemFontInfo +class IFX_SystemFontInfo { public: static IFX_SystemFontInfo* CreateDefault(); @@ -337,14 +337,14 @@ protected: void ScanFile(CFX_ByteString& path); void ReportFace(CFX_ByteString& path, FXSYS_FILE* pFile, FX_DWORD filesize, FX_DWORD offset); }; -class CFX_CountedFaceCache +class CFX_CountedFaceCache { public: CFX_FaceCache* m_Obj; FX_DWORD m_nCount; }; typedef CFX_MapPtrTemplate CFX_FTCacheMap; -class CFX_FontCache +class CFX_FontCache { public: ~CFX_FontCache(); @@ -372,14 +372,14 @@ public: CFX_Font* m_pFont; }; #define FX_FONTCACHE_DEFINE(pFontCache, pFont) CFX_AutoFontCache autoFontCache((pFontCache), (pFont)) -class CFX_GlyphBitmap +class CFX_GlyphBitmap { public: int m_Top; int m_Left; CFX_DIBitmap m_Bitmap; }; -class CFX_FaceCache +class CFX_FaceCache { public: ~CFX_FaceCache(); diff --git a/core/include/fxge/fx_freetype.h b/core/include/fxge/fx_freetype.h index 6975ead298..77f30d51a4 100644 --- a/core/include/fxge/fx_freetype.h +++ b/core/include/fxge/fx_freetype.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXGE_FX_FREETYPE_H_ diff --git a/core/include/fxge/fx_ge.h b/core/include/fxge/fx_ge.h index 46ff0c30f8..a0c0ca5a2b 100644 --- a/core/include/fxge/fx_ge.h +++ b/core/include/fxge/fx_ge.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXGE_FX_GE_H_ @@ -22,7 +22,7 @@ class IFX_RenderDeviceDriver; class CCodec_ModuleMgr; class IFXG_PaintModuleMgr; -class CFX_GEModule +class CFX_GEModule { public: @@ -86,7 +86,7 @@ typedef struct { #define FXPT_TYPE 0x06 #define FXFILL_ALTERNATE 1 #define FXFILL_WINDING 2 -class CFX_ClipRgn +class CFX_ClipRgn { public: @@ -145,7 +145,7 @@ inline FX_ARGB ArgbGammaInverse(FX_ARGB argb) { return argb; } -class CFX_PathData +class CFX_PathData { public: @@ -218,7 +218,7 @@ protected: int m_AllocCount; }; -class CFX_GraphStateData +class CFX_GraphStateData { public: @@ -301,7 +301,7 @@ typedef struct { FX_DWORD m_ExtGID; FX_BOOL m_bFontStyle; } FXTEXT_CHARPOS; -class CFX_RenderDevice +class CFX_RenderDevice { public: CFX_RenderDevice(); @@ -501,7 +501,7 @@ protected: FX_BOOL m_bOwnedBitmap; }; -class IFX_RenderDeviceDriver +class IFX_RenderDeviceDriver { public: @@ -640,7 +640,7 @@ protected: ~IFX_PSOutput() { } }; class CPSFont; -class CFX_PSRenderer +class CFX_PSRenderer { public: diff --git a/core/include/fxge/fx_ge_apple.h b/core/include/fxge/fx_ge_apple.h index b22d31fa9f..0fb8bedcfc 100644 --- a/core/include/fxge/fx_ge_apple.h +++ b/core/include/fxge/fx_ge_apple.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXGE_FX_GE_APPLE_H_ diff --git a/core/include/fxge/fx_ge_win32.h b/core/include/fxge/fx_ge_win32.h index 57f30f7d35..5b16146b6a 100644 --- a/core/include/fxge/fx_ge_win32.h +++ b/core/include/fxge/fx_ge_win32.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXGE_FX_GE_WIN32_H_ -- cgit v1.2.3