OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_FXFA_PARSER_XFA_SCRIPT_IMP_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_SCRIPT_IMP_H_ |
8 #define XFA_FXFA_PARSER_XFA_SCRIPT_IMP_H_ | 8 #define XFA_FXFA_PARSER_XFA_SCRIPT_IMP_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 | 11 |
12 #include "xfa/fxfa/fm2js/xfa_fm2jsapi.h" | 12 #include "xfa/fxfa/fm2js/xfa_fm2jscontext.h" |
13 #include "xfa/fxfa/parser/xfa_document.h" | 13 #include "xfa/fxfa/parser/xfa_document.h" |
14 #include "xfa/fxfa/parser/xfa_script.h" | 14 #include "xfa/fxfa/parser/xfa_script.h" |
15 #include "xfa/fxjse/cfxjse_arguments.h" | 15 #include "xfa/fxjse/cfxjse_arguments.h" |
16 | 16 |
17 #define XFA_RESOLVENODE_TagName 0x0002 | 17 #define XFA_RESOLVENODE_TagName 0x0002 |
18 | 18 |
19 class CXFA_ResolveProcessor; | 19 class CXFA_ResolveProcessor; |
20 | 20 |
21 class CXFA_ScriptContext { | 21 class CXFA_ScriptContext { |
22 public: | 22 public: |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 v8::Isolate* m_pIsolate; | 105 v8::Isolate* m_pIsolate; |
106 CFXJSE_Class* m_pJsClass; | 106 CFXJSE_Class* m_pJsClass; |
107 XFA_SCRIPTLANGTYPE m_eScriptType; | 107 XFA_SCRIPTLANGTYPE m_eScriptType; |
108 CFX_MapPtrTemplate<CXFA_Object*, CFXJSE_Value*> m_mapXFAToValue; | 108 CFX_MapPtrTemplate<CXFA_Object*, CFXJSE_Value*> m_mapXFAToValue; |
109 CFX_MapPtrTemplate<CXFA_Object*, CFXJSE_Context*> m_mapVariableToContext; | 109 CFX_MapPtrTemplate<CXFA_Object*, CFXJSE_Context*> m_mapVariableToContext; |
110 CXFA_EventParam m_eventParam; | 110 CXFA_EventParam m_eventParam; |
111 CXFA_NodeArray m_upObjectArray; | 111 CXFA_NodeArray m_upObjectArray; |
112 CFX_ArrayTemplate<CXFA_NodeList*> m_CacheListArray; | 112 CFX_ArrayTemplate<CXFA_NodeList*> m_CacheListArray; |
113 CXFA_NodeArray* m_pScriptNodeArray; | 113 CXFA_NodeArray* m_pScriptNodeArray; |
114 CXFA_ResolveProcessor* m_pResolveProcessor; | 114 CXFA_ResolveProcessor* m_pResolveProcessor; |
115 XFA_HFM2JSCONTEXT m_hFM2JSContext; | 115 CXFA_FM2JSContext* m_hFM2JSContext; |
116 CXFA_Object* m_pThisObject; | 116 CXFA_Object* m_pThisObject; |
117 uint32_t m_dwBuiltInInFlags; | 117 uint32_t m_dwBuiltInInFlags; |
118 XFA_ATTRIBUTEENUM m_eRunAtType; | 118 XFA_ATTRIBUTEENUM m_eRunAtType; |
119 }; | 119 }; |
120 | 120 |
121 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_IMP_H_ | 121 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_IMP_H_ |
OLD | NEW |