From c2c3f7b5f0396409451a9d344f35ec1929a76e9f Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 14 Aug 2015 14:07:43 -0700 Subject: Use override in more classes in core/ R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1292613003 . --- core/include/fxge/fx_ge.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'core/include/fxge/fx_ge.h') diff --git a/core/include/fxge/fx_ge.h b/core/include/fxge/fx_ge.h index ef3c8f665e..4cfe622007 100644 --- a/core/include/fxge/fx_ge.h +++ b/core/include/fxge/fx_ge.h @@ -10,17 +10,12 @@ #include "fx_dib.h" #include "fx_font.h" -class CFX_ClipRgn; -class CFX_PathData; -class CFX_GraphStateData; class CFX_Font; class CFX_FontMgr; class CFX_FontCache; class CFX_FaceCache; -class CFX_RenderDevice; class IFX_RenderDeviceDriver; class CCodec_ModuleMgr; -class IFXG_PaintModuleMgr; class CFX_GEModule { public: @@ -435,8 +430,7 @@ class CFX_RenderDevice { class CFX_FxgeDevice : public CFX_RenderDevice { public: CFX_FxgeDevice(); - - ~CFX_FxgeDevice(); + ~CFX_FxgeDevice() override; FX_BOOL Attach(CFX_DIBitmap* pBitmap, int dither_bits = 0, @@ -456,8 +450,7 @@ class CFX_FxgeDevice : public CFX_RenderDevice { class CFX_SkiaDevice : public CFX_RenderDevice { public: CFX_SkiaDevice(); - - ~CFX_SkiaDevice(); + ~CFX_SkiaDevice() override; FX_BOOL Attach(CFX_DIBitmap* pBitmap, int dither_bits = 0, @@ -474,6 +467,7 @@ class CFX_SkiaDevice : public CFX_RenderDevice { protected: FX_BOOL m_bOwnedBitmap; }; + class IFX_RenderDeviceDriver { public: static IFX_RenderDeviceDriver* CreateFxgeDriver( @@ -613,14 +607,16 @@ class IFX_RenderDeviceDriver { virtual void ClearDriver() {} }; + class IFX_PSOutput { public: virtual void Release() = 0; virtual void OutputPS(const FX_CHAR* string, int len) = 0; protected: - ~IFX_PSOutput() {} + virtual ~IFX_PSOutput() {} }; + class CPSFont; class CFX_PSRenderer { public: -- cgit v1.2.3