From cb32712be1e545e3ceb4f41b77a8bebc2bf2726f Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Wed, 13 Sep 2017 13:00:58 -0400 Subject: Remove includes of xfa/fwl/theme/cfwl_widgettp.h that are unused. Change-Id: I51fb7b9df8bdb557e9dca6d1be91736fe124e16a Reviewed-on: https://pdfium-review.googlesource.com/13630 Reviewed-by: Lei Zhang Reviewed-by: Ryan Harrison Commit-Queue: Henrique Nakashima --- xfa/fwl/cfwl_barcode.cpp | 1 + xfa/fwl/cfwl_edit.cpp | 1 + xfa/fwl/cfwl_form.cpp | 1 - xfa/fwl/cfwl_widget.h | 1 - xfa/fwl/ifwl_themeprovider.h | 3 ++- 5 files changed, 4 insertions(+), 3 deletions(-) (limited to 'xfa/fwl') diff --git a/xfa/fwl/cfwl_barcode.cpp b/xfa/fwl/cfwl_barcode.cpp index 5e67c71435..166827dcb1 100644 --- a/xfa/fwl/cfwl_barcode.cpp +++ b/xfa/fwl/cfwl_barcode.cpp @@ -14,6 +14,7 @@ #include "xfa/fwl/cfwl_themepart.h" #include "xfa/fwl/cfx_barcode.h" #include "xfa/fwl/ifwl_themeprovider.h" +#include "xfa/fwl/theme/cfwl_utils.h" CFWL_Barcode::CFWL_Barcode(const CFWL_App* app) : CFWL_Edit(app, pdfium::MakeUnique(), nullptr), diff --git a/xfa/fwl/cfwl_edit.cpp b/xfa/fwl/cfwl_edit.cpp index 99a312bfca..ffe324cefd 100644 --- a/xfa/fwl/cfwl_edit.cpp +++ b/xfa/fwl/cfwl_edit.cpp @@ -28,6 +28,7 @@ #include "xfa/fwl/cfwl_themepart.h" #include "xfa/fwl/cfwl_widgetmgr.h" #include "xfa/fwl/ifwl_themeprovider.h" +#include "xfa/fwl/theme/cfwl_utils.h" #include "xfa/fxfa/cxfa_ffdoc.h" #include "xfa/fxfa/cxfa_ffwidget.h" #include "xfa/fxgraphics/cxfa_path.h" diff --git a/xfa/fwl/cfwl_form.cpp b/xfa/fwl/cfwl_form.cpp index 5ab7a567ac..5e59f274b4 100644 --- a/xfa/fwl/cfwl_form.cpp +++ b/xfa/fwl/cfwl_form.cpp @@ -21,7 +21,6 @@ #include "xfa/fwl/cfwl_themetext.h" #include "xfa/fwl/cfwl_widgetmgr.h" #include "xfa/fwl/ifwl_themeprovider.h" -#include "xfa/fwl/theme/cfwl_widgettp.h" CFWL_Form::CFWL_Form(const CFWL_App* app, std::unique_ptr properties, diff --git a/xfa/fwl/cfwl_widget.h b/xfa/fwl/cfwl_widget.h index 3111e9e1b0..1c5f84d62e 100644 --- a/xfa/fwl/cfwl_widget.h +++ b/xfa/fwl/cfwl_widget.h @@ -18,7 +18,6 @@ #include "xfa/fwl/cfwl_widgetmgr.h" #include "xfa/fwl/fwl_widgethit.h" #include "xfa/fwl/ifwl_widgetdelegate.h" -#include "xfa/fwl/theme/cfwl_widgettp.h" enum class FWL_Type { Unknown = 0, diff --git a/xfa/fwl/ifwl_themeprovider.h b/xfa/fwl/ifwl_themeprovider.h index 21a12a55f2..03767cfc06 100644 --- a/xfa/fwl/ifwl_themeprovider.h +++ b/xfa/fwl/ifwl_themeprovider.h @@ -7,8 +7,9 @@ #ifndef XFA_FWL_IFWL_THEMEPROVIDER_H_ #define XFA_FWL_IFWL_THEMEPROVIDER_H_ +#include "core/fxcrt/cfx_retain_ptr.h" #include "core/fxcrt/fx_coordinates.h" -#include "xfa/fwl/theme/cfwl_widgettp.h" +#include "xfa/fgas/font/cfgas_gefont.h" class CFWL_ThemeBackground; class CFWL_ThemePart; -- cgit v1.2.3