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 FXJS_INCLUDE_FXJSE_H_ | 7 #ifndef FXJS_FXJSE_H_ |
8 #define FXJS_INCLUDE_FXJSE_H_ | 8 #define FXJS_FXJSE_H_ |
9 | 9 |
10 #include "core/fxcrt/fx_string.h" | 10 #include "core/fxcrt/fx_string.h" |
11 #include "core/fxcrt/fx_system.h" | 11 #include "core/fxcrt/fx_system.h" |
12 #include "v8/include/v8.h" | 12 #include "v8/include/v8.h" |
13 | 13 |
14 class CFXJSE_Arguments; | 14 class CFXJSE_Arguments; |
15 class CFXJSE_Value; | 15 class CFXJSE_Value; |
16 | 16 |
17 // C++ object which can be wrapped by CFXJSE_value. | 17 // C++ object which can be wrapped by CFXJSE_value. |
18 class CFXJSE_HostObject { | 18 class CFXJSE_HostObject { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 }; | 64 }; |
65 | 65 |
66 void FXJSE_Initialize(); | 66 void FXJSE_Initialize(); |
67 void FXJSE_Finalize(); | 67 void FXJSE_Finalize(); |
68 | 68 |
69 v8::Isolate* FXJSE_Runtime_Create_Own(); | 69 v8::Isolate* FXJSE_Runtime_Create_Own(); |
70 void FXJSE_Runtime_Release(v8::Isolate* pIsolate); | 70 void FXJSE_Runtime_Release(v8::Isolate* pIsolate); |
71 | 71 |
72 void FXJSE_ThrowMessage(const CFX_ByteStringC& utf8Message); | 72 void FXJSE_ThrowMessage(const CFX_ByteStringC& utf8Message); |
73 | 73 |
74 #endif // FXJS_INCLUDE_FXJSE_H_ | 74 #endif // FXJS_FXJSE_H_ |
OLD | NEW |