| 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_SRC_FXJSE_SRC_CLASS_H_ | 7 #ifndef XFA_SRC_FXJSE_SRC_CLASS_H_ |
| 8 #define XFA_SRC_FXJSE_SRC_CLASS_H_ | 8 #define XFA_SRC_FXJSE_SRC_CLASS_H_ |
| 9 | 9 |
| 10 #include <v8.h> | 10 #include "v8/include/v8.h" |
| 11 #include "xfa/include/fxjse/fxjse.h" |
| 11 | 12 |
| 12 class CFXJSE_Context; | 13 class CFXJSE_Context; |
| 13 class CFXJSE_Value; | 14 class CFXJSE_Value; |
| 14 | 15 |
| 15 class CFXJSE_Class { | 16 class CFXJSE_Class { |
| 16 protected: | 17 protected: |
| 17 CFXJSE_Class(CFXJSE_Context* lpContext) | 18 CFXJSE_Class(CFXJSE_Context* lpContext) |
| 18 : m_lpClassDefinition(nullptr), m_pContext(lpContext) {} | 19 : m_lpClassDefinition(nullptr), m_pContext(lpContext) {} |
| 19 | 20 |
| 20 public: | 21 public: |
| (...skipping 21 matching lines...) Expand all Loading... |
| 42 v8::Global<v8::FunctionTemplate> m_hTemplate; | 43 v8::Global<v8::FunctionTemplate> m_hTemplate; |
| 43 friend class CFXJSE_Context; | 44 friend class CFXJSE_Context; |
| 44 friend class CFXJSE_Value; | 45 friend class CFXJSE_Value; |
| 45 }; | 46 }; |
| 46 struct CFXJSE_ArgumentsImpl { | 47 struct CFXJSE_ArgumentsImpl { |
| 47 const v8::FunctionCallbackInfo<v8::Value>* m_pInfo; | 48 const v8::FunctionCallbackInfo<v8::Value>* m_pInfo; |
| 48 CFXJSE_Value* m_pRetValue; | 49 CFXJSE_Value* m_pRetValue; |
| 49 }; | 50 }; |
| 50 | 51 |
| 51 #endif // XFA_SRC_FXJSE_SRC_CLASS_H_ | 52 #endif // XFA_SRC_FXJSE_SRC_CLASS_H_ |
| OLD | NEW |