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_layoutpseudomodel.cpp | |
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_layoutpseudomodel.cpp')
-rw-r--r-- | xfa/fxfa/parser/cscript_layoutpseudomodel.cpp | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/xfa/fxfa/parser/cscript_layoutpseudomodel.cpp b/xfa/fxfa/parser/cscript_layoutpseudomodel.cpp index 8714d54684..675e79531e 100644 --- a/xfa/fxfa/parser/cscript_layoutpseudomodel.cpp +++ b/xfa/fxfa/parser/cscript_layoutpseudomodel.cpp @@ -17,87 +17,3 @@ CScript_LayoutPseudoModel::CScript_LayoutPseudoModel(CXFA_Document* pDocument) pdfium::MakeUnique<CJX_LayoutPseudoModel>(this)) {} CScript_LayoutPseudoModel::~CScript_LayoutPseudoModel() {} - -void CScript_LayoutPseudoModel::Ready(CFXJSE_Value* pValue, - bool bSetting, - XFA_ATTRIBUTE eAttribute) { - JSLayoutPseudoModel()->Ready(pValue, bSetting, eAttribute); -} - -void CScript_LayoutPseudoModel::H(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->H(pArguments); -} - -void CScript_LayoutPseudoModel::W(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->W(pArguments); -} - -void CScript_LayoutPseudoModel::X(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->X(pArguments); -} - -void CScript_LayoutPseudoModel::Y(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->Y(pArguments); -} - -void CScript_LayoutPseudoModel::PageCount(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->PageCount(pArguments); -} - -void CScript_LayoutPseudoModel::PageSpan(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->PageSpan(pArguments); -} - -void CScript_LayoutPseudoModel::Page(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->Page(pArguments); -} - -void CScript_LayoutPseudoModel::PageContent(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->PageContent(pArguments); -} - -void CScript_LayoutPseudoModel::AbsPageCount(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->AbsPageCount(pArguments); -} - -void CScript_LayoutPseudoModel::AbsPageCountInBatch( - CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->AbsPageCountInBatch(pArguments); -} - -void CScript_LayoutPseudoModel::SheetCountInBatch( - CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->SheetCountInBatch(pArguments); -} - -void CScript_LayoutPseudoModel::Relayout(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->Relayout(pArguments); -} - -void CScript_LayoutPseudoModel::AbsPageSpan(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->AbsPageSpan(pArguments); -} - -void CScript_LayoutPseudoModel::AbsPageInBatch(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->AbsPageInBatch(pArguments); -} - -void CScript_LayoutPseudoModel::SheetInBatch(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->SheetInBatch(pArguments); -} - -void CScript_LayoutPseudoModel::Sheet(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->Sheet(pArguments); -} - -void CScript_LayoutPseudoModel::RelayoutPageArea(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->RelayoutPageArea(pArguments); -} - -void CScript_LayoutPseudoModel::SheetCount(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->SheetCount(pArguments); -} - -void CScript_LayoutPseudoModel::AbsPage(CFXJSE_Arguments* pArguments) { - JSLayoutPseudoModel()->AbsPage(pArguments); -} |