summaryrefslogtreecommitdiff
path: root/fxjs/cjs_v8.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-02-08 21:01:01 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-08 21:01:01 +0000
commit3645652fb6cad1f94c9647f033a8e300bc37d521 (patch)
tree136dd8524455efdc4bbc32eed7914d3a3b5376e0 /fxjs/cjs_v8.h
parent3c62d20a385d31315a392206de53c9fe72a08db1 (diff)
downloadpdfium-3645652fb6cad1f94c9647f033a8e300bc37d521.tar.xz
Move XFA-specific methods out of CJS_V8.
These belong more properly in CFXJS_Engine, and a small amount of casting is required to get to the sub-class. Change-Id: Id954d182b7a7d51fe0a522c04a50a1b362746c72 Reviewed-on: https://pdfium-review.googlesource.com/26050 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cjs_v8.h')
-rw-r--r--fxjs/cjs_v8.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/fxjs/cjs_v8.h b/fxjs/cjs_v8.h
index b8a1e13881..4599da3e36 100644
--- a/fxjs/cjs_v8.h
+++ b/fxjs/cjs_v8.h
@@ -16,10 +16,6 @@
#include "v8/include/v8-util.h"
#include "v8/include/v8.h"
-#ifdef PDF_ENABLE_XFA
-class CXFA_Object;
-#endif // PDF_ENABLE_XFA
-
class CJS_V8 {
public:
explicit CJS_V8(v8::Isolate* pIsolate);
@@ -47,12 +43,6 @@ class CJS_V8 {
v8::Local<v8::Object> ToObject(v8::Local<v8::Value> pValue);
v8::Local<v8::Array> ToArray(v8::Local<v8::Value> pValue);
-#ifdef PDF_ENABLE_XFA
- CXFA_Object* ToXFAObject(v8::Local<v8::Value> obj);
- v8::Local<v8::Value> NewXFAObject(CXFA_Object* obj,
- v8::Global<v8::FunctionTemplate>& tmpl);
-#endif // PDF_ENABLE_XFA
-
// Arrays.
unsigned GetArrayLength(v8::Local<v8::Array> pArray);
v8::Local<v8::Value> GetArrayElement(v8::Local<v8::Array> pArray,