diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-10-06 07:50:47 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-10-06 07:50:47 -0700 |
commit | 5b3d0208723f21c50b9922bdc500c9d78c359a25 (patch) | |
tree | f381d6ee565cb981680a0e66d5f7c04efb9a22e8 /fpdfsdk/src/javascript/PublicMethods.cpp | |
parent | 35902e725aa6cc83a317c3b6fdd1926b81b8e44b (diff) | |
download | pdfium-5b3d0208723f21c50b9922bdc500c9d78c359a25.tar.xz |
Make the vast majority of JS headers private to src/javascript.
The fpdfsdk/include/javascript/IJavascript.h is the sole API.
This required moving a creaton method to it from JS_Runtime.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1389783002 .
Diffstat (limited to 'fpdfsdk/src/javascript/PublicMethods.cpp')
-rw-r--r-- | fpdfsdk/src/javascript/PublicMethods.cpp | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/fpdfsdk/src/javascript/PublicMethods.cpp b/fpdfsdk/src/javascript/PublicMethods.cpp index 5b923ca4fc..974049838f 100644 --- a/fpdfsdk/src/javascript/PublicMethods.cpp +++ b/fpdfsdk/src/javascript/PublicMethods.cpp @@ -4,19 +4,20 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com +#include "PublicMethods.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/PublicMethods.h" -#include "../../include/javascript/JS_EventHandler.h" -#include "../../include/javascript/resource.h" -#include "../../include/javascript/JS_Context.h" -#include "../../include/javascript/JS_Value.h" -#include "../../include/javascript/util.h" -#include "../../include/javascript/Field.h" -#include "../../include/javascript/color.h" -#include "../../include/javascript/JS_Runtime.h" +#include "Field.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 "color.h" +#include "resource.h" +#include "util.h" static v8::Isolate* GetIsolate(IFXJS_Context* cc) { CJS_Context* pContext = (CJS_Context*)cc; |