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_VALUE_H_ | 7 #ifndef XFA_FXJSE_VALUE_H_ |
8 #define XFA_SRC_FXJSE_VALUE_H_ | 8 #define XFA_FXJSE_VALUE_H_ |
9 | 9 |
10 #include "xfa/src/fxjse/scope_inline.h" | 10 #include "xfa/fxjse/scope_inline.h" |
11 | 11 |
12 class CFXJSE_Value { | 12 class CFXJSE_Value { |
13 public: | 13 public: |
14 CFXJSE_Value(v8::Isolate* pIsolate) : m_pIsolate(pIsolate) {} | 14 CFXJSE_Value(v8::Isolate* pIsolate) : m_pIsolate(pIsolate) {} |
15 | 15 |
16 protected: | 16 protected: |
17 CFXJSE_Value(); | 17 CFXJSE_Value(); |
18 CFXJSE_Value(const CFXJSE_Value&); | 18 CFXJSE_Value(const CFXJSE_Value&); |
19 CFXJSE_Value& operator=(const CFXJSE_Value&); | 19 CFXJSE_Value& operator=(const CFXJSE_Value&); |
20 | 20 |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 public: | 231 public: |
232 static CFXJSE_Value* Create(v8::Isolate* pIsolate); | 232 static CFXJSE_Value* Create(v8::Isolate* pIsolate); |
233 | 233 |
234 protected: | 234 protected: |
235 v8::Isolate* m_pIsolate; | 235 v8::Isolate* m_pIsolate; |
236 v8::Global<v8::Value> m_hValue; | 236 v8::Global<v8::Value> m_hValue; |
237 friend class CFXJSE_Context; | 237 friend class CFXJSE_Context; |
238 friend class CFXJSE_Class; | 238 friend class CFXJSE_Class; |
239 }; | 239 }; |
240 | 240 |
241 #endif // XFA_SRC_FXJSE_VALUE_H_ | 241 #endif // XFA_FXJSE_VALUE_H_ |
OLD | NEW |