| 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_FM2JS_XFA_FM2JSCONTEXT_H_ | 7 #ifndef XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ |
| 8 #define XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ | 8 #define XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ |
| 9 | 9 |
| 10 #include "xfa/fxfa/parser/xfa_script.h" | 10 #include "xfa/fxfa/parser/xfa_script.h" |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 CFXJSE_Context* pScriptContext, | 440 CFXJSE_Context* pScriptContext, |
| 441 CXFA_Document* pDoc); | 441 CXFA_Document* pDoc); |
| 442 void GlobalPropertyGetter(CFXJSE_Value* pValue); | 442 void GlobalPropertyGetter(CFXJSE_Value* pValue); |
| 443 | 443 |
| 444 v8::Isolate* GetScriptRuntime() const { return m_pIsolate; } | 444 v8::Isolate* GetScriptRuntime() const { return m_pIsolate; } |
| 445 CXFA_Document* GetDocument() const { return m_pDocument; } | 445 CXFA_Document* GetDocument() const { return m_pDocument; } |
| 446 void ThrowScriptErrorMessage(int32_t iStringID, ...); | 446 void ThrowScriptErrorMessage(int32_t iStringID, ...); |
| 447 | 447 |
| 448 private: | 448 private: |
| 449 v8::Isolate* m_pIsolate; | 449 v8::Isolate* m_pIsolate; |
| 450 FXJSE_CLASS m_fmClass; | 450 FXJSE_CLASS_DESCRIPTOR m_ClassDescriptor; |
| 451 CFXJSE_Class* m_pFMClass; | 451 CFXJSE_Class* m_pFMClass; |
| 452 CFXJSE_Value* m_pValue; | 452 CFXJSE_Value* m_pValue; |
| 453 CXFA_Document* m_pDocument; | 453 CXFA_Document* m_pDocument; |
| 454 }; | 454 }; |
| 455 | 455 |
| 456 #endif // XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ | 456 #endif // XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ |
| OLD | NEW |