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

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

Issue 1881043004: Cleanup IFPF_* interfaces. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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_FPF_SKIAMODULE_H_ 7 #ifndef CORE_FXGE_ANDROID_FPF_SKIAMODULE_H_
8 #define CORE_FXGE_ANDROID_FPF_SKIAMODULE_H_ 8 #define CORE_FXGE_ANDROID_FPF_SKIAMODULE_H_
9 9
10 #include "core/fxcrt/include/fx_system.h'"
11
10 #if _FX_OS_ == _FX_ANDROID_ 12 #if _FX_OS_ == _FX_ANDROID_
11 13
12 #include "core/fxge/include/fpf.h" 14 #include "core/fxge/android/fpf_skiafontmgr.h"
13 15
14 class CFPF_SkiaFontMgr; 16 class CFPF_SkiaFontMgr;
15 17
16 class CFPF_SkiaDeviceModule : public IFPF_DeviceModule { 18 class CFPF_SkiaDeviceModule {
17 public: 19 public:
18 CFPF_SkiaDeviceModule() : m_pFontMgr(nullptr) {} 20 CFPF_SkiaDeviceModule() : m_pFontMgr(nullptr) {}
19 ~CFPF_SkiaDeviceModule() override; 21 ~CFPF_SkiaDeviceModule();
20 22
21 // IFPF_DeviceModule 23 void Destroy();
22 void Destroy() override; 24 CFPF_SkiaFontMgr* GetFontMgr();
23 IFPF_FontMgr* GetFontMgr() override;
24 25
25 protected: 26 protected:
26 CFPF_SkiaFontMgr* m_pFontMgr; 27 CFPF_SkiaFontMgr* m_pFontMgr;
27 }; 28 };
28 #endif 29
30 CFPF_SkiaDeviceModule* CFPF_GetSkiaDeviceModule();
31
32 #endif // _FX_OS_ == _FX_ANDROID_
29 33
30 #endif // CORE_FXGE_ANDROID_FPF_SKIAMODULE_H_ 34 #endif // CORE_FXGE_ANDROID_FPF_SKIAMODULE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698