diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-06 18:17:41 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-06 18:17:41 +0000 |
commit | 472bb7f919736ae58461f653597eb6854119cca9 (patch) | |
tree | fb7a694e41bba43a7be04b3d7790b0872fee68bf /xfa/fxfa/parser/cscript_hostpseudomodel.h | |
parent | d19aa7c572c252dd0398f277d13ec1733f1c7098 (diff) | |
download | pdfium-472bb7f919736ae58461f653597eb6854119cca9.tar.xz |
Call CJX methods directly instead of proxying
This CL updates the XFA JS code to call the methods on the CJX objects
directly instead of proxying through the CXFA objects. The script
methods have been removed from the CXFA objects.
Change-Id: I2d7b502473a8e88a7af88b10aa0da602d4998394
Reviewed-on: https://pdfium-review.googlesource.com/17851
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cscript_hostpseudomodel.h')
-rw-r--r-- | xfa/fxfa/parser/cscript_hostpseudomodel.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/xfa/fxfa/parser/cscript_hostpseudomodel.h b/xfa/fxfa/parser/cscript_hostpseudomodel.h index 05e859f499..dc13056091 100644 --- a/xfa/fxfa/parser/cscript_hostpseudomodel.h +++ b/xfa/fxfa/parser/cscript_hostpseudomodel.h @@ -10,7 +10,6 @@ #include "fxjs/cjx_hostpseudomodel.h" #include "xfa/fxfa/parser/cxfa_object.h" -class CFXJSE_Arguments; class CXFA_Document; class CScript_HostPseudoModel : public CXFA_Object { @@ -21,40 +20,6 @@ class CScript_HostPseudoModel : public CXFA_Object { CJX_HostPseudoModel* JSHostPseudoModel() { return static_cast<CJX_HostPseudoModel*>(JSObject()); } - - void AppType(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void CalculationsEnabled(CFXJSE_Value* pValue, - bool bSetting, - XFA_ATTRIBUTE eAttribute); - void CurrentPage(CFXJSE_Value* pValue, - bool bSetting, - XFA_ATTRIBUTE eAttribute); - void Language(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void NumPages(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void Platform(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void Title(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void ValidationsEnabled(CFXJSE_Value* pValue, - bool bSetting, - XFA_ATTRIBUTE eAttribute); - void Variation(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void Version(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void Name(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void GotoURL(CFXJSE_Arguments* pArguments); - void OpenList(CFXJSE_Arguments* pArguments); - void Response(CFXJSE_Arguments* pArguments); - void DocumentInBatch(CFXJSE_Arguments* pArguments); - void ResetData(CFXJSE_Arguments* pArguments); - void Beep(CFXJSE_Arguments* pArguments); - void SetFocus(CFXJSE_Arguments* pArguments); - void GetFocus(CFXJSE_Arguments* pArguments); - void MessageBox(CFXJSE_Arguments* pArguments); - void DocumentCountInBatch(CFXJSE_Arguments* pArguments); - void Print(CFXJSE_Arguments* pArguments); - void ImportData(CFXJSE_Arguments* pArguments); - void ExportData(CFXJSE_Arguments* pArguments); - void PageUp(CFXJSE_Arguments* pArguments); - void PageDown(CFXJSE_Arguments* pArguments); - void CurrentDateTime(CFXJSE_Arguments* pArguments); }; #endif // XFA_FXFA_PARSER_CSCRIPT_HOSTPSEUDOMODEL_H_ |