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/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 +- 7 files changed, 30 insertions(+), 30 deletions(-) (limited to 'core/include/fxge') 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