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

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

Issue 1318543012: CJS_Context::compile unused (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Remove pointless asserts. Created 5 years, 3 months 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/JS_Context.h ('k') | fpdfsdk/src/javascript/JS_Context.cpp » ('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 // PDFium wrapper around V8 APIs. PDFium code should include this file rather 7 // PDFium wrapper around V8 APIs. PDFium code should include this file rather
8 // than including V8 headers directly. 8 // than including V8 headers directly.
9 9
10 #ifndef FPDFSDK_INCLUDE_JSAPI_FXJS_V8_H_ 10 #ifndef FPDFSDK_INCLUDE_JSAPI_FXJS_V8_H_
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 v8::Local<v8::Value> pDefault); 84 v8::Local<v8::Value> pDefault);
85 85
86 void JS_InitialRuntime(IJS_Runtime* pJSRuntime, 86 void JS_InitialRuntime(IJS_Runtime* pJSRuntime,
87 IFXJS_Runtime* pFXRuntime, 87 IFXJS_Runtime* pFXRuntime,
88 IFXJS_Context* context, 88 IFXJS_Context* context,
89 v8::Global<v8::Context>& v8PersistentContext); 89 v8::Global<v8::Context>& v8PersistentContext);
90 void JS_ReleaseRuntime(IJS_Runtime* pJSRuntime, 90 void JS_ReleaseRuntime(IJS_Runtime* pJSRuntime,
91 v8::Global<v8::Context>& v8PersistentContext); 91 v8::Global<v8::Context>& v8PersistentContext);
92 void JS_Initial(unsigned int embedderDataSlot); 92 void JS_Initial(unsigned int embedderDataSlot);
93 void JS_Release(); 93 void JS_Release();
94 int JS_Parse(IJS_Runtime* pJSRuntime,
95 IFXJS_Context* pJSContext,
96 const wchar_t* script,
97 long length,
98 FXJSErr* perror);
99 int JS_Execute(IJS_Runtime* pJSRuntime, 94 int JS_Execute(IJS_Runtime* pJSRuntime,
100 IFXJS_Context* pJSContext, 95 IFXJS_Context* pJSContext,
101 const wchar_t* script, 96 const wchar_t* script,
102 long length, 97 long length,
103 FXJSErr* perror); 98 FXJSErr* perror);
104 v8::Local<v8::Object> JS_NewFxDynamicObj(IJS_Runtime* pJSRuntime, 99 v8::Local<v8::Object> JS_NewFxDynamicObj(IJS_Runtime* pJSRuntime,
105 IFXJS_Context* pJSContext, 100 IFXJS_Context* pJSContext,
106 int nObjDefnID); 101 int nObjDefnID);
107 v8::Local<v8::Object> JS_GetStaticObj(IJS_Runtime* pJSRuntime, int nObjDefnID); 102 v8::Local<v8::Object> JS_GetStaticObj(IJS_Runtime* pJSRuntime, int nObjDefnID);
108 void JS_SetThisObj(IJS_Runtime* pJSRuntime, int nThisObjID); 103 void JS_SetThisObj(IJS_Runtime* pJSRuntime, int nThisObjID);
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 int JS_GetMinFromTime(double dt); 200 int JS_GetMinFromTime(double dt);
206 int JS_GetSecFromTime(double dt); 201 int JS_GetSecFromTime(double dt);
207 double JS_DateParse(const wchar_t* string); 202 double JS_DateParse(const wchar_t* string);
208 double JS_MakeDay(int nYear, int nMonth, int nDay); 203 double JS_MakeDay(int nYear, int nMonth, int nDay);
209 double JS_MakeTime(int nHour, int nMin, int nSec, int nMs); 204 double JS_MakeTime(int nHour, int nMin, int nSec, int nMs);
210 double JS_MakeDate(double day, double time); 205 double JS_MakeDate(double day, double time);
211 bool JS_PortIsNan(double d); 206 bool JS_PortIsNan(double d);
212 double JS_LocalTime(double d); 207 double JS_LocalTime(double d);
213 208
214 #endif // FPDFSDK_INCLUDE_JSAPI_FXJS_V8_H_ 209 #endif // FPDFSDK_INCLUDE_JSAPI_FXJS_V8_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/javascript/JS_Context.h ('k') | fpdfsdk/src/javascript/JS_Context.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698