| Index: fpdfsdk/include/jsapi/fxjs_v8.h
|
| diff --git a/fpdfsdk/include/jsapi/fxjs_v8.h b/fpdfsdk/include/jsapi/fxjs_v8.h
|
| index 70653c5d83ee9b37c82e35fabcb156faadb535a5..739fd2d4c08523cb60a340da15e6d249d7109d33 100644
|
| --- a/fpdfsdk/include/jsapi/fxjs_v8.h
|
| +++ b/fpdfsdk/include/jsapi/fxjs_v8.h
|
| @@ -4,12 +4,19 @@
|
|
|
| // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
|
|
|
| +// PDFium wrapper around V8 APIs. PDFium code should include this file rather
|
| +// than including V8 headers directly.
|
| +
|
| #ifndef FXJSAPI_H
|
| #define FXJSAPI_H
|
|
|
| #include <v8.h>
|
| #include "../../../core/include/fxcrt/fx_string.h" // For CFX_WideString
|
|
|
| +typedef v8::Value JSValue;
|
| +typedef v8::Handle<v8::Object> JSObject;
|
| +typedef v8::Handle<v8::Object> JSFXObject;
|
| +
|
| enum FXJSOBJTYPE
|
| {
|
| JS_DYNAMIC = 0,
|
|
|