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

Side by Side Diff: core/src/fxge/android/fpf_skiafontmgr.h

Issue 1162013003: Merge to XFA: Fix ALL the include guards. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Re-upload. Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « core/src/fxge/android/fpf_skiafont.h ('k') | core/src/fxge/android/fpf_skiamodule.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef _FPF_SKIA_FONTMGR_H_ 7 #ifndef CORE_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_
8 #define _FPF_SKIA_FONTMGR_H_ 8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_
9
9 #if _FX_OS_ == _FX_ANDROID_ 10 #if _FX_OS_ == _FX_ANDROID_
10 #define FPF_SKIAFONTTYPE_Unknown 0 11 #define FPF_SKIAFONTTYPE_Unknown 0
11 #define FPF_SKIAFONTTYPE_Path 1 12 #define FPF_SKIAFONTTYPE_Path 1
12 #define FPF_SKIAFONTTYPE_File 2 13 #define FPF_SKIAFONTTYPE_File 2
13 #define FPF_SKIAFONTTYPE_Buffer 3 14 #define FPF_SKIAFONTTYPE_Buffer 3
14 class CFPF_SkiaFontDescriptor 15 class CFPF_SkiaFontDescriptor
15 { 16 {
16 public: 17 public:
17 CFPF_SkiaFontDescriptor() : m_pFamily(NULL), m_dwStyle(0), m_iFaceIndex(0), m_dwCharsets(0), m_iGlyphNum(0) {} 18 CFPF_SkiaFontDescriptor() : m_pFamily(NULL), m_dwStyle(0), m_iFaceIndex(0), m_dwCharsets(0), m_iGlyphNum(0) {}
18 virtual ~CFPF_SkiaFontDescriptor() 19 virtual ~CFPF_SkiaFontDescriptor()
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 void ScanPath(FX_BSTR path); 108 void ScanPath(FX_BSTR path);
108 void ScanFile(FX_BSTR file); 109 void ScanFile(FX_BSTR file);
109 void ReportFace(FXFT_Face face, CFPF_SkiaFont Descriptor *pFontDesc); 110 void ReportFace(FXFT_Face face, CFPF_SkiaFont Descriptor *pFontDesc);
110 void OutputSystemFonts(); 111 void OutputSystemFonts();
111 FX_BOOL m_bLoaded; 112 FX_BOOL m_bLoaded;
112 CFX_PtrArray m_FontFaces; 113 CFX_PtrArray m_FontFaces;
113 FXFT_Library m_FTLibrary; 114 FXFT_Library m_FTLibrary;
114 CFX_MapPtrToPtr m_FamilyFonts; 115 CFX_MapPtrToPtr m_FamilyFonts;
115 }; 116 };
116 #endif 117 #endif
117 #endif 118
119 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_
OLDNEW
« no previous file with comments | « core/src/fxge/android/fpf_skiafont.h ('k') | core/src/fxge/android/fpf_skiamodule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698