diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-02-17 13:30:23 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-02-17 13:30:23 -0800 |
commit | ccc948344564f0e2079c3c3a5b1483ab5203fec9 (patch) | |
tree | d125f481a7a63a728e8bd2af151f5a633876eaa5 /fpdfsdk/include/javascript/PublicMethods.h | |
parent | ca6c0d3262d994fbb008ee1ae5ff19c1612bc982 (diff) | |
download | pdfium-ccc948344564f0e2079c3c3a5b1483ab5203fec9.tar.xz |
Merge to XFA: Tidy up JS_Defines.h
Original Review URL: https://codereview.chromium.org/927263003
TBR=brucedawson@chromium.org
Review URL: https://codereview.chromium.org/936613002
Diffstat (limited to 'fpdfsdk/include/javascript/PublicMethods.h')
-rw-r--r-- | fpdfsdk/include/javascript/PublicMethods.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/fpdfsdk/include/javascript/PublicMethods.h b/fpdfsdk/include/javascript/PublicMethods.h index 8d4e68392f..40b0ce9605 100644 --- a/fpdfsdk/include/javascript/PublicMethods.h +++ b/fpdfsdk/include/javascript/PublicMethods.h @@ -14,28 +14,28 @@ public: virtual ~CJS_PublicMethods(void){}; public: - static FX_BOOL AFNumber_Format(OBJ_METHOD_PARAMS); - static FX_BOOL AFNumber_Keystroke(OBJ_METHOD_PARAMS); - static FX_BOOL AFPercent_Format(OBJ_METHOD_PARAMS); - static FX_BOOL AFPercent_Keystroke(OBJ_METHOD_PARAMS); - static FX_BOOL AFDate_FormatEx(OBJ_METHOD_PARAMS); - static FX_BOOL AFDate_KeystrokeEx(OBJ_METHOD_PARAMS); - static FX_BOOL AFDate_Format(OBJ_METHOD_PARAMS); - static FX_BOOL AFDate_Keystroke(OBJ_METHOD_PARAMS); - static FX_BOOL AFTime_FormatEx(OBJ_METHOD_PARAMS); // - static FX_BOOL AFTime_KeystrokeEx(OBJ_METHOD_PARAMS); - static FX_BOOL AFTime_Format(OBJ_METHOD_PARAMS); - static FX_BOOL AFTime_Keystroke(OBJ_METHOD_PARAMS); - static FX_BOOL AFSpecial_Format(OBJ_METHOD_PARAMS); - static FX_BOOL AFSpecial_Keystroke(OBJ_METHOD_PARAMS); - static FX_BOOL AFSpecial_KeystrokeEx(OBJ_METHOD_PARAMS);// - static FX_BOOL AFSimple(OBJ_METHOD_PARAMS); - static FX_BOOL AFMakeNumber(OBJ_METHOD_PARAMS); - static FX_BOOL AFSimple_Calculate(OBJ_METHOD_PARAMS); - static FX_BOOL AFRange_Validate(OBJ_METHOD_PARAMS); - static FX_BOOL AFMergeChange(OBJ_METHOD_PARAMS); - static FX_BOOL AFParseDateEx(OBJ_METHOD_PARAMS); - static FX_BOOL AFExtractNums(OBJ_METHOD_PARAMS); + static FX_BOOL AFNumber_Format(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFNumber_Keystroke(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFPercent_Format(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFPercent_Keystroke(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFDate_FormatEx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFDate_KeystrokeEx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFDate_Format(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFDate_Keystroke(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFTime_FormatEx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); // + static FX_BOOL AFTime_KeystrokeEx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFTime_Format(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFTime_Keystroke(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFSpecial_Format(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFSpecial_Keystroke(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFSpecial_KeystrokeEx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError);// + static FX_BOOL AFSimple(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFMakeNumber(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFSimple_Calculate(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFRange_Validate(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFMergeChange(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFParseDateEx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + static FX_BOOL AFExtractNums(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); public: JS_STATIC_GLOBAL_FUN(AFNumber_Format); |