diff options
author | dsinclair <dsinclair@chromium.org> | 2016-03-31 20:03:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-31 20:03:24 -0700 |
commit | 64376be4aac4710848b36b823fd98aae75095336 (patch) | |
tree | b616a397d96e05b9e30ccc7de2e4e6a4334a6a59 /fpdfsdk/javascript/Document.cpp | |
parent | 777b333109db7fceb5f2ca1fc521ced7f863fa18 (diff) | |
download | pdfium-64376be4aac4710848b36b823fd98aae75095336.tar.xz |
Move the fpdfsdk/include/javascript folder
This CL splits the IJavaScript.h file into the two inner classes and puts them
in the fpdfsdk/javascript folder.
Review URL: https://codereview.chromium.org/1847583004
Diffstat (limited to 'fpdfsdk/javascript/Document.cpp')
-rw-r--r-- | fpdfsdk/javascript/Document.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/fpdfsdk/javascript/Document.cpp b/fpdfsdk/javascript/Document.cpp index 70b4ef7e03..762ba71cf2 100644 --- a/fpdfsdk/javascript/Document.cpp +++ b/fpdfsdk/javascript/Document.cpp @@ -12,16 +12,15 @@ #include "core/fpdfapi/fpdf_page/include/cpdf_page.h" #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" #include "fpdfsdk/include/fsdk_mgr.h" -#include "fpdfsdk/include/javascript/IJavaScript.h" #include "fpdfsdk/javascript/Field.h" #include "fpdfsdk/javascript/Icon.h" -#include "fpdfsdk/javascript/JS_Context.h" #include "fpdfsdk/javascript/JS_Define.h" #include "fpdfsdk/javascript/JS_EventHandler.h" #include "fpdfsdk/javascript/JS_Object.h" -#include "fpdfsdk/javascript/JS_Runtime.h" #include "fpdfsdk/javascript/JS_Value.h" #include "fpdfsdk/javascript/app.h" +#include "fpdfsdk/javascript/cjs_context.h" +#include "fpdfsdk/javascript/cjs_runtime.h" #include "fpdfsdk/javascript/resource.h" #include "third_party/base/numerics/safe_math.h" @@ -54,8 +53,6 @@ PrintParamsObj::PrintParamsObj(CJS_Object* pJSObject) bAnnotations = TRUE; } -/* ---------------------- Document ---------------------- */ - #define MINWIDTH 5.0f #define MINHEIGHT 5.0f @@ -148,9 +145,6 @@ void CJS_Document::InitInstance(IJS_Runtime* pIRuntime) { pDoc->SetIsolate(pRuntime->GetIsolate()); } -/* --------------------------------- Document --------------------------------- - */ - Document::Document(CJS_Object* pJSObject) : CJS_EmbedObj(pJSObject), m_isolate(NULL), |