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 "fxjse/include/cfxjse_arguments.h" |
12 #include "xfa/fxfa/fm2js/xfa_fm2jscontext.h" | 13 #include "xfa/fxfa/fm2js/xfa_fm2jscontext.h" |
13 #include "xfa/fxfa/parser/xfa_document.h" | 14 #include "xfa/fxfa/parser/xfa_document.h" |
14 #include "xfa/fxfa/parser/xfa_script.h" | 15 #include "xfa/fxfa/parser/xfa_script.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: |
23 explicit CXFA_ScriptContext(CXFA_Document* pDocument); | 23 explicit CXFA_ScriptContext(CXFA_Document* pDocument); |
24 ~CXFA_ScriptContext(); | 24 ~CXFA_ScriptContext(); |
25 | 25 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 CFX_ArrayTemplate<CXFA_NodeList*> m_CacheListArray; | 114 CFX_ArrayTemplate<CXFA_NodeList*> m_CacheListArray; |
115 CXFA_NodeArray* m_pScriptNodeArray; | 115 CXFA_NodeArray* m_pScriptNodeArray; |
116 CXFA_ResolveProcessor* m_pResolveProcessor; | 116 CXFA_ResolveProcessor* m_pResolveProcessor; |
117 CXFA_FM2JSContext* m_hFM2JSContext; | 117 CXFA_FM2JSContext* m_hFM2JSContext; |
118 CXFA_Object* m_pThisObject; | 118 CXFA_Object* m_pThisObject; |
119 uint32_t m_dwBuiltInInFlags; | 119 uint32_t m_dwBuiltInInFlags; |
120 XFA_ATTRIBUTEENUM m_eRunAtType; | 120 XFA_ATTRIBUTEENUM m_eRunAtType; |
121 }; | 121 }; |
122 | 122 |
123 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_IMP_H_ | 123 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_IMP_H_ |
OLD | NEW |