summaryrefslogtreecommitdiff
path: root/xfa/src
diff options
context:
space:
mode:
authordan sinclair <dsinclair@chromium.org>2016-02-27 08:53:48 -0500
committerdan sinclair <dsinclair@chromium.org>2016-02-27 08:53:48 -0500
commit06f49c808a23d0ce9f89fd7fa6552a0f0ee96bbb (patch)
treedfeadd4e7851b25cbdb6430af7cb421650681660 /xfa/src
parent330a7037a2b6ef329c18cac39d895ef42c2b793e (diff)
downloadpdfium-06f49c808a23d0ce9f89fd7fa6552a0f0ee96bbb.tar.xz
Cleanup forward declarations.
This CL removes duplicate forward declarations, removes extraneous declarations and adds a couple of missing declarations. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1741003002 .
Diffstat (limited to 'xfa/src')
-rw-r--r--xfa/src/fdp/include/fde_brs.h1
-rw-r--r--xfa/src/fdp/include/fde_css.h11
-rw-r--r--xfa/src/fdp/include/fde_rdr.h1
-rw-r--r--xfa/src/fdp/include/fde_rdv.h1
-rw-r--r--xfa/src/fdp/include/fde_xml.h7
-rw-r--r--xfa/src/fdp/src/fde/fde_geobject.h1
-rw-r--r--xfa/src/fee/include/ifde_txtedtengine.h1
-rw-r--r--xfa/src/fee/src/fee/fde_txtedtengine.h6
-rw-r--r--xfa/src/fee/src/fee/fde_txtedtpage.h1
-rw-r--r--xfa/src/fgas/include/fx_rbk.h2
-rw-r--r--xfa/src/fgas/src/layout/fx_textbreak.h1
-rw-r--r--xfa/src/fwl/src/basewidget/include/fwl_datetimepickerimp.h1
-rw-r--r--xfa/src/fwl/src/basewidget/include/fwl_editimp.h2
-rw-r--r--xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h2
-rw-r--r--xfa/src/fwl/src/basewidget/include/fwl_scrollbarimp.h1
-rw-r--r--xfa/src/fwl/src/core/include/fwl_noteimp.h2
-rw-r--r--xfa/src/fwl/src/core/include/fwl_widgetimp.h1
-rw-r--r--xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h1
-rw-r--r--xfa/src/fxbarcode/BC_Binarizer.h1
-rw-r--r--xfa/src/fxbarcode/BC_UtilRSS.h1
-rw-r--r--xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h1
-rw-r--r--xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h1
-rw-r--r--xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h1
-rw-r--r--xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h1
-rw-r--r--xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h1
-rw-r--r--xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h1
-rw-r--r--xfa/src/fxbarcode/pdf417/BC_PDF417.h1
-rw-r--r--xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h1
-rw-r--r--xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h2
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h2
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h1
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h9
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h2
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h1
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h2
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRDetector.h5
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h1
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h2
-rw-r--r--xfa/src/fxfa/src/app/xfa_ffcheckbutton.h1
-rw-r--r--xfa/src/fxfa/src/app/xfa_ffdoc.h1
-rw-r--r--xfa/src/fxfa/src/app/xfa_ffdocview.h1
-rw-r--r--xfa/src/fxfa/src/app/xfa_fffield.h1
-rw-r--r--xfa/src/fxfa/src/app/xfa_ffpushbutton.h2
-rw-r--r--xfa/src/fxfa/src/app/xfa_fftext.h1
-rw-r--r--xfa/src/fxfa/src/common/xfa_document.h1
-rw-r--r--xfa/src/fxfa/src/common/xfa_parser.h1
-rw-r--r--xfa/src/fxfa/src/parser/xfa_document_layout_imp.h1
47 files changed, 2 insertions, 88 deletions
diff --git a/xfa/src/fdp/include/fde_brs.h b/xfa/src/fdp/include/fde_brs.h
index daea23f7d9..7cae2f0e2d 100644
--- a/xfa/src/fdp/include/fde_brs.h
+++ b/xfa/src/fdp/include/fde_brs.h
@@ -11,7 +11,6 @@
#include "core/include/fxge/fx_dib.h"
class IFDE_Image;
-class IFDE_Path;
#define FDE_BRUSHTYPE_Unknown -1
#define FDE_BRUSHTYPE_Solid 0
diff --git a/xfa/src/fdp/include/fde_css.h b/xfa/src/fdp/include/fde_css.h
index 825a2a65f7..cc5ec2dbb1 100644
--- a/xfa/src/fdp/include/fde_css.h
+++ b/xfa/src/fdp/include/fde_css.h
@@ -12,16 +12,11 @@
#include "xfa/src/fgas/include/fx_stm.h"
#include "xfa/src/fgas/include/fx_utl.h"
-class IFDE_HTMNotify;
class IFDE_CSSValue;
-class IFDE_CSSPrimitiveValue;
class IFDE_CSSValueList;
class IFDE_CSSDeclaration;
class IFDE_CSSSelector;
class IFDE_CSSRule;
-class IFDE_CSSStyleRule;
-class IFDE_CSSMediaRule;
-class IFDE_CSSFontFaceRule;
class IFDE_CSSStyleSheet;
class IFDE_CSSStyleSheetCache;
class IFDE_CSSSyntaxParser;
@@ -40,12 +35,6 @@ class IFDE_CSSComputedStyle;
class IFDE_CSSTagProvider;
class IFDE_CSSAccelerator;
class IFDE_CSSStyleSelector;
-class IFDE_CSSCounterContext;
-class IFDE_CSSCounterManager;
-class IFDE_CSSQuoteContext;
-class IFDE_CSSContentContext;
-class IFDE_CSSMultiColumnContext;
-class IFDE_CSSFloatContext;
enum FDE_CSSVALUETYPE {
FDE_CSSVALUETYPE_Primitive = 1,
diff --git a/xfa/src/fdp/include/fde_rdr.h b/xfa/src/fdp/include/fde_rdr.h
index 085a78e4c1..48101a9b4e 100644
--- a/xfa/src/fdp/include/fde_rdr.h
+++ b/xfa/src/fdp/include/fde_rdr.h
@@ -10,7 +10,6 @@
#include "core/include/fxcrt/fx_coordinates.h"
#include "xfa/src/fdp/include/fde_psr.h"
-class IFDE_Page;
class IFDE_RenderDevice;
void FDE_GetPageMatrix(CFX_Matrix& pageMatrix,
diff --git a/xfa/src/fdp/include/fde_rdv.h b/xfa/src/fdp/include/fde_rdv.h
index bfd92f5fa8..ee11923011 100644
--- a/xfa/src/fdp/include/fde_rdv.h
+++ b/xfa/src/fdp/include/fde_rdv.h
@@ -15,7 +15,6 @@
class IFDE_Pen;
class IFDE_Brush;
-class IFDE_Image;
class CFX_DIBitmap;
class CFX_DIBSource;
diff --git a/xfa/src/fdp/include/fde_xml.h b/xfa/src/fdp/include/fde_xml.h
index cc08179270..625914dd6e 100644
--- a/xfa/src/fdp/include/fde_xml.h
+++ b/xfa/src/fdp/include/fde_xml.h
@@ -13,13 +13,6 @@
class IFDE_XMLNode;
class IFDE_XMLInstruction;
class IFDE_XMLDeclaration;
-class IFDE_XMLDeclComment;
-class IFDE_XMLDeclCharData;
-class IFDE_XMLDeclDocType;
-class IFDE_XMLDeclElement;
-class IFDE_XMLDeclAttriList;
-class IFDE_XMLDeclNotition;
-class IFDE_XMLDeclEntity;
class IFDE_XMLElement;
class IFDE_XMLText;
class IFDE_XMLDoc;
diff --git a/xfa/src/fdp/src/fde/fde_geobject.h b/xfa/src/fdp/src/fde/fde_geobject.h
index cf8ed51387..a22817f183 100644
--- a/xfa/src/fdp/src/fde/fde_geobject.h
+++ b/xfa/src/fdp/src/fde/fde_geobject.h
@@ -9,7 +9,6 @@
#include "xfa/src/foxitlib.h"
-class CFDE_GEFontMgr;
class CFDE_Path : public IFDE_Path, public CFX_Target {
public:
virtual void Release() { delete this; }
diff --git a/xfa/src/fee/include/ifde_txtedtengine.h b/xfa/src/fee/include/ifde_txtedtengine.h
index 6773b50195..d4319d27ee 100644
--- a/xfa/src/fee/include/ifde_txtedtengine.h
+++ b/xfa/src/fee/include/ifde_txtedtengine.h
@@ -10,7 +10,6 @@
#include "core/include/fxge/fx_dib.h"
#include "xfa/src/fgas/include/fx_fnt.h"
-class IFDE_TxtEdtBuf;
class IFDE_TxtEdtPage;
class IFDE_TxtEdtEngine;
class IFDE_TxtEdtEventSink;
diff --git a/xfa/src/fee/src/fee/fde_txtedtengine.h b/xfa/src/fee/src/fee/fde_txtedtengine.h
index de836ca3b8..69390ddd2f 100644
--- a/xfa/src/fee/src/fee/fde_txtedtengine.h
+++ b/xfa/src/fee/src/fee/fde_txtedtengine.h
@@ -7,14 +7,8 @@
#ifndef XFA_SRC_FEE_SRC_FEE_FDE_TXTEDTENGINE_H_
#define XFA_SRC_FEE_SRC_FEE_FDE_TXTEDTENGINE_H_
-class CFDE_TxtEdtBuf;
-class CFDE_TxtEdtPage;
class IFX_TxtBreak;
class CFDE_TxtEdtParag;
-class CFDE_TxtEdtKMPMatch;
-class IFDE_TxtEdtFormator;
-class CFDE_TxtEdtField;
-class CFDE_TxtEdtBlock;
class IFX_CharIter;
class CFDE_TxtEdtEngine;
class CFDE_TxtEdtDoRecord_Insert;
diff --git a/xfa/src/fee/src/fee/fde_txtedtpage.h b/xfa/src/fee/src/fee/fde_txtedtpage.h
index 0dc50d1b15..5f04e20611 100644
--- a/xfa/src/fee/src/fee/fde_txtedtpage.h
+++ b/xfa/src/fee/src/fee/fde_txtedtpage.h
@@ -10,7 +10,6 @@
class CFDE_TxtEdtEngine;
class IFX_CharIter;
class CFDE_TxtEdtPage;
-class CFDE_TxtEdtLineExt;
class CFDE_TxtEdtTextSet;
class CFDE_TxtEdtParag;
enum FDE_TXTEDT_CHARTYPE {
diff --git a/xfa/src/fgas/include/fx_rbk.h b/xfa/src/fgas/include/fx_rbk.h
index 5ce93960c9..c655111f9c 100644
--- a/xfa/src/fgas/include/fx_rbk.h
+++ b/xfa/src/fgas/include/fx_rbk.h
@@ -13,8 +13,6 @@
class IFX_Unknown;
class IFX_Font;
-class CFX_Char;
-class CFX_RTFBreakPiece;
class IFX_RTFBreak;
#define FX_RTFBREAKPOLICY_None 0x00
diff --git a/xfa/src/fgas/src/layout/fx_textbreak.h b/xfa/src/fgas/src/layout/fx_textbreak.h
index b1baae493e..670b86c00b 100644
--- a/xfa/src/fgas/src/layout/fx_textbreak.h
+++ b/xfa/src/fgas/src/layout/fx_textbreak.h
@@ -11,7 +11,6 @@
#include "xfa/src/fgas/src/layout/fx_unicode.h"
class IFX_ArabicChar;
-class CFX_Txtbreak;
class CFX_TxtLine {
public:
diff --git a/xfa/src/fwl/src/basewidget/include/fwl_datetimepickerimp.h b/xfa/src/fwl/src/basewidget/include/fwl_datetimepickerimp.h
index 5405ed9b97..48556aee7d 100644
--- a/xfa/src/fwl/src/basewidget/include/fwl_datetimepickerimp.h
+++ b/xfa/src/fwl/src/basewidget/include/fwl_datetimepickerimp.h
@@ -20,7 +20,6 @@
class CFWL_WidgetImp;
class CFWL_WidgetImpProperties;
class CFWL_WidgetImpDelegate;
-class CFWL_FormProxyImp;
class CFWL_DateTimeEdit;
class CFWL_DateTimeEditImpDelegate;
class CFWL_DateTimeCalendar;
diff --git a/xfa/src/fwl/src/basewidget/include/fwl_editimp.h b/xfa/src/fwl/src/basewidget/include/fwl_editimp.h
index db74020adc..a19dd055d0 100644
--- a/xfa/src/fwl/src/basewidget/include/fwl_editimp.h
+++ b/xfa/src/fwl/src/basewidget/include/fwl_editimp.h
@@ -16,9 +16,7 @@
class CFWL_WidgetImpProperties;
class CFWL_WidgetImpDelegate;
-class CFWL_ScrollBarImp;
class IFWL_Caret;
-class IFWL_AdapterTextField;
class CFWL_EditImp;
class CFWL_EditImpDelegate;
diff --git a/xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h b/xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h
index 5d1fd4c9cd..57db256baf 100644
--- a/xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h
+++ b/xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h
@@ -12,8 +12,6 @@
class CFWL_WidgetImpProperties;
class IFWL_Widget;
-class IFDE_DateTime;
-class CFDE_DateTime;
class CFWL_MonthCalendarImpDelegate;
extern uint8_t FX_DaysInMonth(int32_t iYear, uint8_t iMonth);
diff --git a/xfa/src/fwl/src/basewidget/include/fwl_scrollbarimp.h b/xfa/src/fwl/src/basewidget/include/fwl_scrollbarimp.h
index 781075cefe..265c22d806 100644
--- a/xfa/src/fwl/src/basewidget/include/fwl_scrollbarimp.h
+++ b/xfa/src/fwl/src/basewidget/include/fwl_scrollbarimp.h
@@ -12,7 +12,6 @@
class CFWL_WidgetImpProperties;
class IFWL_Widget;
-class IFWL_TimerDelegate;
class CFWL_ScrollBarImpDelegate;
class CFWL_ScrollBarImp : public CFWL_WidgetImp, public IFWL_Timer {
diff --git a/xfa/src/fwl/src/core/include/fwl_noteimp.h b/xfa/src/fwl/src/core/include/fwl_noteimp.h
index 32a8f91a59..eeb86b6026 100644
--- a/xfa/src/fwl/src/core/include/fwl_noteimp.h
+++ b/xfa/src/fwl/src/core/include/fwl_noteimp.h
@@ -9,9 +9,7 @@
#include "xfa/include/fwl/core/fwl_note.h"
-class CFWL_TargetImp;
class CFWL_WidgetImp;
-class CFWL_NoteThreadImp;
class CFWL_ToolTipImp;
class CFWL_CoreToopTipDP;
class CFWL_NoteDriver;
diff --git a/xfa/src/fwl/src/core/include/fwl_widgetimp.h b/xfa/src/fwl/src/core/include/fwl_widgetimp.h
index 22cba226d2..65cd75e151 100644
--- a/xfa/src/fwl/src/core/include/fwl_widgetimp.h
+++ b/xfa/src/fwl/src/core/include/fwl_widgetimp.h
@@ -10,7 +10,6 @@
#include "xfa/include/fwl/core/fwl_widget.h"
#include "xfa/src/fwl/src/core/include/fwl_targetimp.h"
-class CFWL_NoteTarget;
class CFWL_NoteThreadImp;
class CFWL_WidgetImpProperties;
class CFWL_WidgetMgr;
diff --git a/xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h b/xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h
index c1c07d8b36..5c951777e8 100644
--- a/xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h
+++ b/xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h
@@ -9,7 +9,6 @@
#include "xfa/include/fwl/core/fwl_widgetmgr.h"
-class CFWL_TargetImp;
class IFWL_Widget;
class IFWL_AdapterWidgetMgr;
class CFWL_WidgetMgrDelegate;
diff --git a/xfa/src/fxbarcode/BC_Binarizer.h b/xfa/src/fxbarcode/BC_Binarizer.h
index 281f4ae5d4..ed1ac9c19c 100644
--- a/xfa/src/fxbarcode/BC_Binarizer.h
+++ b/xfa/src/fxbarcode/BC_Binarizer.h
@@ -12,7 +12,6 @@
class CBC_LuminanceSource;
class CBC_CommonBitMatrix;
class CBC_CommonBitArray;
-class CBC_BinaryBitmap;
class CBC_Binarizer {
public:
diff --git a/xfa/src/fxbarcode/BC_UtilRSS.h b/xfa/src/fxbarcode/BC_UtilRSS.h
index cbcad946c7..825a555744 100644
--- a/xfa/src/fxbarcode/BC_UtilRSS.h
+++ b/xfa/src/fxbarcode/BC_UtilRSS.h
@@ -11,7 +11,6 @@
#include "core/include/fxcrt/fx_basic.h"
-class CBC_RssPair;
class CBC_UtilRSS {
public:
virtual ~CBC_UtilRSS();
diff --git a/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h b/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h
index c0ffaaa28d..56c2794fbe 100644
--- a/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h
+++ b/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h
@@ -10,7 +10,6 @@
#include "core/include/fxcrt/fx_basic.h"
#include "xfa/src/fxbarcode/BC_Binarizer.h"
-class CBC_CommonBinarizer;
class CBC_CommonBitArray;
class CBC_CommonBitMatrix;
class CBC_LuminanceSource;
diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h b/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h
index a688d1a65a..a99c0e89f8 100644
--- a/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h
+++ b/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h
@@ -9,7 +9,6 @@
class CBC_OneDReader;
class CBC_CommonBitArray;
-class CBC_OnedCoda128Reader;
class CBC_OnedCode128Reader : public CBC_OneDReader {
public:
CBC_OnedCode128Reader();
diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h b/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h
index d31cc00af1..333d3c563b 100644
--- a/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h
+++ b/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h
@@ -8,7 +8,6 @@
#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_
class CBC_OneDimWriter;
-class CBC_OnedCoda128Writer;
class CBC_OnedCode128Writer : public CBC_OneDimWriter {
public:
CBC_OnedCode128Writer();
diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h b/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h
index 424cbe52d6..b3fa803cd7 100644
--- a/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h
+++ b/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h
@@ -9,7 +9,6 @@
class CBC_OneDReader;
class CBC_CommonBitArray;
-class CBC_OnedCoda39Reader;
class CBC_OnedCode39Reader : public CBC_OneDReader {
public:
static const FX_CHAR* ALPHABET_STRING;
diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h b/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h
index f984b9bc0b..d453b49b48 100644
--- a/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h
+++ b/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h
@@ -9,7 +9,6 @@
enum BC_TEXT_LOC;
class CBC_OneDimWriter;
-class CBC_OnedCoda39Writer;
class CBC_OnedCode39Writer : public CBC_OneDimWriter {
public:
CBC_OnedCode39Writer();
diff --git a/xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h b/xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h
index 1b5ce48040..6146425b0b 100644
--- a/xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h
+++ b/xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h
@@ -7,7 +7,6 @@
#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDUPCAWRITER_H_
#define XFA_SRC_FXBARCODE_ONED_BC_ONEDUPCAWRITER_H_
-class CBC_Writer;
class CBC_OnedEAN13Writer;
class CBC_OnedUPCAWriter;
class CBC_OnedUPCAWriter : public CBC_OneDimWriter {
diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417.h b/xfa/src/fxbarcode/pdf417/BC_PDF417.h
index 55b9b6c483..a7a4649461 100644
--- a/xfa/src/fxbarcode/pdf417/BC_PDF417.h
+++ b/xfa/src/fxbarcode/pdf417/BC_PDF417.h
@@ -10,7 +10,6 @@
#include "core/include/fxcrt/fx_basic.h"
#include "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h"
-class CBC_Compaction;
class CBC_BarcodeRow;
class CBC_BarcodeMatrix;
diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h b/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h
index c73f3eb9fa..f5d245b0e3 100644
--- a/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h
+++ b/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h
@@ -8,7 +8,6 @@
#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417ECMODULUSGF_H_
class CBC_PDF417ECModulusPoly;
-class CBC_PDF417Common;
class CBC_PDF417ECModulusGF {
public:
CBC_PDF417ECModulusGF(int32_t modulus, int32_t generator, int32_t& e);
diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h b/xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h
index a0ac8888b1..ca310d2c44 100644
--- a/xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h
+++ b/xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h
@@ -9,12 +9,10 @@
class CBC_CommonDecoderResult;
class CBC_CommonBitMatrix;
-class CBC_ErrorCorrection;
class CBC_Codeword;
class CBC_BoundingBox;
class CBC_ResultPoint;
class CBC_BarcodeMetadata;
-class CBC_BarcodeValue;
class CBC_DetectionResult;
class CBC_DetectionResultRowIndicatorColumn;
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h b/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h
index a32fd3500b..f40d371631 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h
@@ -6,9 +6,7 @@
#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRALIGNMENTPATTERN_H_
#define XFA_SRC_FXBARCODE_QRCODE_BC_QRALIGNMENTPATTERN_H_
-class CBC_CommonBitArray;
class CBC_ResultPoint;
-class CBC_REAI013x0x1xDecoder;
class CBC_QRAlignmentPattern : public CBC_ResultPoint {
private:
FX_FLOAT m_moduleSize;
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h b/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h
index 8964b86d62..c93be6db9a 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h
@@ -12,7 +12,6 @@
class CBC_CommonBitMatrix;
class CBC_QRCoderVersion;
class CBC_QRCoderFormatInformation;
-class CBC_QRDataMask;
class CBC_QRBitMatrixParser {
private:
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h b/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h
index bcb08fa21e..7edb12b937 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h
@@ -12,17 +12,8 @@
#include "core/include/fxcrt/fx_string.h"
#include "xfa/src/fxbarcode/BC_Reader.h"
-class CBC_QRDetector;
class CBC_BinaryBitmap;
class CBC_QRCoderDecoder;
-class CBC_ResultPoint;
-class CBC_ReedSolomonGF256;
-class CBC_QRCoderVersion;
-class CBC_QRDetector;
-class CBC_QRDetectorResult;
-class CBC_QRCoderErrorCorrectionLevel;
-class CBC_QRCoderMode;
-class CBC_QRDataMask;
class CFX_DIBitmap;
class CBC_QRCodeReader : public CBC_Reader {
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h b/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h
index acae014158..ceb6547640 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h
@@ -10,8 +10,6 @@
#include "xfa/src/fxbarcode/BC_TwoDimWriter.h"
class CBC_TwoDimWriter;
-class CBC_MultiBarCodes;
-class CBC_QRCoderWriter;
class CBC_QRCodeWriter : public CBC_TwoDimWriter {
public:
CBC_QRCodeWriter();
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h
index 27e5b65494..70dad949c6 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h
@@ -10,7 +10,6 @@
#include "core/include/fxcrt/fx_basic.h"
#include "core/include/fxcrt/fx_string.h"
-class Make_Pair;
class CBC_QRCoder;
class CBC_QRCoderErrorCorrectionLevel;
class CBC_QRCoderMode;
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h b/xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h
index 6146c41465..de53ca49d4 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h
@@ -10,8 +10,6 @@
#include "core/include/fxcrt/fx_basic.h"
class CBC_QRCoderVersion;
-class CBC_QRCoderECBlocks;
-class CBC_QRCoderECB;
class CBC_QRCoderErrorCorrectionLevel;
class CBC_QRDataBlock {
private:
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRDetector.h b/xfa/src/fxbarcode/qrcode/BC_QRDetector.h
index b76a656f07..67cbeb44d6 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRDetector.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRDetector.h
@@ -14,11 +14,6 @@ class CBC_CommonBitMatrix;
class CBC_QRDetectorResult;
class CBC_QRFinderPatternInfo;
class CBC_QRAlignmentPattern;
-class CBC_QRFinderPatternFinder;
-class CBC_QRCoderVersion;
-class CBC_QRGridSampler;
-class CBC_QRAlignmentPatternFinder;
-class CBC_QRAlignmentPattern;
class CBC_QRDetector {
private:
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h b/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h
index 50381d9742..e2397db7ef 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h
@@ -10,7 +10,6 @@
#include "core/include/fxcrt/fx_basic.h"
class CBC_CommonBitMatrix;
-class CBC_ResultPoint;
class CBC_QRDetectorResult {
private:
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h b/xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h
index 8d6b96a2b2..ce75ac8d05 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h
@@ -10,8 +10,6 @@
#include "core/include/fxcrt/fx_basic.h"
class CBC_CommonBitMatrix;
-class CBC_CommonPerspectiveTransform;
-class CBC_CommonDefaultGridSampler;
class CBC_QRGridSampler {
private:
diff --git a/xfa/src/fxfa/src/app/xfa_ffcheckbutton.h b/xfa/src/fxfa/src/app/xfa_ffcheckbutton.h
index 3a41d3ae06..0d482b1c3f 100644
--- a/xfa/src/fxfa/src/app/xfa_ffcheckbutton.h
+++ b/xfa/src/fxfa/src/app/xfa_ffcheckbutton.h
@@ -10,7 +10,6 @@
#include "xfa/src/fxfa/src/app/xfa_fffield.h"
#include "xfa/src/fxfa/src/app/xfa_ffpageview.h"
-class CXFA_FFExclGroup;
class CXFA_FFCheckButton : public CXFA_FFField {
public:
CXFA_FFCheckButton(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc);
diff --git a/xfa/src/fxfa/src/app/xfa_ffdoc.h b/xfa/src/fxfa/src/app/xfa_ffdoc.h
index 8d2063e66e..74c202eb8b 100644
--- a/xfa/src/fxfa/src/app/xfa_ffdoc.h
+++ b/xfa/src/fxfa/src/app/xfa_ffdoc.h
@@ -13,7 +13,6 @@
class CXFA_FFApp;
class CXFA_FFNotify;
class CXFA_FFDocView;
-class IXFA_Locale;
struct FX_IMAGEDIB_AND_DPI {
CFX_DIBSource* pDibSource;
diff --git a/xfa/src/fxfa/src/app/xfa_ffdocview.h b/xfa/src/fxfa/src/app/xfa_ffdocview.h
index 6aec6a4ecc..6044aa54f5 100644
--- a/xfa/src/fxfa/src/app/xfa_ffdocview.h
+++ b/xfa/src/fxfa/src/app/xfa_ffdocview.h
@@ -9,7 +9,6 @@
#include "xfa/src/fxfa/src/app/xfa_ffdoc.h"
-class CXFA_FFPageView;
class CXFA_FFWidgetHandler;
class CXFA_FFDoc;
class CXFA_FFWidget;
diff --git a/xfa/src/fxfa/src/app/xfa_fffield.h b/xfa/src/fxfa/src/app/xfa_fffield.h
index 4c6318e29c..99db117f82 100644
--- a/xfa/src/fxfa/src/app/xfa_fffield.h
+++ b/xfa/src/fxfa/src/app/xfa_fffield.h
@@ -16,7 +16,6 @@
#define XFA_MINUI_HEIGHT 4.32f
#define XFA_DEFAULTUI_HEIGHT 2.0f
-class CXFA_TextLayout;
class CXFA_FFField : public CXFA_FFWidget, public IFWL_WidgetDelegate {
public:
diff --git a/xfa/src/fxfa/src/app/xfa_ffpushbutton.h b/xfa/src/fxfa/src/app/xfa_ffpushbutton.h
index 9e5d768265..fca02fad97 100644
--- a/xfa/src/fxfa/src/app/xfa_ffpushbutton.h
+++ b/xfa/src/fxfa/src/app/xfa_ffpushbutton.h
@@ -14,6 +14,8 @@
#define XFA_FWL_PSBSTYLEEXT_HilitePush (2L << 0)
#define XFA_FWL_PSBSTYLEEXT_HiliteOutLine (4L << 0)
+class CXFA_TextProvider;
+
class CXFA_FFPushButton : public CXFA_FFField {
public:
CXFA_FFPushButton(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc);
diff --git a/xfa/src/fxfa/src/app/xfa_fftext.h b/xfa/src/fxfa/src/app/xfa_fftext.h
index 7fd8d653b4..bb4b5a9f0c 100644
--- a/xfa/src/fxfa/src/app/xfa_fftext.h
+++ b/xfa/src/fxfa/src/app/xfa_fftext.h
@@ -9,7 +9,6 @@
#include "xfa/src/fxfa/src/app/xfa_ffdraw.h"
-class CXFA_TextLayout;
class CXFA_FFText : public CXFA_FFDraw {
public:
diff --git a/xfa/src/fxfa/src/common/xfa_document.h b/xfa/src/fxfa/src/common/xfa_document.h
index 60706ade98..62e7e8ce6e 100644
--- a/xfa/src/fxfa/src/common/xfa_document.h
+++ b/xfa/src/fxfa/src/common/xfa_document.h
@@ -20,7 +20,6 @@ class IXFA_DocParser;
class IXFA_LayoutPage;
class IXFA_Notify;
class IXFA_ObjFactory;
-class IXFA_PageContent;
class IXFA_ScriptContext;
enum XFA_VERSION {
diff --git a/xfa/src/fxfa/src/common/xfa_parser.h b/xfa/src/fxfa/src/common/xfa_parser.h
index a9f9d05931..43fdb639cb 100644
--- a/xfa/src/fxfa/src/common/xfa_parser.h
+++ b/xfa/src/fxfa/src/common/xfa_parser.h
@@ -9,7 +9,6 @@
#include "xfa/src/fxfa/src/common/xfa_document.h"
-class IFX_Stream;
class IXFA_Parser {
public:
diff --git a/xfa/src/fxfa/src/parser/xfa_document_layout_imp.h b/xfa/src/fxfa/src/parser/xfa_document_layout_imp.h
index 78b364053e..28854937c4 100644
--- a/xfa/src/fxfa/src/parser/xfa_document_layout_imp.h
+++ b/xfa/src/fxfa/src/parser/xfa_document_layout_imp.h
@@ -9,7 +9,6 @@
class CXFA_ItemLayoutProcessor;
class CXFA_LayoutPageMgr;
-class CXFA_LayoutAppAdapter;
class CXFA_ContainerLayoutItem;
class CXFA_LayoutProcessor : public IXFA_DocLayout {
public: