From 315f94a0961792ec08428c94105caf3d8637acd1 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 24 Jul 2018 19:07:35 +0000 Subject: Rename JS_{METHOD,PROP} to JSE_{METHOD,PROP} Because they are too easily confused with non-XFA JS_STATIC_PROP despite being on the XFA side. The JSE_ prefix mirrors the fxjs/fxjse split ("e" presumably standing for "extension" or some such) between the non-xfa/xfa V8 adapter layer. Rename fxjs/{cjx_define.h => jse_define.h}, since there aren't any symbols starting with |CJX| in it. Fix some IWYU for jse_define.h No functional changes. Change-Id: I6a0b2b6fe6ef1b564b0bfa2fa7ba317a0cea0953 Reviewed-on: https://pdfium-review.googlesource.com/38730 Reviewed-by: Lei Zhang Commit-Queue: Tom Sepez --- fxjs/xfa/cjx_hostpseudomodel.h | 56 +++++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'fxjs/xfa/cjx_hostpseudomodel.h') diff --git a/fxjs/xfa/cjx_hostpseudomodel.h b/fxjs/xfa/cjx_hostpseudomodel.h index 7b9279af2d..7ef7d032f6 100644 --- a/fxjs/xfa/cjx_hostpseudomodel.h +++ b/fxjs/xfa/cjx_hostpseudomodel.h @@ -7,7 +7,7 @@ #ifndef FXJS_XFA_CJX_HOSTPSEUDOMODEL_H_ #define FXJS_XFA_CJX_HOSTPSEUDOMODEL_H_ -#include "fxjs/cjx_define.h" +#include "fxjs/jse_define.h" #include "fxjs/xfa/cjx_object.h" #include "xfa/fxfa/fxfa_basic.h" @@ -19,36 +19,36 @@ class CJX_HostPseudoModel : public CJX_Object { explicit CJX_HostPseudoModel(CScript_HostPseudoModel* model); ~CJX_HostPseudoModel() override; - JS_METHOD(beep, CJX_HostPseudoModel); - JS_METHOD(documentCountInBatch, CJX_HostPseudoModel); - JS_METHOD(documentInBatch, CJX_HostPseudoModel); - JS_METHOD(exportData, CJX_HostPseudoModel); - JS_METHOD(getFocus, CJX_HostPseudoModel); - JS_METHOD(gotoURL, CJX_HostPseudoModel); - JS_METHOD(importData, CJX_HostPseudoModel); - JS_METHOD(messageBox, CJX_HostPseudoModel); - JS_METHOD(openList, CJX_HostPseudoModel); - JS_METHOD(pageDown, CJX_HostPseudoModel); - JS_METHOD(pageUp, CJX_HostPseudoModel); - JS_METHOD(print, CJX_HostPseudoModel); - JS_METHOD(resetData, CJX_HostPseudoModel); - JS_METHOD(response, CJX_HostPseudoModel); - JS_METHOD(setFocus, CJX_HostPseudoModel); - - JS_PROP(appType); - JS_PROP(calculationsEnabled); - JS_PROP(currentPage); - JS_PROP(language); - JS_PROP(numPages); - JS_PROP(platform); - JS_PROP(title); - JS_PROP(validationsEnabled); - JS_PROP(variation); - JS_PROP(version); + JSE_METHOD(beep, CJX_HostPseudoModel); + JSE_METHOD(documentCountInBatch, CJX_HostPseudoModel); + JSE_METHOD(documentInBatch, CJX_HostPseudoModel); + JSE_METHOD(exportData, CJX_HostPseudoModel); + JSE_METHOD(getFocus, CJX_HostPseudoModel); + JSE_METHOD(gotoURL, CJX_HostPseudoModel); + JSE_METHOD(importData, CJX_HostPseudoModel); + JSE_METHOD(messageBox, CJX_HostPseudoModel); + JSE_METHOD(openList, CJX_HostPseudoModel); + JSE_METHOD(pageDown, CJX_HostPseudoModel); + JSE_METHOD(pageUp, CJX_HostPseudoModel); + JSE_METHOD(print, CJX_HostPseudoModel); + JSE_METHOD(resetData, CJX_HostPseudoModel); + JSE_METHOD(response, CJX_HostPseudoModel); + JSE_METHOD(setFocus, CJX_HostPseudoModel); + + JSE_PROP(appType); + JSE_PROP(calculationsEnabled); + JSE_PROP(currentPage); + JSE_PROP(language); + JSE_PROP(numPages); + JSE_PROP(platform); + JSE_PROP(title); + JSE_PROP(validationsEnabled); + JSE_PROP(variation); + JSE_PROP(version); // TODO(dsinclair): Remove when xfa_basic_data_element_script is removed. // Doesn't exist in spec - JS_PROP(name); + JSE_PROP(name); private: static const CJX_MethodSpec MethodSpecs[]; -- cgit v1.2.3