From 5899671184d01b74989d181363066379ef3e4051 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 6 Nov 2015 13:49:48 -0800 Subject: Fix all relative includes to public. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1415803007 . --- fpdfsdk/include/fsdk_define.h | 4 ++-- fpdfsdk/include/fsdk_mgr.h | 4 ++-- fpdfsdk/include/fsdk_rendercontext.h | 2 +- fpdfsdk/include/pdfwindow/PDFWindow.h | 2 +- fpdfsdk/include/pdfwindow/PWL_FontMap.h | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'fpdfsdk/include') diff --git a/fpdfsdk/include/fsdk_define.h b/fpdfsdk/include/fsdk_define.h index 4177f76d72..3f37b3a009 100644 --- a/fpdfsdk/include/fsdk_define.h +++ b/fpdfsdk/include/fsdk_define.h @@ -7,17 +7,17 @@ #ifndef FPDFSDK_INCLUDE_FSDK_DEFINE_H_ #define FPDFSDK_INCLUDE_FSDK_DEFINE_H_ +#include "../../core/include/fpdfapi/fpdfapi.h" #include "../../core/include/fpdfapi/fpdf_module.h" #include "../../core/include/fpdfapi/fpdf_pageobj.h" #include "../../core/include/fpdfapi/fpdf_parser.h" #include "../../core/include/fpdfapi/fpdf_render.h" #include "../../core/include/fpdfapi/fpdf_serial.h" -#include "../../core/include/fpdfapi/fpdfapi.h" #include "../../core/include/fpdfdoc/fpdf_doc.h" #include "../../core/include/fpdfdoc/fpdf_vt.h" #include "../../core/include/fxge/fx_ge.h" #include "../../core/include/fxge/fx_ge_win32.h" -#include "../../public/fpdfview.h" +#include "public/fpdfview.h" #ifdef _WIN32 #include diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h index 32e640912c..0dd331e142 100644 --- a/fpdfsdk/include/fsdk_mgr.h +++ b/fpdfsdk/include/fsdk_mgr.h @@ -10,8 +10,6 @@ #include #include "../../core/include/fpdftext/fpdf_text.h" -#include "../../public/fpdf_formfill.h" -#include "../../public/fpdf_fwlevent.h" // cross platform keycode and events define. #include "fsdk_actionhandler.h" #include "fsdk_annothandler.h" #include "fsdk_baseannot.h" @@ -20,6 +18,8 @@ #include "fsdk_define.h" #include "fx_systemhandler.h" #include "javascript/IJavaScript.h" +#include "public/fpdf_formfill.h" +#include "public/fpdf_fwlevent.h" // cross platform keycode and events define. #include "third_party/base/nonstd_unique_ptr.h" class CFFL_IFormFiller; diff --git a/fpdfsdk/include/fsdk_rendercontext.h b/fpdfsdk/include/fsdk_rendercontext.h index 16f8ff88cf..8c007b567f 100644 --- a/fpdfsdk/include/fsdk_rendercontext.h +++ b/fpdfsdk/include/fsdk_rendercontext.h @@ -7,8 +7,8 @@ #ifndef FPDFSDK_INCLUDE_FSDK_RENDERCONTEXT_H_ #define FPDFSDK_INCLUDE_FSDK_RENDERCONTEXT_H_ -#include "../../public/fpdf_progressive.h" #include "fsdk_define.h" +#include "public/fpdf_progressive.h" // Everything about rendering is put here: for OOM recovery class CRenderContext { diff --git a/fpdfsdk/include/pdfwindow/PDFWindow.h b/fpdfsdk/include/pdfwindow/PDFWindow.h index 2abb38cd68..1b5e71f168 100644 --- a/fpdfsdk/include/pdfwindow/PDFWindow.h +++ b/fpdfsdk/include/pdfwindow/PDFWindow.h @@ -10,8 +10,8 @@ #include "../../../core/include/fpdfapi/fpdf_module.h" #include "../../../core/include/fpdfdoc/fpdf_doc.h" #include "../../../core/include/fpdfdoc/fpdf_vt.h" -#include "../../../public/fpdf_fwlevent.h" #include "../fx_systemhandler.h" #include "../fxedit/fx_edit.h" +#include "public/fpdf_fwlevent.h" #endif // FPDFSDK_INCLUDE_PDFWINDOW_PDFWINDOW_H_ diff --git a/fpdfsdk/include/pdfwindow/PWL_FontMap.h b/fpdfsdk/include/pdfwindow/PWL_FontMap.h index f91d7e823f..c7d4490280 100644 --- a/fpdfsdk/include/pdfwindow/PWL_FontMap.h +++ b/fpdfsdk/include/pdfwindow/PWL_FontMap.h @@ -7,8 +7,8 @@ #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_FONTMAP_H_ #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_FONTMAP_H_ -#include "../../../public/fpdf_sysfontinfo.h" #include "../fxedit/fx_edit.h" +#include "public/fpdf_sysfontinfo.h" class CPDF_Document; class IFX_SystemHandler; -- cgit v1.2.3