diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-10-06 11:33:46 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-10-06 11:33:46 -0700 |
commit | 3745841a4c4ab915c98865c1dd71f9debc3e2f99 (patch) | |
tree | 9d43ea977a9f50faa40391f38264f6695527555c /fpdfsdk/src/javascript/app.cpp | |
parent | 1b1dd8a6907f4631044b1c03698170853af594a9 (diff) | |
download | pdfium-3745841a4c4ab915c98865c1dd71f9debc3e2f99.tar.xz |
Merge to XFA: Make the vast majority of JS headers private to src/javascript.
(cherry picked from commit 5b3d0208723f21c50b9922bdc500c9d78c359a25)
Original Review URL: https://codereview.chromium.org/1389783002 .
New changes to fix IWYU in:
fpdfsdk/include/fpdfxfa/fpdfxfa_app.h
xfa/include/fxfa/fxfa.h
xfa/include/fxfa/fxfa_objectacc.h
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1388023003 .
Diffstat (limited to 'fpdfsdk/src/javascript/app.cpp')
-rw-r--r-- | fpdfsdk/src/javascript/app.cpp | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/fpdfsdk/src/javascript/app.cpp b/fpdfsdk/src/javascript/app.cpp index fcaffa4e7f..892712243a 100644 --- a/fpdfsdk/src/javascript/app.cpp +++ b/fpdfsdk/src/javascript/app.cpp @@ -4,17 +4,19 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com +#include "app.h" + #include "../../../third_party/base/nonstd_unique_ptr.h" +#include "../../include/fsdk_mgr.h" // For CPDFDoc_Environment. #include "../../include/javascript/IJavaScript.h" -#include "../../include/javascript/JS_Define.h" -#include "../../include/javascript/JS_Object.h" -#include "../../include/javascript/JS_Value.h" -#include "../../include/javascript/app.h" -#include "../../include/javascript/JS_EventHandler.h" -#include "../../include/javascript/resource.h" -#include "../../include/javascript/JS_Context.h" -#include "../../include/javascript/JS_Runtime.h" -#include "../../include/javascript/Document.h" +#include "Document.h" +#include "JS_Context.h" +#include "JS_Define.h" +#include "JS_EventHandler.h" +#include "JS_Object.h" +#include "JS_Runtime.h" +#include "JS_Value.h" +#include "resource.h" static v8::Isolate* GetIsolate(IFXJS_Context* cc) { CJS_Context* pContext = (CJS_Context*)cc; |