Remove more unused forward declarations, part 3. Update files in the in fxjs, fxbarcode, and fgas directories. Change-Id: Ia44de66015ff962766fdf2dcdcd066594d7ae3e7 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/78651 Auto-Submit: Tom Sepez <tsepez@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> Commit-Queue: Daniel Hosseinian <dhoss@chromium.org> Reviewed-by: Daniel Hosseinian <dhoss@chromium.org>
diff --git a/fxbarcode/cbc_codebase.h b/fxbarcode/cbc_codebase.h index 2462242..752e0da 100644 --- a/fxbarcode/cbc_codebase.h +++ b/fxbarcode/cbc_codebase.h
@@ -14,9 +14,7 @@ #include "core/fxge/dib/fx_dib.h" #include "fxbarcode/BC_Library.h" -class CBC_Reader; class CBC_Writer; -class CFX_DIBitmap; class CFX_Matrix; class CFX_RenderDevice;
diff --git a/fxbarcode/oned/BC_OnedEAN13Writer.h b/fxbarcode/oned/BC_OnedEAN13Writer.h index 88fa9cb..c1d7209 100644 --- a/fxbarcode/oned/BC_OnedEAN13Writer.h +++ b/fxbarcode/oned/BC_OnedEAN13Writer.h
@@ -11,7 +11,6 @@ #include "core/fxcrt/fx_system.h" #include "fxbarcode/oned/BC_OnedEANWriter.h" -class CFX_DIBitmap; class CFX_RenderDevice; class CBC_OnedEAN13Writer final : public CBC_OneDimEANWriter {
diff --git a/fxbarcode/oned/BC_OnedEAN8Writer.h b/fxbarcode/oned/BC_OnedEAN8Writer.h index b71dbb9..ee57e53 100644 --- a/fxbarcode/oned/BC_OnedEAN8Writer.h +++ b/fxbarcode/oned/BC_OnedEAN8Writer.h
@@ -12,7 +12,6 @@ #include "fxbarcode/BC_Library.h" #include "fxbarcode/oned/BC_OnedEANWriter.h" -class CFX_DIBitmap; class CFX_RenderDevice; class CBC_OnedEAN8Writer final : public CBC_OneDimEANWriter {
diff --git a/fxbarcode/oned/BC_OnedUPCAWriter.h b/fxbarcode/oned/BC_OnedUPCAWriter.h index 991dfe6..a644c41 100644 --- a/fxbarcode/oned/BC_OnedUPCAWriter.h +++ b/fxbarcode/oned/BC_OnedUPCAWriter.h
@@ -14,7 +14,6 @@ #include "fxbarcode/oned/BC_OnedEANWriter.h" class CBC_OnedEAN13Writer; -class CFX_DIBitmap; class CFX_Matrix; class CFX_RenderDevice;
diff --git a/fxbarcode/qrcode/BC_QRCoder.h b/fxbarcode/qrcode/BC_QRCoder.h index ec9bb09..d7bb840 100644 --- a/fxbarcode/qrcode/BC_QRCoder.h +++ b/fxbarcode/qrcode/BC_QRCoder.h
@@ -12,7 +12,6 @@ #include "core/fxcrt/unowned_ptr.h" class CBC_QRCoderErrorCorrectionLevel; -class CBC_QRCoderMode; class CBC_CommonByteMatrix; class CBC_QRCoder final {
diff --git a/fxjs/cfx_globaldata.h b/fxjs/cfx_globaldata.h index 421a3b4..fb5c080 100644 --- a/fxjs/cfx_globaldata.h +++ b/fxjs/cfx_globaldata.h
@@ -16,8 +16,6 @@ #include "third_party/base/optional.h" #include "third_party/base/span.h" -class CPDFSDK_FormFillEnvironment; - class CFX_GlobalData { public: class Delegate {
diff --git a/fxjs/cfxjs_engine.h b/fxjs/cfxjs_engine.h index dca17a1..712de73 100644 --- a/fxjs/cfxjs_engine.h +++ b/fxjs/cfxjs_engine.h
@@ -28,10 +28,6 @@ class CJS_Object; class V8TemplateMap; -// CFXJS_ENGINE places no restrictions on this class; it merely passes it -// on to caller-provided methods. -class IJS_EventContext; // A description of the event that caused JS execution. - enum FXJSOBJTYPE { FXJSOBJTYPE_DYNAMIC = 0, // Created by native method and returned to JS. FXJSOBJTYPE_STATIC, // Created by init and hung off of global object.
diff --git a/fxjs/cjs_document.h b/fxjs/cjs_document.h index ae855f5..860c5e9 100644 --- a/fxjs/cjs_document.h +++ b/fxjs/cjs_document.h
@@ -17,7 +17,6 @@ class CPDFSDK_InteractiveForm; class CPDF_InteractiveForm; -class CPDF_TextObject; struct CJS_DelayData; class CJS_Document final : public CJS_Object, public Observable {
diff --git a/fxjs/cjs_field.h b/fxjs/cjs_field.h index fca91ea..dd06b5f 100644 --- a/fxjs/cjs_field.h +++ b/fxjs/cjs_field.h
@@ -14,7 +14,6 @@ #include "fxjs/js_define.h" class CPDF_FormControl; -class CPDFSDK_Widget; struct CJS_DelayData; enum FIELD_PROP {
diff --git a/xfa/fgas/font/cfgas_fontmgr.h b/xfa/fgas/font/cfgas_fontmgr.h index dda900d..6010a69 100644 --- a/xfa/fgas/font/cfgas_fontmgr.h +++ b/xfa/fgas/font/cfgas_fontmgr.h
@@ -21,7 +21,6 @@ #include "core/fxge/fx_freetype.h" class CFGAS_GEFont; -class CFX_FontMapper; class IFX_SeekableReadStream; #if defined(OS_WIN)
diff --git a/xfa/fgas/graphics/cfgas_gepattern.h b/xfa/fgas/graphics/cfgas_gepattern.h index 8d3b3eb..d3e5760 100644 --- a/xfa/fgas/graphics/cfgas_gepattern.h +++ b/xfa/fgas/graphics/cfgas_gepattern.h
@@ -11,9 +11,6 @@ #include "core/fxcrt/fx_system.h" #include "xfa/fgas/graphics/cfgas_gegraphics.h" -class CFX_DIBitmap; -class CFX_Matrix; - class CFGAS_GEPattern final { public: CFGAS_GEPattern(FX_HatchStyle hatchStyle,
diff --git a/xfa/fgas/layout/cfx_rtfbreak.h b/xfa/fgas/layout/cfx_rtfbreak.h index 2a722b0..e056b61 100644 --- a/xfa/fgas/layout/cfx_rtfbreak.h +++ b/xfa/fgas/layout/cfx_rtfbreak.h
@@ -15,7 +15,6 @@ #include "core/fxcrt/retain_ptr.h" #include "xfa/fgas/layout/cfx_break.h" -class CFGAS_GEFont; class CFX_TextUserData; class CFX_TextPiece; class TextCharPos;