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

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

Issue 1748803002: Remove fx_fpf.h and IWYU (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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.cpp ('k') | core/src/fxge/android/fpf_skiafontmgr.cpp » ('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 CORE_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_ 7 #ifndef CORE_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_
8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_ 8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_
9 9
10 #include "core/include/fxcrt/fx_system.h"
11
10 #if _FX_OS_ == _FX_ANDROID_ 12 #if _FX_OS_ == _FX_ANDROID_
11 13
12 #include <map> 14 #include <map>
13 #include <vector> 15 #include <vector>
14 16
15 #include "core/include/fxge/fpf.h" 17 #include "core/include/fxge/fpf.h"
18 #include "core/include/fxge/fx_font.h"
16 19
17 #define FPF_SKIAFONTTYPE_Unknown 0 20 #define FPF_SKIAFONTTYPE_Unknown 0
18 #define FPF_SKIAFONTTYPE_Path 1 21 #define FPF_SKIAFONTTYPE_Path 1
19 #define FPF_SKIAFONTTYPE_File 2 22 #define FPF_SKIAFONTTYPE_File 2
20 #define FPF_SKIAFONTTYPE_Buffer 3 23 #define FPF_SKIAFONTTYPE_Buffer 3
21 24
22 class CFPF_SkiaFont; 25 class CFPF_SkiaFont;
23 26
24 class CFPF_SkiaFontDescriptor { 27 class CFPF_SkiaFontDescriptor {
25 public: 28 public:
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 118
116 FX_BOOL m_bLoaded; 119 FX_BOOL m_bLoaded;
117 FXFT_Library m_FTLibrary; 120 FXFT_Library m_FTLibrary;
118 std::vector<CFPF_SkiaFontDescriptor*> m_FontFaces; 121 std::vector<CFPF_SkiaFontDescriptor*> m_FontFaces;
119 std::map<FX_DWORD, CFPF_SkiaFont*> m_FamilyFonts; 122 std::map<FX_DWORD, CFPF_SkiaFont*> m_FamilyFonts;
120 }; 123 };
121 124
122 #endif 125 #endif
123 126
124 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_ 127 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_
OLDNEW
« no previous file with comments | « core/src/fxge/android/fpf_skiafont.cpp ('k') | core/src/fxge/android/fpf_skiafontmgr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698