From 61b2fc718910a5ab2a75ec5026b239ff33bccfdc Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Wed, 23 Mar 2016 19:21:44 -0400 Subject: Split core/include/fpdfapi/fpdf_resource.h This CL splits apart the core/include/fpdfapi/fpdf_resource.h file and places the classes into individual files. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1824033002 . --- fpdfsdk/pdfwindow/DEPS | 3 +++ fpdfsdk/pdfwindow/PWL_Edit.cpp | 2 +- fpdfsdk/pdfwindow/PWL_FontMap.cpp | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 fpdfsdk/pdfwindow/DEPS (limited to 'fpdfsdk/pdfwindow') diff --git a/fpdfsdk/pdfwindow/DEPS b/fpdfsdk/pdfwindow/DEPS new file mode 100644 index 0000000000..8e0928c269 --- /dev/null +++ b/fpdfsdk/pdfwindow/DEPS @@ -0,0 +1,3 @@ +include_rules = [ + '+core/fpdfapi/fpdf_font/include', +] diff --git a/fpdfsdk/pdfwindow/PWL_Edit.cpp b/fpdfsdk/pdfwindow/PWL_Edit.cpp index cf7e4ff5d9..affb1be87e 100644 --- a/fpdfsdk/pdfwindow/PWL_Edit.cpp +++ b/fpdfsdk/pdfwindow/PWL_Edit.cpp @@ -8,9 +8,9 @@ #include +#include "core/fpdfapi/fpdf_font/include/cpdf_font.h" #include "core/fxcrt/include/fx_safe_types.h" #include "core/fxcrt/include/fx_xml.h" -#include "core/include/fpdfapi/fpdf_resource.h" #include "core/include/fxge/fx_ge.h" #include "fpdfsdk/include/pdfwindow/PWL_Caret.h" #include "fpdfsdk/include/pdfwindow/PWL_EditCtrl.h" diff --git a/fpdfsdk/pdfwindow/PWL_FontMap.cpp b/fpdfsdk/pdfwindow/PWL_FontMap.cpp index 1ac55bcb6e..298b744888 100644 --- a/fpdfsdk/pdfwindow/PWL_FontMap.cpp +++ b/fpdfsdk/pdfwindow/PWL_FontMap.cpp @@ -6,9 +6,10 @@ #include "fpdfsdk/include/pdfwindow/PWL_FontMap.h" +#include "core/fpdfapi/fpdf_font/include/cpdf_font.h" +#include "core/fpdfapi/fpdf_font/include/cpdf_fontencoding.h" #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" #include "core/fpdfapi/include/cpdf_modulemgr.h" -#include "core/include/fpdfapi/fpdf_resource.h" #include "fpdfsdk/include/pdfwindow/PWL_Wnd.h" namespace { -- cgit v1.2.3