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_CXFA_SCRIPTCONTEXT_H_ | 7 #ifndef XFA_FXFA_PARSER_CXFA_SCRIPTCONTEXT_H_ |
8 #define XFA_FXFA_PARSER_CXFA_SCRIPTCONTEXT_H_ | 8 #define XFA_FXFA_PARSER_CXFA_SCRIPTCONTEXT_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 "fxjs/include/cfxjse_arguments.h" | 14 #include "fxjs/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/include/cxfa_eventparam.h" |
17 #include "xfa/fxfa/parser/cxfa_document.h" | 17 #include "xfa/fxfa/parser/cxfa_document.h" |
18 #include "xfa/fxfa/parser/xfa_resolvenode_rs.h" | 18 #include "xfa/fxfa/parser/xfa_resolvenode_rs.h" |
19 | 19 |
20 #define XFA_RESOLVENODE_TagName 0x0002 | 20 #define XFA_RESOLVENODE_TagName 0x0002 |
21 | 21 |
22 class CXFA_ResolveProcessor; | 22 class CXFA_ResolveProcessor; |
23 | 23 |
24 class CXFA_ScriptContext { | 24 class CXFA_ScriptContext { |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 std::vector<std::unique_ptr<CXFA_NodeList>> m_CacheList; | 117 std::vector<std::unique_ptr<CXFA_NodeList>> m_CacheList; |
118 CXFA_NodeArray* m_pScriptNodeArray; | 118 CXFA_NodeArray* m_pScriptNodeArray; |
119 std::unique_ptr<CXFA_ResolveProcessor> m_ResolveProcessor; | 119 std::unique_ptr<CXFA_ResolveProcessor> m_ResolveProcessor; |
120 std::unique_ptr<CXFA_FM2JSContext> m_FM2JSContext; | 120 std::unique_ptr<CXFA_FM2JSContext> m_FM2JSContext; |
121 CXFA_Object* m_pThisObject; | 121 CXFA_Object* m_pThisObject; |
122 uint32_t m_dwBuiltInInFlags; | 122 uint32_t m_dwBuiltInInFlags; |
123 XFA_ATTRIBUTEENUM m_eRunAtType; | 123 XFA_ATTRIBUTEENUM m_eRunAtType; |
124 }; | 124 }; |
125 | 125 |
126 #endif // XFA_FXFA_PARSER_CXFA_SCRIPTCONTEXT_H_ | 126 #endif // XFA_FXFA_PARSER_CXFA_SCRIPTCONTEXT_H_ |
OLD | NEW |