| 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 FPDFSDK_INCLUDE_JAVASCRIPT_JS_VALUE_H_ |
| 8 #define _JS_VALUE_H_ | 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_JS_VALUE_H_ |
| 9 | 9 |
| 10 #include "../../../core/include/fxcrt/fx_basic.h" |
| 10 #include "../jsapi/fxjs_v8.h" | 11 #include "../jsapi/fxjs_v8.h" |
| 11 #include "../../../core/include/fxcrt/fx_basic.h" | |
| 12 | 12 |
| 13 class CJS_Array; | 13 class CJS_Array; |
| 14 class CJS_Date; | 14 class CJS_Date; |
| 15 class CJS_Document; | 15 class CJS_Document; |
| 16 class CJS_Object; | 16 class CJS_Object; |
| 17 | 17 |
| 18 class CJS_Value | 18 class CJS_Value |
| 19 { | 19 { |
| 20 public: | 20 public: |
| 21 CJS_Value(v8::Isolate* isolate); | 21 CJS_Value(v8::Isolate* isolate); |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 179 |
| 180 static double MakeDate(int year, int mon, int mday,int hour, int min,
int sec,int ms); | 180 static double MakeDate(int year, int mon, int mday,int hour, int min,
int sec,int ms); |
| 181 | 181 |
| 182 FX_BOOL IsValidDate(); | 182 FX_BOOL IsValidDate(); |
| 183 | 183 |
| 184 protected: | 184 protected: |
| 185 v8::Local<v8::Value> m_pDate; | 185 v8::Local<v8::Value> m_pDate; |
| 186 v8::Isolate* m_isolate; | 186 v8::Isolate* m_isolate; |
| 187 }; | 187 }; |
| 188 | 188 |
| 189 #endif //_JS_VALUE_H_ | 189 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_JS_VALUE_H_ |
| 190 | |
| OLD | NEW |