Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: xfa/fxfa/parser/cxfa_scriptcontext.h

Issue 2612923002: Remove CFX_MapPtrToPtr from xfa/fxfa. (Closed)
Patch Set: endless loop Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxfa/parser/cxfa_node.cpp ('k') | xfa/fxfa/parser/cxfa_scriptcontext.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 CXFA_Node* pSubform); 102 CXFA_Node* pSubform);
103 void DefineJsClass(); 103 void DefineJsClass();
104 void RemoveBuiltInObjs(CFXJSE_Context* pContext) const; 104 void RemoveBuiltInObjs(CFXJSE_Context* pContext) const;
105 105
106 CXFA_Document* m_pDocument; 106 CXFA_Document* m_pDocument;
107 std::unique_ptr<CFXJSE_Context> m_JsContext; 107 std::unique_ptr<CFXJSE_Context> m_JsContext;
108 v8::Isolate* m_pIsolate; 108 v8::Isolate* m_pIsolate;
109 CFXJSE_Class* m_pJsClass; 109 CFXJSE_Class* m_pJsClass;
110 XFA_SCRIPTLANGTYPE m_eScriptType; 110 XFA_SCRIPTLANGTYPE m_eScriptType;
111 std::map<CXFA_Object*, std::unique_ptr<CFXJSE_Value>> m_mapObjectToValue; 111 std::map<CXFA_Object*, std::unique_ptr<CFXJSE_Value>> m_mapObjectToValue;
112 CFX_MapPtrTemplate<CXFA_Object*, CFXJSE_Context*> m_mapVariableToContext; 112 std::map<CXFA_Object*, CFXJSE_Context*> m_mapVariableToContext;
113 CXFA_EventParam m_eventParam; 113 CXFA_EventParam m_eventParam;
114 CXFA_NodeArray m_upObjectArray; 114 CXFA_NodeArray m_upObjectArray;
115 // CacheList holds the NodeList items so we can clean them up when we're done. 115 // CacheList holds the NodeList items so we can clean them up when we're done.
116 std::vector<std::unique_ptr<CXFA_NodeList>> m_CacheList; 116 std::vector<std::unique_ptr<CXFA_NodeList>> m_CacheList;
117 CXFA_NodeArray* m_pScriptNodeArray; 117 CXFA_NodeArray* m_pScriptNodeArray;
118 std::unique_ptr<CXFA_ResolveProcessor> m_ResolveProcessor; 118 std::unique_ptr<CXFA_ResolveProcessor> m_ResolveProcessor;
119 std::unique_ptr<CXFA_FM2JSContext> m_FM2JSContext; 119 std::unique_ptr<CXFA_FM2JSContext> m_FM2JSContext;
120 CXFA_Object* m_pThisObject; 120 CXFA_Object* m_pThisObject;
121 uint32_t m_dwBuiltInInFlags; 121 uint32_t m_dwBuiltInInFlags;
122 XFA_ATTRIBUTEENUM m_eRunAtType; 122 XFA_ATTRIBUTEENUM m_eRunAtType;
123 }; 123 };
124 124
125 #endif // XFA_FXFA_PARSER_CXFA_SCRIPTCONTEXT_H_ 125 #endif // XFA_FXFA_PARSER_CXFA_SCRIPTCONTEXT_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/cxfa_node.cpp ('k') | xfa/fxfa/parser/cxfa_scriptcontext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698