summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cscript_eventpseudomodel.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-06 18:17:41 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-06 18:17:41 +0000
commit472bb7f919736ae58461f653597eb6854119cca9 (patch)
treefb7a694e41bba43a7be04b3d7790b0872fee68bf /xfa/fxfa/parser/cscript_eventpseudomodel.cpp
parentd19aa7c572c252dd0398f277d13ec1733f1c7098 (diff)
downloadpdfium-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_eventpseudomodel.cpp')
-rw-r--r--xfa/fxfa/parser/cscript_eventpseudomodel.cpp104
1 files changed, 0 insertions, 104 deletions
diff --git a/xfa/fxfa/parser/cscript_eventpseudomodel.cpp b/xfa/fxfa/parser/cscript_eventpseudomodel.cpp
index 806a318d8c..c09ba76c47 100644
--- a/xfa/fxfa/parser/cscript_eventpseudomodel.cpp
+++ b/xfa/fxfa/parser/cscript_eventpseudomodel.cpp
@@ -18,107 +18,3 @@ CScript_EventPseudoModel::CScript_EventPseudoModel(CXFA_Document* pDocument)
pdfium::MakeUnique<CJX_EventPseudoModel>(this)) {}
CScript_EventPseudoModel::~CScript_EventPseudoModel() {}
-
-void CScript_EventPseudoModel::Change(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->Change(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::CommitKey(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->CommitKey(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::FullText(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->FullText(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::KeyDown(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->KeyDown(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::Modifier(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->Modifier(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::NewContentType(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->NewContentType(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::NewText(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->NewText(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::PrevContentType(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->PrevContentType(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::PrevText(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->PrevText(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::Reenter(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->Reenter(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::SelEnd(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->SelEnd(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::SelStart(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->SelStart(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::Shift(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->Shift(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::SoapFaultCode(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->SoapFaultString(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::SoapFaultString(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->SoapFaultString(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::Target(CFXJSE_Value* pValue,
- bool bSetting,
- XFA_ATTRIBUTE eAttribute) {
- JSEventPseudoModel()->Target(pValue, bSetting, eAttribute);
-}
-
-void CScript_EventPseudoModel::Emit(CFXJSE_Arguments* pArguments) {
- JSEventPseudoModel()->Emit(pArguments);
-}
-
-void CScript_EventPseudoModel::Reset(CFXJSE_Arguments* pArguments) {
- JSEventPseudoModel()->Reset(pArguments);
-}