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 #include <memory> | 11 #include <memory> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "fxjse/include/cfxjse_arguments.h" | 14 #include "fxjse/include/cfxjse_arguments.h" |
15 #include "xfa/fxfa/fm2js/xfa_fm2jscontext.h" | 15 #include "xfa/fxfa/fm2js/xfa_fm2jscontext.h" |
| 16 #include "xfa/fxfa/include/cxfa_eventparam.h" |
16 #include "xfa/fxfa/parser/xfa_document.h" | 17 #include "xfa/fxfa/parser/xfa_document.h" |
17 #include "xfa/fxfa/parser/xfa_script.h" | 18 #include "xfa/fxfa/parser/xfa_script.h" |
18 | 19 |
19 #define XFA_RESOLVENODE_TagName 0x0002 | 20 #define XFA_RESOLVENODE_TagName 0x0002 |
20 | 21 |
21 class CXFA_ResolveProcessor; | 22 class CXFA_ResolveProcessor; |
22 | 23 |
23 class CXFA_ScriptContext { | 24 class CXFA_ScriptContext { |
24 public: | 25 public: |
25 explicit CXFA_ScriptContext(CXFA_Document* pDocument); | 26 explicit CXFA_ScriptContext(CXFA_Document* pDocument); |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 std::vector<std::unique_ptr<CXFA_NodeList>> m_CacheList; | 117 std::vector<std::unique_ptr<CXFA_NodeList>> m_CacheList; |
117 CXFA_NodeArray* m_pScriptNodeArray; | 118 CXFA_NodeArray* m_pScriptNodeArray; |
118 std::unique_ptr<CXFA_ResolveProcessor> m_ResolveProcessor; | 119 std::unique_ptr<CXFA_ResolveProcessor> m_ResolveProcessor; |
119 std::unique_ptr<CXFA_FM2JSContext> m_FM2JSContext; | 120 std::unique_ptr<CXFA_FM2JSContext> m_FM2JSContext; |
120 CXFA_Object* m_pThisObject; | 121 CXFA_Object* m_pThisObject; |
121 uint32_t m_dwBuiltInInFlags; | 122 uint32_t m_dwBuiltInInFlags; |
122 XFA_ATTRIBUTEENUM m_eRunAtType; | 123 XFA_ATTRIBUTEENUM m_eRunAtType; |
123 }; | 124 }; |
124 | 125 |
125 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_IMP_H_ | 126 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_IMP_H_ |
OLD | NEW |