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

Side by Side Diff: fpdfsdk/include/javascript/PublicMethods.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/JS_Value.h ('k') | fpdfsdk/include/javascript/app.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 _PUBLICMETHODS_H_ 7 #ifndef _PUBLICMETHODS_H_
8 #define _PUBLICMETHODS_H_ 8 #define _PUBLICMETHODS_H_
9 9
10 #include "JS_Define.h"
11
10 class CJS_PublicMethods : public CJS_Object 12 class CJS_PublicMethods : public CJS_Object
11 { 13 {
12 public: 14 public:
13 CJS_PublicMethods(JSFXObject pObject) : CJS_Object(pObject) {}; 15 CJS_PublicMethods(JSFXObject pObject) : CJS_Object(pObject) {};
14 virtual ~CJS_PublicMethods(void){}; 16 virtual ~CJS_PublicMethods(void){};
15 17
16 public: 18 public:
17 static FX_BOOL AFNumber_Format(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& sError); 19 static FX_BOOL AFNumber_Format(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& sError);
18 static FX_BOOL AFNumber_Keystroke(IFXJS_Context* cc, const CJS_Parameter s& params, CJS_Value& vRet, CFX_WideString& sError); 20 static FX_BOOL AFNumber_Keystroke(IFXJS_Context* cc, const CJS_Parameter s& params, CJS_Value& vRet, CFX_WideString& sError);
19 static FX_BOOL AFPercent_Format(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& sError); 21 static FX_BOOL AFPercent_Format(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& sError);
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 static FX_BOOL IsAlphaNumeric(wchar_t ch); 94 static FX_BOOL IsAlphaNumeric(wchar_t ch);
93 95
94 static FX_BOOL maskSatisfied(wchar_t c_Change,wchar_t c _Mask); 96 static FX_BOOL maskSatisfied(wchar_t c_Change,wchar_t c _Mask);
95 static FX_BOOL isReservedMaskChar(wchar_t ch); 97 static FX_BOOL isReservedMaskChar(wchar_t ch);
96 98
97 static double AF_Simple(FX_LPCWSTR sFuction, double dV alue1, double dValue2); 99 static double AF_Simple(FX_LPCWSTR sFuction, double dV alue1, double dValue2);
98 static CJS_Array AF_MakeArrayFromList(v8::Isolate* isolat e, CJS_Value val); 100 static CJS_Array AF_MakeArrayFromList(v8::Isolate* isolat e, CJS_Value val);
99 }; 101 };
100 102
101 #endif //_PUBLICMETHODS_H_ 103 #endif //_PUBLICMETHODS_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/javascript/JS_Value.h ('k') | fpdfsdk/include/javascript/app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698