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

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

Issue 1162013003: Merge to XFA: Fix ALL the include guards. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Re-upload. Created 5 years, 6 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/util.h ('k') | fpdfsdk/include/pdfwindow/IPDFWindow.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 // 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 FXJSAPI_H 10 #ifndef FPDFSDK_INCLUDE_JSAPI_FXJS_V8_H_
11 #define FXJSAPI_H 11 #define FPDFSDK_INCLUDE_JSAPI_FXJS_V8_H_
12 12
13 #include <v8.h> 13 #include <v8.h>
14 #include "../../../core/include/fxcrt/fx_string.h" // For CFX_WideString 14 #include "../../../core/include/fxcrt/fx_string.h" // For CFX_WideString
15 15
16 typedef v8::Value JSValue; 16 typedef v8::Value JSValue;
17 typedef v8::Local<v8::Object> JSObject; 17 typedef v8::Local<v8::Object> JSObject;
18 typedef v8::Local<v8::Object> JSFXObject; 18 typedef v8::Local<v8::Object> JSFXObject;
19 19
20 enum FXJSOBJTYPE 20 enum FXJSOBJTYPE
21 { 21 {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 int JS_GetHourFromTi me(double dt); 129 int JS_GetHourFromTi me(double dt);
130 int JS_GetMinFromTim e(double dt); 130 int JS_GetMinFromTim e(double dt);
131 int JS_GetSecFromTim e(double dt); 131 int JS_GetSecFromTim e(double dt);
132 double JS_DateParse(const wchar _t* string); 132 double JS_DateParse(const wchar _t* string);
133 double JS_MakeDay(int nYear, in t nMonth, int nDay); 133 double JS_MakeDay(int nYear, in t nMonth, int nDay);
134 double JS_MakeTime(int nHour, i nt nMin, int nSec, int nMs); 134 double JS_MakeTime(int nHour, i nt nMin, int nSec, int nMs);
135 double JS_MakeDate(double day, double time); 135 double JS_MakeDate(double day, double time);
136 bool JS_PortIsNan(double d); 136 bool JS_PortIsNan(double d);
137 double JS_LocalTime(double d); 137 double JS_LocalTime(double d);
138 138
139 #endif //FXJSAPI_H 139 #endif // FPDFSDK_INCLUDE_JSAPI_FXJS_V8_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/javascript/util.h ('k') | fpdfsdk/include/pdfwindow/IPDFWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698