summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/formfiller
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-04-08 16:19:33 -0700
committerTom Sepez <tsepez@chromium.org>2015-04-08 16:19:33 -0700
commit245c80e410deff6ee35f62adce42dd0fcf46845a (patch)
tree355312b8cbfa650945a03a9814d4d67379e07ebe /fpdfsdk/include/formfiller
parent6102dd8c05b9a12d08d9e5c7f790c1fc76fbfaab (diff)
downloadpdfium-245c80e410deff6ee35f62adce42dd0fcf46845a.tar.xz
Merge to XFA: Fix IWYU in formfiller/ directory.
Original Review URL: https://codereview.chromium.org/1066253002 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1073563003
Diffstat (limited to 'fpdfsdk/include/formfiller')
-rw-r--r--fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h5
-rw-r--r--fpdfsdk/include/formfiller/FFL_CheckBox.h2
-rw-r--r--fpdfsdk/include/formfiller/FFL_ComboBox.h9
-rw-r--r--fpdfsdk/include/formfiller/FFL_ListBox.h3
-rw-r--r--fpdfsdk/include/formfiller/FFL_Notify.h7
-rw-r--r--fpdfsdk/include/formfiller/FFL_PushButton.h2
-rw-r--r--fpdfsdk/include/formfiller/FFL_RadioButton.h2
-rw-r--r--fpdfsdk/include/formfiller/FFL_TextField.h3
-rw-r--r--fpdfsdk/include/formfiller/FFL_Utils.h5
9 files changed, 29 insertions, 9 deletions
diff --git a/fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h b/fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h
index 50f516041e..8601b98194 100644
--- a/fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h
+++ b/fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h
@@ -7,10 +7,9 @@
#ifndef _RAO_FONTMAP_H_
#define _RAO_FONTMAP_H_
-#if _MSC_VER > 1000
-#pragma once
-#endif // _MSC_VER > 1000
+#include "../pdfwindow/PWL_FontMap.h"
+class CPDF_Dictionary;
class CPDFSDK_Annot;
class CBA_FontMap : public CPWL_FontMap
diff --git a/fpdfsdk/include/formfiller/FFL_CheckBox.h b/fpdfsdk/include/formfiller/FFL_CheckBox.h
index 9aaf7fe526..240e748ea3 100644
--- a/fpdfsdk/include/formfiller/FFL_CheckBox.h
+++ b/fpdfsdk/include/formfiller/FFL_CheckBox.h
@@ -7,6 +7,8 @@
#ifndef _FFL_CHECKBOX_H_
#define _FFL_CHECKBOX_H_
+#include "FFL_FormFiller.h"
+
class CFFL_CheckBox : public CFFL_Button
{
public:
diff --git a/fpdfsdk/include/formfiller/FFL_ComboBox.h b/fpdfsdk/include/formfiller/FFL_ComboBox.h
index e3ad8b1c22..df7ca55cc5 100644
--- a/fpdfsdk/include/formfiller/FFL_ComboBox.h
+++ b/fpdfsdk/include/formfiller/FFL_ComboBox.h
@@ -5,7 +5,13 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef _FFL_COMBOBOX_H_
- #define _FFL_COMBOBOX_H_
+#define _FFL_COMBOBOX_H_
+
+#include "../../../core/include/fxcrt/fx_string.h"
+#include "FFL_FormFiller.h"
+
+class CBA_FontMap;
+class CPDFSDK_Document;
struct FFL_ComboBoxState
{
@@ -14,7 +20,6 @@ struct FFL_ComboBoxState
int nEnd;
CFX_WideString sValue;
};
-class CBA_FontMap;
class CFFL_ComboBox : public CFFL_FormFiller, public IPWL_FocusHandler, public IPWL_Edit_Notify
{
diff --git a/fpdfsdk/include/formfiller/FFL_ListBox.h b/fpdfsdk/include/formfiller/FFL_ListBox.h
index 43f5fce40b..03f71df5b9 100644
--- a/fpdfsdk/include/formfiller/FFL_ListBox.h
+++ b/fpdfsdk/include/formfiller/FFL_ListBox.h
@@ -7,7 +7,10 @@
#ifndef _FFL_LISTBOX_H_
#define _FFL_LISTBOX_H_
+#include "FFL_FormFiller.h"
+
class CBA_FontMap;
+
class CFFL_ListBox : public CFFL_FormFiller
{
public:
diff --git a/fpdfsdk/include/formfiller/FFL_Notify.h b/fpdfsdk/include/formfiller/FFL_Notify.h
index c729b7452b..bd21ffc496 100644
--- a/fpdfsdk/include/formfiller/FFL_Notify.h
+++ b/fpdfsdk/include/formfiller/FFL_Notify.h
@@ -4,10 +4,14 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#if !defined(_FFL_NOTIFY_H_)
+#ifndef _FFL_NOTIFY_H_
#define _FFL_NOTIFY_H_
+#include "../../../core/include/fpdfdoc/fpdf_doc.h"
+#include "../../../core/include/fxcrt/fx_string.h"
+
class CFFL_FormFiller;
+class CPDF_FormField;
class CFFL_Notify
{
@@ -38,7 +42,6 @@ public:
FX_BOOL IsNotifying() const {return m_nNotifyFlag > 0;}
private:
-// CReader_InterForm * GetReaderInterForm();
FX_BOOL DoAAction(CPDF_AAction::AActionType eAAT, FX_BOOL & bExit);
FX_BOOL FindAAction(CPDF_AAction::AActionType eAAT,CPDF_Action & action);
FX_BOOL FindAAction(CPDF_AAction aaction,CPDF_AAction::AActionType eAAT,CPDF_Action & action);
diff --git a/fpdfsdk/include/formfiller/FFL_PushButton.h b/fpdfsdk/include/formfiller/FFL_PushButton.h
index be5e735dcb..5d115c0771 100644
--- a/fpdfsdk/include/formfiller/FFL_PushButton.h
+++ b/fpdfsdk/include/formfiller/FFL_PushButton.h
@@ -7,6 +7,8 @@
#ifndef _FFL_PUSHBUTTON_H_
#define _FFL_PUSHBUTTON_H_
+#include "FFL_FormFiller.h"
+
class CFFL_PushButton : public CFFL_Button
{
public:
diff --git a/fpdfsdk/include/formfiller/FFL_RadioButton.h b/fpdfsdk/include/formfiller/FFL_RadioButton.h
index 037e56344d..2049a45345 100644
--- a/fpdfsdk/include/formfiller/FFL_RadioButton.h
+++ b/fpdfsdk/include/formfiller/FFL_RadioButton.h
@@ -7,6 +7,8 @@
#ifndef _FFL_RADIOBUTTON_H_
#define _FFL_RADIOBUTTON_H_
+#include "FFL_FormFiller.h"
+
class CFFL_RadioButton : public CFFL_Button
{
public:
diff --git a/fpdfsdk/include/formfiller/FFL_TextField.h b/fpdfsdk/include/formfiller/FFL_TextField.h
index 53ddfb7245..b987a9c8ae 100644
--- a/fpdfsdk/include/formfiller/FFL_TextField.h
+++ b/fpdfsdk/include/formfiller/FFL_TextField.h
@@ -15,7 +15,8 @@
class CBA_FontMap;
-class CFFL_EditUndoItem //: public IUndoItem
+
+class CFFL_EditUndoItem
{
public:
CFFL_EditUndoItem(CPWL_Edit* pEdit);
diff --git a/fpdfsdk/include/formfiller/FFL_Utils.h b/fpdfsdk/include/formfiller/FFL_Utils.h
index c5ac2a2b87..e64cce9ea4 100644
--- a/fpdfsdk/include/formfiller/FFL_Utils.h
+++ b/fpdfsdk/include/formfiller/FFL_Utils.h
@@ -7,7 +7,10 @@
#ifndef _FFL_UTILS_H_
#define _FFL_UTILS_H_
-#define FFL_BASE_USERUNIT 1.0f / 72.0f
+#include "../../../core/include/fpdfapi/fpdf_parser.h"
+#include "../../../core/include/fxcrt/fx_memory.h"
+
+#define FFL_BASE_USERUNIT (1.0f / 72.0f)
class CFFL_Utils
{