diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-26 20:25:18 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-26 20:25:18 +0000 |
commit | 2cae3e26526a8aeef5744665589d1bfaf5efe6f3 (patch) | |
tree | c93e98db9f90d07158e2e2d2311e6b70d5f98cb6 /xfa/fxgraphics/cxfa_graphics.h | |
parent | 7df950ac2ef484880fe3cbfb9961bed34fee191d (diff) | |
download | pdfium-2cae3e26526a8aeef5744665589d1bfaf5efe6f3.tar.xz |
Forward declare a bunch of classes.
Then do IWYU to fix up build errors. Move some implementations out of
headers to allow more forward declarations.
Change-Id: Idbeb978705a21cd6fb710ca9f5e99b4ea7d93ec5
Reviewed-on: https://pdfium-review.googlesource.com/c/44632
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxgraphics/cxfa_graphics.h')
-rw-r--r-- | xfa/fxgraphics/cxfa_graphics.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xfa/fxgraphics/cxfa_graphics.h b/xfa/fxgraphics/cxfa_graphics.h index 3c9b269ea5..3eb6f42015 100644 --- a/xfa/fxgraphics/cxfa_graphics.h +++ b/xfa/fxgraphics/cxfa_graphics.h @@ -11,14 +11,9 @@ #include <vector> #include "core/fxcrt/fx_system.h" -#include "core/fxge/cfx_defaultrenderdevice.h" #include "core/fxge/cfx_graphstatedata.h" -#include "core/fxge/cfx_renderdevice.h" -#include "core/fxge/fx_dib.h" #include "xfa/fxgraphics/cxfa_gecolor.h" -class CXFA_GEPath; - using FX_FillMode = int32_t; enum class FX_HatchStyle { @@ -30,7 +25,9 @@ enum class FX_HatchStyle { DiagonalCross = 5 }; +class CFX_DIBBase; class CFX_RenderDevice; +class CXFA_GEPath; class CXFA_Graphics { public: |