summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cscript_layoutpseudomodel.h
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_layoutpseudomodel.h
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_layoutpseudomodel.h')
-rw-r--r--xfa/fxfa/parser/cscript_layoutpseudomodel.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/xfa/fxfa/parser/cscript_layoutpseudomodel.h b/xfa/fxfa/parser/cscript_layoutpseudomodel.h
index 8faa9e56ed..1662951e75 100644
--- a/xfa/fxfa/parser/cscript_layoutpseudomodel.h
+++ b/xfa/fxfa/parser/cscript_layoutpseudomodel.h
@@ -10,7 +10,6 @@
#include "fxjs/cjx_layoutpseudomodel.h"
#include "xfa/fxfa/parser/cxfa_object.h"
-class CFXJSE_Arguments;
class CXFA_LayoutProcessor;
class CScript_LayoutPseudoModel : public CXFA_Object {
@@ -21,28 +20,6 @@ class CScript_LayoutPseudoModel : public CXFA_Object {
CJX_LayoutPseudoModel* JSLayoutPseudoModel() {
return static_cast<CJX_LayoutPseudoModel*>(JSObject());
}
-
- void Ready(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
-
- void H(CFXJSE_Arguments* pArguments);
- void W(CFXJSE_Arguments* pArguments);
- void X(CFXJSE_Arguments* pArguments);
- void Y(CFXJSE_Arguments* pArguments);
- void PageCount(CFXJSE_Arguments* pArguments);
- void PageSpan(CFXJSE_Arguments* pArguments);
- void Page(CFXJSE_Arguments* pArguments);
- void PageContent(CFXJSE_Arguments* pArguments);
- void AbsPageCount(CFXJSE_Arguments* pArguments);
- void AbsPageCountInBatch(CFXJSE_Arguments* pArguments);
- void SheetCountInBatch(CFXJSE_Arguments* pArguments);
- void Relayout(CFXJSE_Arguments* pArguments);
- void AbsPageSpan(CFXJSE_Arguments* pArguments);
- void AbsPageInBatch(CFXJSE_Arguments* pArguments);
- void SheetInBatch(CFXJSE_Arguments* pArguments);
- void Sheet(CFXJSE_Arguments* pArguments);
- void RelayoutPageArea(CFXJSE_Arguments* pArguments);
- void SheetCount(CFXJSE_Arguments* pArguments);
- void AbsPage(CFXJSE_Arguments* pArguments);
};
#endif // XFA_FXFA_PARSER_CSCRIPT_LAYOUTPSEUDOMODEL_H_