summaryrefslogtreecommitdiff
path: root/fpdfsdk/include
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 /fpdfsdk/include
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 'fpdfsdk/include')
-rw-r--r--fpdfsdk/include/formfiller/FFL_ComboBox.h1
-rw-r--r--fpdfsdk/include/formfiller/FFL_FormFiller.h1
-rw-r--r--fpdfsdk/include/formfiller/FFL_IFormFiller.h1
-rw-r--r--fpdfsdk/include/fpdfxfa/fpdfxfa_app.h1
-rw-r--r--fpdfsdk/include/fpdfxfa/fpdfxfa_page.h2
-rw-r--r--fpdfsdk/include/fsdk_baseform.h2
-rw-r--r--fpdfsdk/include/pdfwindow/PWL_ListBox.h1
7 files changed, 3 insertions, 6 deletions
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;