Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Side by Side Diff: fpdfsdk/include/jsapi/fxjs_v8.h

Issue 1425163004: Merge to XFA: Fix all relative includes to core. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/include/javascript/IJavaScript.h ('k') | fpdfsdk/include/pdfwindow/PDFWindow.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 // PDFium code should include this file rather than including V8 headers 11 // PDFium code should include this file rather than including V8 headers
12 // directly. 12 // directly.
13 13
14 #ifndef FPDFSDK_INCLUDE_JSAPI_FXJS_V8_H_ 14 #ifndef FPDFSDK_INCLUDE_JSAPI_FXJS_V8_H_
15 #define FPDFSDK_INCLUDE_JSAPI_FXJS_V8_H_ 15 #define FPDFSDK_INCLUDE_JSAPI_FXJS_V8_H_
16 16
17 #include <v8.h> 17 #include <v8.h>
18 #include "../../../core/include/fxcrt/fx_basic.h" 18
19 #include "core/include/fxcrt/fx_basic.h"
19 20
20 // FXJS_V8 places no restrictions on these two classes; it merely passes them 21 // FXJS_V8 places no restrictions on these two classes; it merely passes them
21 // on to caller-provided methods. 22 // on to caller-provided methods.
22 class IJS_Context; // A description of the event that caused JS execution. 23 class IJS_Context; // A description of the event that caused JS execution.
23 class IJS_Runtime; // A native runtime, typically owns the v8::Context. 24 class IJS_Runtime; // A native runtime, typically owns the v8::Context.
24 25
25 // FXJS_V8 places no interpreation on this calass; it merely passes it 26 // FXJS_V8 places no interpreation on this calass; it merely passes it
26 // along to XFA. 27 // along to XFA.
27 class CFXJSE_RuntimeData; 28 class CFXJSE_RuntimeData;
28 29
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 double FXJS_ToNumber(v8::Isolate* pIsolate, v8::Local<v8::Value> pValue); 218 double FXJS_ToNumber(v8::Isolate* pIsolate, v8::Local<v8::Value> pValue);
218 v8::Local<v8::Object> FXJS_ToObject(v8::Isolate* pIsolate, 219 v8::Local<v8::Object> FXJS_ToObject(v8::Isolate* pIsolate,
219 v8::Local<v8::Value> pValue); 220 v8::Local<v8::Value> pValue);
220 CFX_WideString FXJS_ToString(v8::Isolate* pIsolate, 221 CFX_WideString FXJS_ToString(v8::Isolate* pIsolate,
221 v8::Local<v8::Value> pValue); 222 v8::Local<v8::Value> pValue);
222 v8::Local<v8::Array> FXJS_ToArray(v8::Isolate* pIsolate, 223 v8::Local<v8::Array> FXJS_ToArray(v8::Isolate* pIsolate,
223 v8::Local<v8::Value> pValue); 224 v8::Local<v8::Value> pValue);
224 void FXJS_ValueCopy(v8::Local<v8::Value>& pTo, v8::Local<v8::Value> pFrom); 225 void FXJS_ValueCopy(v8::Local<v8::Value>& pTo, v8::Local<v8::Value> pFrom);
225 226
226 #endif // FPDFSDK_INCLUDE_JSAPI_FXJS_V8_H_ 227 #endif // FPDFSDK_INCLUDE_JSAPI_FXJS_V8_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/javascript/IJavaScript.h ('k') | fpdfsdk/include/pdfwindow/PDFWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698