summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_field.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-07-24 19:07:35 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-24 19:07:35 +0000
commit315f94a0961792ec08428c94105caf3d8637acd1 (patch)
treed5eac0937ce46592da16a9317337f291d6263bff /fxjs/xfa/cjx_field.h
parentc9f1234b1982eb7ec8a5254195574e88bee54703 (diff)
downloadpdfium-315f94a0961792ec08428c94105caf3d8637acd1.tar.xz
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 <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/xfa/cjx_field.h')
-rw-r--r--fxjs/xfa/cjx_field.h94
1 files changed, 47 insertions, 47 deletions
diff --git a/fxjs/xfa/cjx_field.h b/fxjs/xfa/cjx_field.h
index 697aca32d2..bc8f2cfb59 100644
--- a/fxjs/xfa/cjx_field.h
+++ b/fxjs/xfa/cjx_field.h
@@ -7,7 +7,7 @@
#ifndef FXJS_XFA_CJX_FIELD_H_
#define FXJS_XFA_CJX_FIELD_H_
-#include "fxjs/cjx_define.h"
+#include "fxjs/jse_define.h"
#include "fxjs/xfa/cjx_container.h"
class CXFA_Field;
@@ -17,53 +17,53 @@ class CJX_Field : public CJX_Container {
explicit CJX_Field(CXFA_Field* field);
~CJX_Field() override;
- JS_METHOD(addItem, CJX_Field);
- JS_METHOD(boundItem, CJX_Field);
- JS_METHOD(clearItems, CJX_Field);
- JS_METHOD(deleteItem, CJX_Field);
- JS_METHOD(execCalculate, CJX_Field);
- JS_METHOD(execEvent, CJX_Field);
- JS_METHOD(execInitialize, CJX_Field);
- JS_METHOD(execValidate, CJX_Field);
- JS_METHOD(getDisplayItem, CJX_Field);
- JS_METHOD(getItemState, CJX_Field);
- JS_METHOD(getSaveItem, CJX_Field);
- JS_METHOD(setItemState, CJX_Field);
+ JSE_METHOD(addItem, CJX_Field);
+ JSE_METHOD(boundItem, CJX_Field);
+ JSE_METHOD(clearItems, CJX_Field);
+ JSE_METHOD(deleteItem, CJX_Field);
+ JSE_METHOD(execCalculate, CJX_Field);
+ JSE_METHOD(execEvent, CJX_Field);
+ JSE_METHOD(execInitialize, CJX_Field);
+ JSE_METHOD(execValidate, CJX_Field);
+ JSE_METHOD(getDisplayItem, CJX_Field);
+ JSE_METHOD(getItemState, CJX_Field);
+ JSE_METHOD(getSaveItem, CJX_Field);
+ JSE_METHOD(setItemState, CJX_Field);
- JS_PROP(defaultValue); /* {default} */
- JS_PROP(access);
- JS_PROP(accessKey);
- JS_PROP(anchorType);
- JS_PROP(borderColor);
- JS_PROP(borderWidth);
- JS_PROP(colSpan);
- JS_PROP(editValue);
- JS_PROP(fillColor);
- JS_PROP(fontColor);
- JS_PROP(formatMessage);
- JS_PROP(formattedValue);
- JS_PROP(h);
- JS_PROP(hAlign);
- JS_PROP(locale);
- JS_PROP(mandatory);
- JS_PROP(mandatoryMessage);
- JS_PROP(maxH);
- JS_PROP(maxW);
- JS_PROP(minH);
- JS_PROP(minW);
- JS_PROP(parentSubform);
- JS_PROP(presence);
- JS_PROP(rawValue);
- JS_PROP(relevant);
- JS_PROP(rotate);
- JS_PROP(selectedIndex);
- JS_PROP(use);
- JS_PROP(usehref);
- JS_PROP(validationMessage);
- JS_PROP(vAlign);
- JS_PROP(w);
- JS_PROP(x);
- JS_PROP(y);
+ JSE_PROP(defaultValue); /* {default} */
+ JSE_PROP(access);
+ JSE_PROP(accessKey);
+ JSE_PROP(anchorType);
+ JSE_PROP(borderColor);
+ JSE_PROP(borderWidth);
+ JSE_PROP(colSpan);
+ JSE_PROP(editValue);
+ JSE_PROP(fillColor);
+ JSE_PROP(fontColor);
+ JSE_PROP(formatMessage);
+ JSE_PROP(formattedValue);
+ JSE_PROP(h);
+ JSE_PROP(hAlign);
+ JSE_PROP(locale);
+ JSE_PROP(mandatory);
+ JSE_PROP(mandatoryMessage);
+ JSE_PROP(maxH);
+ JSE_PROP(maxW);
+ JSE_PROP(minH);
+ JSE_PROP(minW);
+ JSE_PROP(parentSubform);
+ JSE_PROP(presence);
+ JSE_PROP(rawValue);
+ JSE_PROP(relevant);
+ JSE_PROP(rotate);
+ JSE_PROP(selectedIndex);
+ JSE_PROP(use);
+ JSE_PROP(usehref);
+ JSE_PROP(validationMessage);
+ JSE_PROP(vAlign);
+ JSE_PROP(w);
+ JSE_PROP(x);
+ JSE_PROP(y);
private:
static const CJX_MethodSpec MethodSpecs[];