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

Side by Side Diff: core/fxge/ge/cfx_folderfontinfo.h

Issue 2377393002: Move core/fxge/include to core/fxge (Closed)
Patch Set: Rebase to master Created 4 years, 2 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/fxge/ge/cfx_facecache.cpp ('k') | core/fxge/ge/cfx_folderfontinfo.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_FXGE_GE_CFX_FOLDERFONTINFO_H_ 7 #ifndef CORE_FXGE_GE_CFX_FOLDERFONTINFO_H_
8 #define CORE_FXGE_GE_CFX_FOLDERFONTINFO_H_ 8 #define CORE_FXGE_GE_CFX_FOLDERFONTINFO_H_
9 9
10 #include <map> 10 #include <map>
11 #include <vector> 11 #include <vector>
12 12
13 #include "core/fxge/include/cfx_fontmapper.h" 13 #include "core/fxge/cfx_fontmapper.h"
14 #include "core/fxge/include/fx_font.h" 14 #include "core/fxge/fx_font.h"
15 #include "core/fxge/include/ifx_systemfontinfo.h" 15 #include "core/fxge/ifx_systemfontinfo.h"
16 16
17 class CFX_FolderFontInfo : public IFX_SystemFontInfo { 17 class CFX_FolderFontInfo : public IFX_SystemFontInfo {
18 public: 18 public:
19 CFX_FolderFontInfo(); 19 CFX_FolderFontInfo();
20 ~CFX_FolderFontInfo() override; 20 ~CFX_FolderFontInfo() override;
21 21
22 void AddPath(const CFX_ByteStringC& path); 22 void AddPath(const CFX_ByteStringC& path);
23 23
24 // IFX_SytemFontInfo: 24 // IFX_SytemFontInfo:
25 FX_BOOL EnumFontList(CFX_FontMapper* pMapper) override; 25 FX_BOOL EnumFontList(CFX_FontMapper* pMapper) override;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 int pitch_family, 58 int pitch_family,
59 const FX_CHAR* family, 59 const FX_CHAR* family,
60 FX_BOOL bMatchName); 60 FX_BOOL bMatchName);
61 61
62 std::map<CFX_ByteString, CFX_FontFaceInfo*> m_FontList; 62 std::map<CFX_ByteString, CFX_FontFaceInfo*> m_FontList;
63 std::vector<CFX_ByteString> m_PathList; 63 std::vector<CFX_ByteString> m_PathList;
64 CFX_FontMapper* m_pMapper; 64 CFX_FontMapper* m_pMapper;
65 }; 65 };
66 66
67 #endif // CORE_FXGE_GE_CFX_FOLDERFONTINFO_H_ 67 #endif // CORE_FXGE_GE_CFX_FOLDERFONTINFO_H_
OLDNEW
« no previous file with comments | « core/fxge/ge/cfx_facecache.cpp ('k') | core/fxge/ge/cfx_folderfontinfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698