From 870292c729dc277c24490ee1febd5391643da000 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 7 Apr 2015 16:12:46 -0700 Subject: Merge to XFA: Fix IWYU in pdfwindow/ directory. This incorporates class vs. struct fix in 34f5fc0f2a18 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1063283002 --- fpdfsdk/include/fxedit/fx_edit.h | 37 ++++++++++++++++++++++++++++--------- fpdfsdk/include/fxedit/fxet_edit.h | 1 + fpdfsdk/include/fxedit/fxet_list.h | 1 + 3 files changed, 30 insertions(+), 9 deletions(-) (limited to 'fpdfsdk/include/fxedit') diff --git a/fpdfsdk/include/fxedit/fx_edit.h b/fpdfsdk/include/fxedit/fx_edit.h index a8cd711e11..a842fd6284 100644 --- a/fpdfsdk/include/fxedit/fx_edit.h +++ b/fpdfsdk/include/fxedit/fx_edit.h @@ -7,6 +7,34 @@ #ifndef _FX_EDIT_H_ #define _FX_EDIT_H_ +#include "../../../core/include/fxcrt/fx_basic.h" +#include "../../../core/include/fxge/fx_dib.h" + +class CFX_RenderDevice; +class CPDF_Font; +class CPDF_Matrix; +class CPDF_PageObjects; +class CPDF_Point; +class CPDF_Rect; +class CPDF_TextObject; +class IFX_Edit; +class IFX_Edit_FontMap; +class IFX_Edit_Iterator; +class IFX_Edit_Notify; +class IFX_Edit_UndoItem; +class IFX_List; +class IFX_List_Notify; +class IFX_SystemHandler; +class IPDF_VariableText; +class IPDF_VariableText_Provider; +struct CPVT_Line; +struct CPVT_SecProps; +struct CPVT_Section; +struct CPVT_Word; +struct CPVT_WordPlace; +struct CPVT_WordProps; +struct CPVT_WordRange; + #define PVTWORD_STYLE_NORMAL 0x0000L #define PVTWORD_STYLE_HIGHLIGHT 0x0001L #define PVTWORD_STYLE_UNDERLINE 0x0002L @@ -32,15 +60,6 @@ #define DEFAULT_CHARSET 1 #endif -class IFX_Edit_FontMap; -class IFX_Edit_Notify; -class IFX_Edit_Iterator; -class IFX_Edit_UndoItem; -class IFX_Edit; -class IFX_List_Notify; -class IFX_List; -class IFX_SystemHandler; - class IFX_Edit_FontMap { public: diff --git a/fpdfsdk/include/fxedit/fxet_edit.h b/fpdfsdk/include/fxedit/fxet_edit.h index 4b627c99c8..8aa44a4bed 100644 --- a/fpdfsdk/include/fxedit/fxet_edit.h +++ b/fpdfsdk/include/fxedit/fxet_edit.h @@ -7,6 +7,7 @@ #ifndef _FXET_EDIT_H_ #define _FXET_EDIT_H_ +#include "../../../core/include/fpdfdoc/fpdf_vt.h" #include "fx_edit.h" class CFX_Edit_Page; diff --git a/fpdfsdk/include/fxedit/fxet_list.h b/fpdfsdk/include/fxedit/fxet_list.h index 5bf2069b42..6b634ffeec 100644 --- a/fpdfsdk/include/fxedit/fxet_list.h +++ b/fpdfsdk/include/fxedit/fxet_list.h @@ -7,6 +7,7 @@ #ifndef _FXET_LIST_H_ #define _FXET_LIST_H_ +#include "../../../core/include/fpdfapi/fpdf_parser.h" // For CPDF_Point. #include "fx_edit.h" class IFX_Edit; -- cgit v1.2.3