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

Side by Side Diff: core/fxge/android/fx_android_font.h

Issue 2185533006: Splitting fx_ge_fontmap.cpp (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: IFX_SystemFontInfo in its own file Created 4 years, 4 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
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_FXGE_ANDROID_FX_ANDROID_FONT_H_ 7 #ifndef CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_
8 #define CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_ 8 #define CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_
9 9
10 #include "core/fxcrt/include/fx_system.h" 10 #include "core/fxcrt/include/fx_system.h"
11 11
12 #if _FX_OS_ == _FX_ANDROID_ 12 #if _FX_OS_ == _FX_ANDROID_
13 13
14 #include "core/fxge/include/ifx_systemfontinfo.h"
14 #include "core/fxge/include/fx_font.h" 15 #include "core/fxge/include/fx_font.h"
15 16
16 class CFPF_SkiaFontMgr; 17 class CFPF_SkiaFontMgr;
17 18
18 class CFX_AndroidFontInfo : public IFX_SystemFontInfo { 19 class CFX_AndroidFontInfo : public IFX_SystemFontInfo {
19 public: 20 public:
20 CFX_AndroidFontInfo(); 21 CFX_AndroidFontInfo();
21 ~CFX_AndroidFontInfo() override; 22 ~CFX_AndroidFontInfo() override;
22 23
23 FX_BOOL Init(CFPF_SkiaFontMgr* pFontMgr); 24 FX_BOOL Init(CFPF_SkiaFontMgr* pFontMgr);
(...skipping 16 matching lines...) Expand all
40 void DeleteFont(void* hFont) override; 41 void DeleteFont(void* hFont) override;
41 void* RetainFont(void* hFont) override; 42 void* RetainFont(void* hFont) override;
42 43
43 protected: 44 protected:
44 CFPF_SkiaFontMgr* m_pFontMgr; 45 CFPF_SkiaFontMgr* m_pFontMgr;
45 }; 46 };
46 47
47 #endif // _FX_OS_ == _FX_ANDROID_ 48 #endif // _FX_OS_ == _FX_ANDROID_
48 49
49 #endif // CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_ 50 #endif // CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_
OLDNEW
« BUILD.gn ('K') | « BUILD.gn ('k') | core/fxge/ge/cfx_folderfontinfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698