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 . --- fpdfsdk/include/formfiller/FFL_ComboBox.h | 1 - fpdfsdk/include/formfiller/FFL_FormFiller.h | 1 - fpdfsdk/include/formfiller/FFL_IFormFiller.h | 1 - fpdfsdk/include/fpdfxfa/fpdfxfa_app.h | 1 + fpdfsdk/include/fpdfxfa/fpdfxfa_page.h | 2 ++ fpdfsdk/include/fsdk_baseform.h | 2 -- fpdfsdk/include/pdfwindow/PWL_ListBox.h | 1 - 7 files changed, 3 insertions(+), 6 deletions(-) (limited to 'fpdfsdk/include') diff --git a/fpdfsdk/include/formfiller/FFL_ComboBox.h b/fpdfsdk/include/formfiller/FFL_ComboBox.h index 672b0b2b7c..a5ef01b0ea 100644 --- a/fpdfsdk/include/formfiller/FFL_ComboBox.h +++ b/fpdfsdk/include/formfiller/FFL_ComboBox.h @@ -11,7 +11,6 @@ #include "fpdfsdk/include/formfiller/FFL_FormFiller.h" class CBA_FontMap; -class CPDFSDK_Document; struct FFL_ComboBoxState { int nIndex; diff --git a/fpdfsdk/include/formfiller/FFL_FormFiller.h b/fpdfsdk/include/formfiller/FFL_FormFiller.h index 4ea8fdaa8b..3ad1e9d8c4 100644 --- a/fpdfsdk/include/formfiller/FFL_FormFiller.h +++ b/fpdfsdk/include/formfiller/FFL_FormFiller.h @@ -13,7 +13,6 @@ class CPDFDoc_Environment; class CPDFSDK_Annot; -class CPDFSDK_Document; class CPDFSDK_PageView; class CPDFSDK_Widget; diff --git a/fpdfsdk/include/formfiller/FFL_IFormFiller.h b/fpdfsdk/include/formfiller/FFL_IFormFiller.h index cea61bf20e..95e4cbed17 100644 --- a/fpdfsdk/include/formfiller/FFL_IFormFiller.h +++ b/fpdfsdk/include/formfiller/FFL_IFormFiller.h @@ -13,7 +13,6 @@ #include "fpdfsdk/include/pdfwindow/PWL_Edit.h" class CFFL_FormFiller; -class CFFL_PrivateData; class CPDFDoc_Environment; class CPDFSDK_Annot; class CPDFSDK_PageView; diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h index 0956fcfa7e..9d1b1cef62 100644 --- a/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h +++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_app.h @@ -9,6 +9,7 @@ #include "xfa/include/fxfa/fxfa.h" +class CPDFDoc_Environment; class IFXJS_Runtime; class CPDFXFA_App : public IXFA_AppProvider { diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_page.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_page.h index 2e3c51cbd0..5f11d5e5aa 100644 --- a/fpdfsdk/include/fpdfxfa/fpdfxfa_page.h +++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_page.h @@ -7,6 +7,8 @@ #ifndef FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_ #define FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_ +class CPDF_Page; + class CPDFXFA_Page { public: CPDFXFA_Page(CPDFXFA_Document* pDoc, int page_index); diff --git a/fpdfsdk/include/fsdk_baseform.h b/fpdfsdk/include/fsdk_baseform.h index ac34528d4d..481627ea9b 100644 --- a/fpdfsdk/include/fsdk_baseform.h +++ b/fpdfsdk/include/fsdk_baseform.h @@ -22,9 +22,7 @@ #include "core/include/fxge/fx_dib.h" #include "fpdfsdk/include/fsdk_baseannot.h" -class CFFL_FormFiller; class CPDFSDK_Annot; -class CPDFSDK_DateTime; class CPDFSDK_Document; class CPDFSDK_InterForm; class CPDFSDK_PageView; diff --git a/fpdfsdk/include/pdfwindow/PWL_ListBox.h b/fpdfsdk/include/pdfwindow/PWL_ListBox.h index c1d3bd7218..ced4e73d03 100644 --- a/fpdfsdk/include/pdfwindow/PWL_ListBox.h +++ b/fpdfsdk/include/pdfwindow/PWL_ListBox.h @@ -10,7 +10,6 @@ #include "fpdfsdk/include/fxedit/fx_edit.h" #include "fpdfsdk/include/pdfwindow/PWL_Wnd.h" -class CPDF_ListCtrl; class CPWL_List_Notify; class CPWL_ListBox; class IPWL_Filler_Notify; -- cgit v1.2.3