| 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 _JS_VALUE_H_ | 7 #ifndef _JS_VALUE_H_ |
| 8 #define _JS_VALUE_H_ | 8 #define _JS_VALUE_H_ |
| 9 | 9 |
| 10 #include "../jsapi/fxjs_v8.h" |
| 11 #include "../../../core/include/fxcrt/fx_basic.h" |
| 12 |
| 10 class CJS_Array; | 13 class CJS_Array; |
| 11 class CJS_Date; | 14 class CJS_Date; |
| 12 class CJS_Document; | 15 class CJS_Document; |
| 13 class CJS_Object; | 16 class CJS_Object; |
| 14 | 17 |
| 15 class CJS_Value | 18 class CJS_Value |
| 16 { | 19 { |
| 17 public: | 20 public: |
| 18 CJS_Value(v8::Isolate* isolate); | 21 CJS_Value(v8::Isolate* isolate); |
| 19 CJS_Value(v8::Isolate* isolate, v8::Handle<v8::Value> pValue,FXJSVALUETY
PE t); | 22 CJS_Value(v8::Isolate* isolate, v8::Handle<v8::Value> pValue,FXJSVALUETY
PE t); |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 | 181 |
| 179 FX_BOOL IsValidDate(); | 182 FX_BOOL IsValidDate(); |
| 180 | 183 |
| 181 protected: | 184 protected: |
| 182 v8::Handle<v8::Value> m_pDate; | 185 v8::Handle<v8::Value> m_pDate; |
| 183 v8::Isolate* m_isolate; | 186 v8::Isolate* m_isolate; |
| 184 }; | 187 }; |
| 185 | 188 |
| 186 #endif //_JS_VALUE_H_ | 189 #endif //_JS_VALUE_H_ |
| 187 | 190 |
| OLD | NEW |