Chromium Code Reviews| 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_FXGE_ANDROID_FPF_SKIAFONT_H_ | 7 #ifndef CORE_FXGE_ANDROID_FPF_SKIAFONT_H_ |
| 8 #define CORE_FXGE_ANDROID_FPF_SKIAFONT_H_ | 8 #define CORE_FXGE_ANDROID_FPF_SKIAFONT_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/fx_system.h" | 10 #include "core/fxcrt/fx_system.h" |
| 11 | 11 |
|
Lei Zhang
2016/10/14 19:46:05
get rid of the blink line now
npm
2016/10/17 15:02:25
Done.
| |
| 12 #if _FX_OS_ == _FX_ANDROID_ | |
| 13 | |
| 14 #include "core/fxge/fx_font.h" | 12 #include "core/fxge/fx_font.h" |
| 15 | 13 |
| 16 class CFPF_SkiaFontDescriptor; | 14 class CFPF_SkiaFontDescriptor; |
| 17 class CFPF_SkiaFontMgr; | 15 class CFPF_SkiaFontMgr; |
| 18 | 16 |
| 19 class CFPF_SkiaFont { | 17 class CFPF_SkiaFont { |
| 20 public: | 18 public: |
| 21 CFPF_SkiaFont(); | 19 CFPF_SkiaFont(); |
| 22 ~CFPF_SkiaFont(); | 20 ~CFPF_SkiaFont(); |
| 23 | 21 |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 46 | 44 |
| 47 protected: | 45 protected: |
| 48 CFPF_SkiaFontMgr* m_pFontMgr; | 46 CFPF_SkiaFontMgr* m_pFontMgr; |
| 49 CFPF_SkiaFontDescriptor* m_pFontDes; | 47 CFPF_SkiaFontDescriptor* m_pFontDes; |
| 50 FXFT_Face m_Face; | 48 FXFT_Face m_Face; |
| 51 uint32_t m_dwStyle; | 49 uint32_t m_dwStyle; |
| 52 uint8_t m_uCharset; | 50 uint8_t m_uCharset; |
| 53 uint32_t m_dwRefCount; | 51 uint32_t m_dwRefCount; |
| 54 }; | 52 }; |
| 55 | 53 |
| 56 #endif // _FX_OS_ == _FX_ANDROID_ | |
| 57 | |
| 58 #endif // CORE_FXGE_ANDROID_FPF_SKIAFONT_H_ | 54 #endif // CORE_FXGE_ANDROID_FPF_SKIAFONT_H_ |
| OLD | NEW |