| 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 // FXJS_V8 is a layer that makes it easier to define native objects in V8, but | 7 // FXJS_V8 is a layer that makes it easier to define native objects in V8, but |
| 8 // has no knowledge of PDF-specific native objects. It could in theory be used | 8 // has no knowledge of PDF-specific native objects. It could in theory be used |
| 9 // to implement other sets of native objects. | 9 // to implement other sets of native objects. |
| 10 | 10 |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 unsigned index, | 253 unsigned index, |
| 254 v8::Local<v8::Value> pValue); | 254 v8::Local<v8::Value> pValue); |
| 255 | 255 |
| 256 v8::Local<v8::Value> FXJS_NewNull(v8::Isolate* pIsolate); | 256 v8::Local<v8::Value> FXJS_NewNull(v8::Isolate* pIsolate); |
| 257 v8::Local<v8::Array> FXJS_NewArray(v8::Isolate* pIsolate); | 257 v8::Local<v8::Array> FXJS_NewArray(v8::Isolate* pIsolate); |
| 258 v8::Local<v8::Value> FXJS_NewNumber(v8::Isolate* pIsolate, int number); | 258 v8::Local<v8::Value> FXJS_NewNumber(v8::Isolate* pIsolate, int number); |
| 259 v8::Local<v8::Value> FXJS_NewNumber(v8::Isolate* pIsolate, double number); | 259 v8::Local<v8::Value> FXJS_NewNumber(v8::Isolate* pIsolate, double number); |
| 260 v8::Local<v8::Value> FXJS_NewNumber(v8::Isolate* pIsolate, float number); | 260 v8::Local<v8::Value> FXJS_NewNumber(v8::Isolate* pIsolate, float number); |
| 261 v8::Local<v8::Value> FXJS_NewBoolean(v8::Isolate* pIsolate, bool b); | 261 v8::Local<v8::Value> FXJS_NewBoolean(v8::Isolate* pIsolate, bool b); |
| 262 v8::Local<v8::Value> FXJS_NewString(v8::Isolate* pIsolate, const wchar_t* str); | 262 v8::Local<v8::Value> FXJS_NewString(v8::Isolate* pIsolate, const wchar_t* str); |
| 263 v8::Local<v8::Value> FXJS_NewDate(v8::Isolate* pIsolate, double d); | 263 v8::Local<v8::Date> FXJS_NewDate(v8::Isolate* pIsolate, double d); |
| 264 | 264 |
| 265 int FXJS_ToInt32(v8::Isolate* pIsolate, v8::Local<v8::Value> pValue); | 265 int FXJS_ToInt32(v8::Isolate* pIsolate, v8::Local<v8::Value> pValue); |
| 266 bool FXJS_ToBoolean(v8::Isolate* pIsolate, v8::Local<v8::Value> pValue); | 266 bool FXJS_ToBoolean(v8::Isolate* pIsolate, v8::Local<v8::Value> pValue); |
| 267 double FXJS_ToNumber(v8::Isolate* pIsolate, v8::Local<v8::Value> pValue); | 267 double FXJS_ToNumber(v8::Isolate* pIsolate, v8::Local<v8::Value> pValue); |
| 268 v8::Local<v8::Object> FXJS_ToObject(v8::Isolate* pIsolate, | 268 v8::Local<v8::Object> FXJS_ToObject(v8::Isolate* pIsolate, |
| 269 v8::Local<v8::Value> pValue); | 269 v8::Local<v8::Value> pValue); |
| 270 CFX_WideString FXJS_ToString(v8::Isolate* pIsolate, | 270 CFX_WideString FXJS_ToString(v8::Isolate* pIsolate, |
| 271 v8::Local<v8::Value> pValue); | 271 v8::Local<v8::Value> pValue); |
| 272 v8::Local<v8::Array> FXJS_ToArray(v8::Isolate* pIsolate, | 272 v8::Local<v8::Array> FXJS_ToArray(v8::Isolate* pIsolate, |
| 273 v8::Local<v8::Value> pValue); | 273 v8::Local<v8::Value> pValue); |
| 274 void FXJS_ValueCopy(v8::Local<v8::Value>& pTo, v8::Local<v8::Value> pFrom); | |
| 275 | |
| 276 #endif // FXJS_INCLUDE_FXJS_V8_H_ | 274 #endif // FXJS_INCLUDE_FXJS_V8_H_ |
| OLD | NEW |