| OLD | NEW |
| 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_SKIAMODULE_H_ | 7 #ifndef CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ |
| 8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ | 8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ |
| 9 | 9 |
| 10 #if _FX_OS_ == _FX_ANDROID_ | 10 #if _FX_OS_ == _FX_ANDROID_ |
| 11 |
| 12 #include "../../../include/fxge/fpf.h" |
| 13 |
| 11 class CFPF_SkiaFontMgr; | 14 class CFPF_SkiaFontMgr; |
| 15 |
| 12 class CFPF_SkiaDeviceModule : public IFPF_DeviceModule { | 16 class CFPF_SkiaDeviceModule : public IFPF_DeviceModule { |
| 13 public: | 17 public: |
| 14 CFPF_SkiaDeviceModule() : m_pFontMgr(NULL) {} | 18 CFPF_SkiaDeviceModule() : m_pFontMgr(nullptr) {} |
| 15 virtual ~CFPF_SkiaDeviceModule(); | 19 ~CFPF_SkiaDeviceModule() override; |
| 16 virtual void Destroy(); | 20 |
| 17 virtual IFPF_FontMgr* GetFontMgr(); | 21 // IFPF_DeviceModule |
| 22 void Destroy() override; |
| 23 IFPF_FontMgr* GetFontMgr() override; |
| 18 | 24 |
| 19 protected: | 25 protected: |
| 20 CFPF_SkiaFontMgr* m_pFontMgr; | 26 CFPF_SkiaFontMgr* m_pFontMgr; |
| 21 }; | 27 }; |
| 22 #endif | 28 #endif |
| 23 | 29 |
| 24 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ | 30 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ |
| OLD | NEW |