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_CFXJSE_VALUE_H_ | 7 #ifndef FXJS_INCLUDE_CFXJSE_VALUE_H_ |
8 #define FXJS_INCLUDE_CFXJSE_VALUE_H_ | 8 #define FXJS_INCLUDE_CFXJSE_VALUE_H_ |
9 | 9 |
10 #include "v8/include/v8.h" | 10 #include "v8/include/v8.h" |
11 | 11 |
12 #include "core/fxcrt/include/fx_string.h" | 12 #include "core/fxcrt/fx_string.h" |
13 #include "core/fxcrt/include/fx_system.h" | 13 #include "core/fxcrt/fx_system.h" |
14 #include "fxjs/cfxjse_isolatetracker.h" | 14 #include "fxjs/cfxjse_isolatetracker.h" |
15 #include "fxjs/cfxjse_runtimedata.h" | 15 #include "fxjs/cfxjse_runtimedata.h" |
16 | 16 |
17 class CFXJSE_Class; | 17 class CFXJSE_Class; |
18 class CFXJSE_HostObject; | 18 class CFXJSE_HostObject; |
19 | 19 |
20 class CFXJSE_Value { | 20 class CFXJSE_Value { |
21 public: | 21 public: |
22 explicit CFXJSE_Value(v8::Isolate* pIsolate); | 22 explicit CFXJSE_Value(v8::Isolate* pIsolate); |
23 ~CFXJSE_Value(); | 23 ~CFXJSE_Value(); |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 CFXJSE_Value(); | 94 CFXJSE_Value(); |
95 CFXJSE_Value(const CFXJSE_Value&); | 95 CFXJSE_Value(const CFXJSE_Value&); |
96 CFXJSE_Value& operator=(const CFXJSE_Value&); | 96 CFXJSE_Value& operator=(const CFXJSE_Value&); |
97 | 97 |
98 v8::Isolate* m_pIsolate; | 98 v8::Isolate* m_pIsolate; |
99 v8::Global<v8::Value> m_hValue; | 99 v8::Global<v8::Value> m_hValue; |
100 }; | 100 }; |
101 | 101 |
102 #endif // FXJS_INCLUDE_CFXJSE_VALUE_H_ | 102 #endif // FXJS_INCLUDE_CFXJSE_VALUE_H_ |
OLD | NEW |