| 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" |
| 11 #include "xfa/fxjse/cfxjse_arguments.h" |
| 11 | 12 |
| 12 class CXFA_FM2JSContext { | 13 class CXFA_FM2JSContext { |
| 13 public: | 14 public: |
| 14 static void Abs(FXJSE_HOBJECT hThis, | 15 static void Abs(FXJSE_HOBJECT hThis, |
| 15 const CFX_ByteStringC& szFuncName, | 16 const CFX_ByteStringC& szFuncName, |
| 16 CFXJSE_Arguments& args); | 17 CFXJSE_Arguments& args); |
| 17 static void Avg(FXJSE_HOBJECT hThis, | 18 static void Avg(FXJSE_HOBJECT hThis, |
| 18 const CFX_ByteStringC& szFuncName, | 19 const CFX_ByteStringC& szFuncName, |
| 19 CFXJSE_Arguments& args); | 20 CFXJSE_Arguments& args); |
| 20 static void Ceil(FXJSE_HOBJECT hThis, | 21 static void Ceil(FXJSE_HOBJECT hThis, |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 | 445 |
| 445 private: | 446 private: |
| 446 FXJSE_HRUNTIME m_hScriptRuntime; | 447 FXJSE_HRUNTIME m_hScriptRuntime; |
| 447 FXJSE_CLASS m_fmClass; | 448 FXJSE_CLASS m_fmClass; |
| 448 FXJSE_HCLASS m_hFMClass; | 449 FXJSE_HCLASS m_hFMClass; |
| 449 FXJSE_HVALUE m_hValue; | 450 FXJSE_HVALUE m_hValue; |
| 450 CXFA_Document* m_pDocument; | 451 CXFA_Document* m_pDocument; |
| 451 }; | 452 }; |
| 452 | 453 |
| 453 #endif // XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ | 454 #endif // XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ |
| OLD | NEW |