diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-12-07 22:33:43 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-12-07 22:33:43 +0000 |
commit | 93bb725b62f9779534c9444c1e1319fe8c28912e (patch) | |
tree | af0c758c1129dc076cbf67a89f1c23e4703e02bd /fxjs/cjx_logpseudomodel.h | |
parent | ce6979f8d064507300fe0b3a856687fb958c9a5c (diff) | |
download | pdfium-93bb725b62f9779534c9444c1e1319fe8c28912e.tar.xz |
[xfa] Move JS method information to files.chromium/3288
This CL moves the XFA SOM JS Method information out of the c-array and
into individual CJX class files.
Change-Id: I401046a06aacaf1f04e5a51eb899e479de012e15
Reviewed-on: https://pdfium-review.googlesource.com/20450
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cjx_logpseudomodel.h')
-rw-r--r-- | fxjs/cjx_logpseudomodel.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/fxjs/cjx_logpseudomodel.h b/fxjs/cjx_logpseudomodel.h index 26a47026e7..e22301e303 100644 --- a/fxjs/cjx_logpseudomodel.h +++ b/fxjs/cjx_logpseudomodel.h @@ -7,10 +7,9 @@ #ifndef FXJS_CJX_LOGPSEUDOMODEL_H_ #define FXJS_CJX_LOGPSEUDOMODEL_H_ +#include "fxjs/CJX_Define.h" #include "fxjs/cjx_object.h" -class CFXJSE_Arguments; -class CFXJSE_Value; class CScript_LogPseudoModel; class CJX_LogPseudoModel : public CJX_Object { @@ -18,11 +17,14 @@ class CJX_LogPseudoModel : public CJX_Object { explicit CJX_LogPseudoModel(CScript_LogPseudoModel* model); ~CJX_LogPseudoModel() override; - void Message(CFXJSE_Arguments* pArguments); - void TraceEnabled(CFXJSE_Arguments* pArguments); - void TraceActivate(CFXJSE_Arguments* pArguments); - void TraceDeactivate(CFXJSE_Arguments* pArguments); - void Trace(CFXJSE_Arguments* pArguments); + JS_METHOD(message, CJX_LogPseudoModel); + JS_METHOD(traceEnabled, CJX_LogPseudoModel); + JS_METHOD(traceActivate, CJX_LogPseudoModel); + JS_METHOD(traceDeactivate, CJX_LogPseudoModel); + JS_METHOD(trace, CJX_LogPseudoModel); + + private: + static const CJX_MethodSpec MethodSpecs[]; }; #endif // FXJS_CJX_LOGPSEUDOMODEL_H_ |