diff options
author | Lei Zhang <thestig@chromium.org> | 2018-01-18 19:03:58 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-18 19:03:58 +0000 |
commit | 6e59fb5fda71eb527568a58d9c948b5f76c9bdc2 (patch) | |
tree | 82bb6ad56c0c5c256500ea8a1d355810846163bb /xfa/fxfa | |
parent | 51344821bb8d1d3309bb1dd82972df26b75745e2 (diff) | |
download | pdfium-6e59fb5fda71eb527568a58d9c948b5f76c9bdc2.tar.xz |
Remove more unneeded includes and code from headers.
Change-Id: I0a07dbc9850bef2184ed35ff04b08385fc1bdd17
Reviewed-on: https://pdfium-review.googlesource.com/22891
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa')
-rw-r--r-- | xfa/fxfa/cxfa_ffapp.h | 9 | ||||
-rw-r--r-- | xfa/fxfa/cxfa_textlayout.cpp | 1 | ||||
-rw-r--r-- | xfa/fxfa/cxfa_textlayout.h | 9 | ||||
-rw-r--r-- | xfa/fxfa/cxfa_textparser.h | 2 | ||||
-rw-r--r-- | xfa/fxfa/cxfa_textpiece.cpp | 1 | ||||
-rw-r--r-- | xfa/fxfa/cxfa_textpiece.h | 2 |
6 files changed, 14 insertions, 10 deletions
diff --git a/xfa/fxfa/cxfa_ffapp.h b/xfa/fxfa/cxfa_ffapp.h index f4bd9eb7a8..8ffd657897 100644 --- a/xfa/fxfa/cxfa_ffapp.h +++ b/xfa/fxfa/cxfa_ffapp.h @@ -14,16 +14,17 @@ #include "core/fpdfapi/parser/cpdf_stream_acc.h" #include "core/fxcrt/retain_ptr.h" #include "core/fxcrt/unowned_ptr.h" -#include "xfa/fgas/font/cfgas_fontmgr.h" #include "xfa/fwl/cfwl_app.h" #include "xfa/fxfa/fxfa.h" -class CFWL_WidgetMgr; class CFGAS_DefaultFontManager; -class CXFA_FWLAdapterWidgetMgr; -class CXFA_FWLTheme; +class CFGAS_FontMgr; +class CFWL_WidgetMgr; +class CPDF_Document; class CXFA_FFDocHandler; class CXFA_FontMgr; +class CXFA_FWLAdapterWidgetMgr; +class CXFA_FWLTheme; class IFWL_AdapterTimerMgr; class CXFA_FFApp { diff --git a/xfa/fxfa/cxfa_textlayout.cpp b/xfa/fxfa/cxfa_textlayout.cpp index 9565bb3970..ebb9e8aa2c 100644 --- a/xfa/fxfa/cxfa_textlayout.cpp +++ b/xfa/fxfa/cxfa_textlayout.cpp @@ -20,6 +20,7 @@ #include "third_party/base/ptr_util.h" #include "third_party/base/stl_util.h" #include "xfa/fde/cfde_textout.h" +#include "xfa/fgas/font/cfgas_gefont.h" #include "xfa/fxfa/cxfa_linkuserdata.h" #include "xfa/fxfa/cxfa_loadercontext.h" #include "xfa/fxfa/cxfa_pieceline.h" diff --git a/xfa/fxfa/cxfa_textlayout.h b/xfa/fxfa/cxfa_textlayout.h index 73aee36eef..40b64a7ca0 100644 --- a/xfa/fxfa/cxfa_textlayout.h +++ b/xfa/fxfa/cxfa_textlayout.h @@ -16,17 +16,18 @@ #include "xfa/fgas/layout/cfx_rtfbreak.h" #include "xfa/fxfa/cxfa_textparser.h" -class CFX_CSSComputedStyle; class CFDE_RenderDevice; -class CFX_XMLNode; +class CFX_CSSComputedStyle; +class CFX_RenderDevice; class CFX_RTFBreak; -class CXFA_LoaderContext; +class CFX_XMLNode; class CXFA_LinkUserData; +class CXFA_LoaderContext; class CXFA_Node; class CXFA_PieceLine; +class CXFA_TextPiece; class CXFA_TextProvider; class CXFA_TextTabstopsContext; -class CXFA_TextPiece; class CXFA_TextLayout { public: diff --git a/xfa/fxfa/cxfa_textparser.h b/xfa/fxfa/cxfa_textparser.h index 336e227221..cd2856e6df 100644 --- a/xfa/fxfa/cxfa_textparser.h +++ b/xfa/fxfa/cxfa_textparser.h @@ -14,9 +14,9 @@ #include "core/fxcrt/fx_system.h" #include "core/fxcrt/retain_ptr.h" #include "core/fxge/fx_dib.h" -#include "xfa/fgas/font/cfgas_gefont.h" #include "xfa/fxfa/fxfa_basic.h" +class CFGAS_GEFont; class CFX_CSSComputedStyle; class CFX_CSSStyleSelector; class CFX_CSSStyleSheet; diff --git a/xfa/fxfa/cxfa_textpiece.cpp b/xfa/fxfa/cxfa_textpiece.cpp index 87a5e3fff2..d6a8d3abaf 100644 --- a/xfa/fxfa/cxfa_textpiece.cpp +++ b/xfa/fxfa/cxfa_textpiece.cpp @@ -6,6 +6,7 @@ #include "xfa/fxfa/cxfa_textpiece.h" +#include "xfa/fgas/font/cfgas_gefont.h" #include "xfa/fxfa/cxfa_linkuserdata.h" CXFA_TextPiece::CXFA_TextPiece() {} diff --git a/xfa/fxfa/cxfa_textpiece.h b/xfa/fxfa/cxfa_textpiece.h index b4453b0f36..f3812f8e1e 100644 --- a/xfa/fxfa/cxfa_textpiece.h +++ b/xfa/fxfa/cxfa_textpiece.h @@ -12,9 +12,9 @@ #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/fx_string.h" #include "core/fxge/fx_dib.h" -#include "xfa/fgas/font/cfgas_gefont.h" #include "xfa/fxfa/fxfa_basic.h" +class CFGAS_GEFont; class CXFA_LinkUserData; class CXFA_TextPiece { |