diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-04-08 16:08:00 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-04-08 16:08:00 -0700 |
commit | 45a3d338e60a7ae8c58bd2f3122ef4da01c4e051 (patch) | |
tree | 82d956e82b4c30a46d7ec5fc3bee8d5469d7055f /fpdfsdk/include/formfiller | |
parent | d80a434d7aa1ea6138e17aed2117c2eac8f72ce3 (diff) | |
download | pdfium-45a3d338e60a7ae8c58bd2f3122ef4da01c4e051.tar.xz |
Fix IWYU in formfiller/ directory.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1066253002
Diffstat (limited to 'fpdfsdk/include/formfiller')
-rw-r--r-- | fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h | 5 | ||||
-rw-r--r-- | fpdfsdk/include/formfiller/FFL_CheckBox.h | 2 | ||||
-rw-r--r-- | fpdfsdk/include/formfiller/FFL_ComboBox.h | 9 | ||||
-rw-r--r-- | fpdfsdk/include/formfiller/FFL_ListBox.h | 3 | ||||
-rw-r--r-- | fpdfsdk/include/formfiller/FFL_Notify.h | 7 | ||||
-rw-r--r-- | fpdfsdk/include/formfiller/FFL_PushButton.h | 2 | ||||
-rw-r--r-- | fpdfsdk/include/formfiller/FFL_RadioButton.h | 2 | ||||
-rw-r--r-- | fpdfsdk/include/formfiller/FFL_TextField.h | 3 | ||||
-rw-r--r-- | fpdfsdk/include/formfiller/FFL_Utils.h | 5 |
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 6df8347a76..e9b88508ff 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 cabc1aa113..1828d97983 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 3a5fd688b0..e31a9e5462 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 { |