summaryrefslogtreecommitdiff
path: root/core/fxge/include/fx_ge.h
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-08-04 17:22:14 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-04 17:22:14 -0700
commit26b86e625a2c9e0f4e6a01047fef051ffa81e40a (patch)
tree7960c029a579a3f40572cd6685b2d2851c9cf668 /core/fxge/include/fx_ge.h
parentff74356915d4c7f7c6eb16de1e9f403da4ecb6d5 (diff)
downloadpdfium-26b86e625a2c9e0f4e6a01047fef051ffa81e40a.tar.xz
Move CFX_GEModule into its own file
This is the first CL in an attempt to split up the classes in fxge/include/fx_ge.h into their own files. Review-Url: https://codereview.chromium.org/2217663002
Diffstat (limited to 'core/fxge/include/fx_ge.h')
-rw-r--r--core/fxge/include/fx_ge.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/core/fxge/include/fx_ge.h b/core/fxge/include/fx_ge.h
index 1550ee960e..53c6ccb744 100644
--- a/core/fxge/include/fx_ge.h
+++ b/core/fxge/include/fx_ge.h
@@ -22,37 +22,6 @@ class CPDF_ShadingPattern;
class IFX_RenderDeviceDriver;
class SkPictureRecorder;
-class CFX_GEModule {
- public:
- static CFX_GEModule* Get();
- static void Destroy();
-
- void Init(const char** pUserFontPaths, CCodec_ModuleMgr* pCodecModule);
- CFX_FontCache* GetFontCache();
- CFX_FontMgr* GetFontMgr() { return m_pFontMgr.get(); }
- void SetTextGamma(FX_FLOAT gammaValue);
- const uint8_t* GetTextGammaTable() const;
-
- CCodec_ModuleMgr* GetCodecModule() { return m_pCodecModule; }
- void* GetPlatformData() { return m_pPlatformData; }
-
- FXFT_Library m_FTLibrary;
-
- private:
- CFX_GEModule();
- ~CFX_GEModule();
-
- void InitPlatform();
- void DestroyPlatform();
-
- uint8_t m_GammaValue[256];
- CFX_FontCache* m_pFontCache;
- std::unique_ptr<CFX_FontMgr> m_pFontMgr;
- CCodec_ModuleMgr* m_pCodecModule;
- void* m_pPlatformData;
- const char** m_pUserFontPaths;
-};
-
struct FX_PATHPOINT {
FX_FLOAT m_PointX;
FX_FLOAT m_PointY;