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

Side by Side Diff: fpdfsdk/include/javascript/util.h

Issue 1065103002: Merge to XFA: Fix (nearly all) IWYU in fpdfskd/include/javascript/ headers. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 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/report.h ('k') | fpdfsdk/include/jsapi/fxjs_v8.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 #ifndef _UTIL_H_ 7 #ifndef _UTIL_H_
8 #define _UTIL_H_ 8 #define _UTIL_H_
9 9
10 #include <string> // For std::wstring.
11
12 #include "JS_Define.h"
13
10 class util : public CJS_EmbedObj 14 class util : public CJS_EmbedObj
11 { 15 {
12 public: 16 public:
13 util(CJS_Object * pJSObject); 17 util(CJS_Object * pJSObject);
14 virtual ~util(void); 18 virtual ~util(void);
15 19
16 public: 20 public:
17 FX_BOOL printd(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Valu e& vRet, CFX_WideString& sError); 21 FX_BOOL printd(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Valu e& vRet, CFX_WideString& sError);
18 FX_BOOL printf(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Valu e& vRet, CFX_WideString& sError); 22 FX_BOOL printf(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Valu e& vRet, CFX_WideString& sError);
19 FX_BOOL printx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Valu e& vRet, CFX_WideString& sError); 23 FX_BOOL printx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Valu e& vRet, CFX_WideString& sError);
(...skipping 16 matching lines...) Expand all
36 40
37 JS_STATIC_METHOD(printd, util); 41 JS_STATIC_METHOD(printd, util);
38 JS_STATIC_METHOD(printf, util); 42 JS_STATIC_METHOD(printf, util);
39 JS_STATIC_METHOD(printx, util); 43 JS_STATIC_METHOD(printx, util);
40 JS_STATIC_METHOD(scand, util); 44 JS_STATIC_METHOD(scand, util);
41 JS_STATIC_METHOD(byteToChar, util); 45 JS_STATIC_METHOD(byteToChar, util);
42 }; 46 };
43 47
44 FX_INT64 FX_atoi64(const char *nptr); 48 FX_INT64 FX_atoi64(const char *nptr);
45 #endif //_UTIL_H_ 49 #endif //_UTIL_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/javascript/report.h ('k') | fpdfsdk/include/jsapi/fxjs_v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698