From 06f49c808a23d0ce9f89fd7fa6552a0f0ee96bbb Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Sat, 27 Feb 2016 08:53:48 -0500 Subject: 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 . --- xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h | 1 - xfa/include/fwl/basewidget/fwl_barcode.h | 2 -- xfa/include/fwl/basewidget/fwl_combobox.h | 1 - xfa/include/fwl/basewidget/fwl_tooltipctrl.h | 1 - xfa/include/fwl/core/fwl_note.h | 2 -- xfa/include/fwl/theme/widgettp.h | 1 - xfa/include/fxfa/fxfa.h | 2 -- xfa/include/fxfa/fxfa_widget.h | 2 -- xfa/include/fxgraphics/fx_graphics.h | 1 - xfa/include/fxjse/fxjse.h | 2 -- 10 files changed, 15 deletions(-) (limited to 'xfa/include') diff --git a/xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h b/xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h index 454763a23b..327c92e7e1 100644 --- a/xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h +++ b/xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h @@ -17,7 +17,6 @@ class IFWL_MenuDP; class CFX_Path; class CFX_DIBitmap; class IFWL_AdapterMessageHook; -class IFWL_AppDelegate; class IFWL_AdapterWidgetMgr { public: diff --git a/xfa/include/fwl/basewidget/fwl_barcode.h b/xfa/include/fwl/basewidget/fwl_barcode.h index b7d3cecb60..944dd4aa6c 100644 --- a/xfa/include/fwl/basewidget/fwl_barcode.h +++ b/xfa/include/fwl/basewidget/fwl_barcode.h @@ -11,8 +11,6 @@ #include "xfa/include/fxbarcode/BC_BarCode.h" class CFWL_WidgetImpProperties; -class IFWL_Widget; -class IFWL_BarcodeDP; class IFWL_Barcode; #define FWL_CLASS_Barcode L"FWL_BARCODE" #define FWL_CLASSHASH_Barcode 366886968 diff --git a/xfa/include/fwl/basewidget/fwl_combobox.h b/xfa/include/fwl/basewidget/fwl_combobox.h index c28a6582aa..194d0b12e1 100644 --- a/xfa/include/fwl/basewidget/fwl_combobox.h +++ b/xfa/include/fwl/basewidget/fwl_combobox.h @@ -10,7 +10,6 @@ #include "xfa/include/fwl/basewidget/fwl_listbox.h" class CFWL_WidgetImpProperties; -class IFWL_ComboBoxDP; class IFWL_ComboBox; #define FWL_CLASS_ComboBox L"FWL_COMBOBOX" diff --git a/xfa/include/fwl/basewidget/fwl_tooltipctrl.h b/xfa/include/fwl/basewidget/fwl_tooltipctrl.h index 7963e64aaa..0a775dbd7c 100644 --- a/xfa/include/fwl/basewidget/fwl_tooltipctrl.h +++ b/xfa/include/fwl/basewidget/fwl_tooltipctrl.h @@ -10,7 +10,6 @@ #include "xfa/include/fwl/core/fwl_form.h" class CFWL_WidgetImpProperties; -class IFWL_ToolTipDP; class IFWL_ToolTip; #define FWL_CLASS_ToolTip L"FWL_TOOLTIP" diff --git a/xfa/include/fwl/core/fwl_note.h b/xfa/include/fwl/core/fwl_note.h index 5d74c1e451..182c56fe3c 100644 --- a/xfa/include/fwl/core/fwl_note.h +++ b/xfa/include/fwl/core/fwl_note.h @@ -10,10 +10,8 @@ #include "xfa/include/fwl/core/fwl_error.h" #include "xfa/include/fxgraphics/fx_graphics.h" -class IFWL_Target; class IFWL_Widget; class IFWL_NoteThread; -class IFWL_ThemeProvider; class CFWL_Note; class CFWL_Message; class CFWL_MsgActivate; diff --git a/xfa/include/fwl/theme/widgettp.h b/xfa/include/fwl/theme/widgettp.h index e7dee4d8be..b451d4f373 100644 --- a/xfa/include/fwl/theme/widgettp.h +++ b/xfa/include/fwl/theme/widgettp.h @@ -17,7 +17,6 @@ #include "xfa/include/fwl/core/fwl_widget.h" #include "xfa/include/fwl/theme/utils.h" -class IFWL_ThemeProvider; class IFWL_Widget; class IFDE_TextOut; class IFX_Font; diff --git a/xfa/include/fxfa/fxfa.h b/xfa/include/fxfa/fxfa.h index 0a9de02aa4..191056cd82 100644 --- a/xfa/include/fxfa/fxfa.h +++ b/xfa/include/fxfa/fxfa.h @@ -17,7 +17,6 @@ class CPDF_Document; class CXFA_Node; class CXFA_NodeList; class CXFA_WidgetAcc; -class IFDE_XMLElement; class IFWL_AdapterTimerMgr; class IFX_Font; class IXFA_App; @@ -29,7 +28,6 @@ class IXFA_DocView; class IXFA_FontMgr; class IXFA_MenuHandler; class IXFA_PageView; -class IXFA_PageViewRender; class IXFA_WidgetAccIterator; class IXFA_WidgetHandler; class IXFA_WidgetIterator; diff --git a/xfa/include/fxfa/fxfa_widget.h b/xfa/include/fxfa/fxfa_widget.h index 74a611d74b..7b9241832c 100644 --- a/xfa/include/fxfa/fxfa_widget.h +++ b/xfa/include/fxfa/fxfa_widget.h @@ -13,11 +13,9 @@ class CXFA_Node; class CXFA_FFDocView; class CXFA_FFDoc; class CXFA_FFApp; -class CXFA_Node; class CXFA_EventParam; class CXFA_FFWidget; class CXFA_TextLayout; -class CXFA_TextProvider; class CXFA_WidgetLayoutData; class IFX_Font; class IXFA_AppProvider; diff --git a/xfa/include/fxgraphics/fx_graphics.h b/xfa/include/fxgraphics/fx_graphics.h index 51acdcea48..c22d00995e 100644 --- a/xfa/include/fxgraphics/fx_graphics.h +++ b/xfa/include/fxgraphics/fx_graphics.h @@ -100,7 +100,6 @@ class CFX_DIBSource; class CFX_DIBitmap; class CFX_Font; class CFX_WideString; -class IFX_FileRead; class CFX_PathGenerator; class CAGG_Graphics; class CFX_Graphics; diff --git a/xfa/include/fxjse/fxjse.h b/xfa/include/fxjse/fxjse.h index 76f624e2a6..5466582022 100644 --- a/xfa/include/fxjse/fxjse.h +++ b/xfa/include/fxjse/fxjse.h @@ -11,8 +11,6 @@ #include "core/include/fxcrt/fx_string.h" #include "core/include/fxcrt/fx_system.h" -class CPDFDoc_Environment; -class CPDF_Page; struct FXJSE_CLASS; typedef struct FXJSE_HRUNTIME_ { void* pData; } * FXJSE_HRUNTIME; -- cgit v1.2.3