From fe9d640ea90cfccac39b6475dad9df62072542fc Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 14 Dec 2017 19:45:53 +0000 Subject: Create classes for XFA JS objects This CL creates classes for the various XFA JS objects. The method calls from xfa_basic_data_element_script have been modified to call these methods instead of methods in CJX_Object. Change-Id: Idb2de38656f7e8edc559d44921eba25073e6c806 Reviewed-on: https://pdfium-review.googlesource.com/21110 Commit-Queue: dsinclair Reviewed-by: Henrique Nakashima --- fxjs/xfa/cjx_model.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fxjs/xfa/cjx_model.h') diff --git a/fxjs/xfa/cjx_model.h b/fxjs/xfa/cjx_model.h index 17b8d3d6f5..fae1cc7cfd 100644 --- a/fxjs/xfa/cjx_model.h +++ b/fxjs/xfa/cjx_model.h @@ -21,6 +21,9 @@ class CJX_Model : public CJX_Node { JS_METHOD(createNode, CJX_Model); JS_METHOD(isCompatibleNS, CJX_Model); + JS_PROP(aliasNode); + JS_PROP(context); + private: static const CJX_MethodSpec MethodSpecs[]; }; -- cgit v1.2.3