From 93bb725b62f9779534c9444c1e1319fe8c28912e Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 7 Dec 2017 22:33:43 +0000 Subject: [xfa] Move JS method information to files. This CL moves the XFA SOM JS Method information out of the c-array and into individual CJX class files. Change-Id: I401046a06aacaf1f04e5a51eb899e479de012e15 Reviewed-on: https://pdfium-review.googlesource.com/20450 Reviewed-by: Lei Zhang Commit-Queue: dsinclair --- fxjs/cfxjse_engine.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'fxjs/cfxjse_engine.h') diff --git a/fxjs/cfxjse_engine.h b/fxjs/cfxjse_engine.h index a675a390da..5310a5c1a5 100644 --- a/fxjs/cfxjse_engine.h +++ b/fxjs/cfxjse_engine.h @@ -19,6 +19,7 @@ #define XFA_RESOLVENODE_TagName 0x0002 +class CXFA_List; class CFXJSE_ResolveProcessor; class CFXJSE_Engine { @@ -62,7 +63,7 @@ class CFXJSE_Engine { uint32_t dwStyles, CXFA_Node* bindNode); CFXJSE_Value* GetJSValueFromMap(CXFA_Object* pObject); - void AddToCacheList(std::unique_ptr pList); + void AddToCacheList(std::unique_ptr pList); CXFA_Object* GetThisObject() const { return m_pThisObject; } v8::Isolate* GetRuntime() const { return m_pIsolate; } @@ -108,8 +109,8 @@ class CFXJSE_Engine { m_mapVariableToContext; CXFA_EventParam m_eventParam; std::vector m_upObjectArray; - // CacheList holds the NodeList items so we can clean them up when we're done. - std::vector> m_CacheList; + // CacheList holds the List items so we can clean them up when we're done. + std::vector> m_CacheList; std::vector* m_pScriptNodeArray; std::unique_ptr m_ResolveProcessor; std::unique_ptr m_FM2JSContext; -- cgit v1.2.3