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

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

Issue 374123002: Hook up the default v8::Platform implementation to pdfium (Closed) Base URL: https://pdfium.googlesource.com/pdfium/@master
Patch Set: Created 6 years, 5 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
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 #ifndef FXJSAPI_H 7 #ifndef FXJSAPI_H
8 #define FXJSAPI_H 8 #define FXJSAPI_H
9 9
10 #include <v8.h> 10 #include <v8.h>
11 #include <v8-platform.h>
jam 2014/07/14 23:06:22 why is this needed in this header?
jochen (gone - plz use gerrit) 2014/07/15 11:51:09 it's not really needed here, but it's the only fil
jam 2014/07/15 16:25:26 I think we should only add headers that we need, s
11 12
12 enum FXJSOBJTYPE 13 enum FXJSOBJTYPE
13 { 14 {
14 JS_DYNAMIC = 0, 15 JS_DYNAMIC = 0,
15 JS_STATIC = 1, 16 JS_STATIC = 1,
16 }; 17 };
17 18
18 enum FXJSVALUETYPE 19 enum FXJSVALUETYPE
19 { 20 {
20 VT_unknown, 21 VT_unknown,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 int JS_GetMinFromTim e(double dt); 139 int JS_GetMinFromTim e(double dt);
139 int JS_GetSecFromTim e(double dt); 140 int JS_GetSecFromTim e(double dt);
140 double JS_DateParse(const wchar _t* string); 141 double JS_DateParse(const wchar _t* string);
141 double JS_MakeDay(int nYear, in t nMonth, int nDay); 142 double JS_MakeDay(int nYear, in t nMonth, int nDay);
142 double JS_MakeTime(int nHour, i nt nMin, int nSec, int nMs); 143 double JS_MakeTime(int nHour, i nt nMin, int nSec, int nMs);
143 double JS_MakeDate(double day, double time); 144 double JS_MakeDate(double day, double time);
144 bool JS_PortIsNan(double d); 145 bool JS_PortIsNan(double d);
145 double JS_LocalTime(double d); 146 double JS_LocalTime(double d);
146 147
147 #endif //FXJSAPI_H 148 #endif //FXJSAPI_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698