diff options
author | Lei Zhang <thestig@chromium.org> | 2015-11-11 10:18:16 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-11-11 10:18:16 -0800 |
commit | 945fdb70f022952e9ed53847649226369352920a (patch) | |
tree | 2e6ef88fdcb63d8d8b9961e8691a2f7049a2a9f1 /fpdfsdk/src/javascript/Field.cpp | |
parent | dd734def34bc31be370b168267ccba9705c7fc1b (diff) | |
download | pdfium-945fdb70f022952e9ed53847649226369352920a.tar.xz |
Merge to XFA: Replace CJS_Parameters with std::vector<CJS_Value>.
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1437713003 .
(cherry picked from commit f20a34c0f2dfca49f735a0f11147254c26831e7c)
Review URL: https://codereview.chromium.org/1437863005 .
Diffstat (limited to 'fpdfsdk/src/javascript/Field.cpp')
-rw-r--r-- | fpdfsdk/src/javascript/Field.cpp | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/fpdfsdk/src/javascript/Field.cpp b/fpdfsdk/src/javascript/Field.cpp index 1697b34337..6287850bb6 100644 --- a/fpdfsdk/src/javascript/Field.cpp +++ b/fpdfsdk/src/javascript/Field.cpp @@ -2989,7 +2989,7 @@ FX_BOOL Field::valueAsString(IJS_Context* cc, */ FX_BOOL Field::browseForFileToSubmit(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { ASSERT(m_pDocument != NULL); @@ -3013,7 +3013,7 @@ FX_BOOL Field::browseForFileToSubmit(IJS_Context* cc, } FX_BOOL Field::buttonGetCaption(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { ASSERT(m_pDocument != NULL); @@ -3048,7 +3048,7 @@ FX_BOOL Field::buttonGetCaption(IJS_Context* cc, } FX_BOOL Field::buttonGetIcon(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { ASSERT(m_pDocument != NULL); @@ -3096,28 +3096,28 @@ FX_BOOL Field::buttonGetIcon(IJS_Context* cc, } FX_BOOL Field::buttonImportIcon(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return TRUE; } FX_BOOL Field::buttonSetCaption(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return FALSE; } FX_BOOL Field::buttonSetIcon(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return FALSE; } FX_BOOL Field::checkThisBox(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { ASSERT(m_pDocument != NULL); @@ -3155,14 +3155,14 @@ FX_BOOL Field::checkThisBox(IJS_Context* cc, } FX_BOOL Field::clearItems(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return TRUE; } FX_BOOL Field::defaultIsChecked(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { ASSERT(m_pDocument != NULL); @@ -3192,7 +3192,7 @@ FX_BOOL Field::defaultIsChecked(IJS_Context* cc, } FX_BOOL Field::deleteItemAt(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return TRUE; @@ -3206,7 +3206,7 @@ int JS_COMPARESTRING(CFX_WideString* ps1, CFX_WideString* ps2) { } FX_BOOL Field::getArray(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { ASSERT(m_pDocument != NULL); @@ -3248,7 +3248,7 @@ FX_BOOL Field::getArray(IJS_Context* cc, } FX_BOOL Field::getItemAt(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { ASSERT(m_pDocument != NULL); @@ -3288,21 +3288,21 @@ FX_BOOL Field::getItemAt(IJS_Context* cc, } FX_BOOL Field::getLock(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return FALSE; } FX_BOOL Field::insertItemAt(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return TRUE; } FX_BOOL Field::isBoxChecked(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { ASSERT(m_pDocument != NULL); @@ -3335,7 +3335,7 @@ FX_BOOL Field::isBoxChecked(IJS_Context* cc, } FX_BOOL Field::isDefaultChecked(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { ASSERT(m_pDocument != NULL); @@ -3367,14 +3367,14 @@ FX_BOOL Field::isDefaultChecked(IJS_Context* cc, } FX_BOOL Field::setAction(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return TRUE; } FX_BOOL Field::setFocus(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { ASSERT(m_pDocument != NULL); @@ -3423,56 +3423,56 @@ FX_BOOL Field::setFocus(IJS_Context* cc, } FX_BOOL Field::setItems(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return TRUE; } FX_BOOL Field::setLock(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return FALSE; } FX_BOOL Field::signatureGetModifications(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return FALSE; } FX_BOOL Field::signatureGetSeedValue(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return FALSE; } FX_BOOL Field::signatureInfo(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return FALSE; } FX_BOOL Field::signatureSetSeedValue(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return FALSE; } FX_BOOL Field::signatureSign(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return FALSE; } FX_BOOL Field::signatureValidate(IJS_Context* cc, - const CJS_Parameters& params, + const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError) { return FALSE; |