diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-08 18:01:31 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-08 18:01:31 +0000 |
commit | 1d86501aa9ee49890fbb43db60333a42f947cd74 (patch) | |
tree | 65b0c342fa74b11371a640c4444b87b6d6a6f5ba /fxjs/cjx_eventpseudomodel.h | |
parent | 7055dffad92bd7be7cdb20ed12d5cc5890177e7a (diff) | |
download | pdfium-1d86501aa9ee49890fbb43db60333a42f947cd74.tar.xz |
Convert XFA_ATTRIBUTE to an enum class
This CL converts the XFA_ATTRIBUTE enum to an enum class and fixes up
various usages.
Change-Id: I3dd17cc412d97eb212a65ce63bb9fa19605e1e91
Reviewed-on: https://pdfium-review.googlesource.com/18050
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cjx_eventpseudomodel.h')
-rw-r--r-- | fxjs/cjx_eventpseudomodel.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/fxjs/cjx_eventpseudomodel.h b/fxjs/cjx_eventpseudomodel.h index 95de0b5f5b..319bb5d0ed 100644 --- a/fxjs/cjx_eventpseudomodel.h +++ b/fxjs/cjx_eventpseudomodel.h @@ -38,30 +38,30 @@ class CJX_EventPseudoModel : public CJX_Object { explicit CJX_EventPseudoModel(CScript_EventPseudoModel* model); ~CJX_EventPseudoModel() override; - void Change(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void CommitKey(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void FullText(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void KeyDown(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void Modifier(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); + void Change(CFXJSE_Value* pValue, bool bSetting, XFA_Attribute eAttribute); + void CommitKey(CFXJSE_Value* pValue, bool bSetting, XFA_Attribute eAttribute); + void FullText(CFXJSE_Value* pValue, bool bSetting, XFA_Attribute eAttribute); + void KeyDown(CFXJSE_Value* pValue, bool bSetting, XFA_Attribute eAttribute); + void Modifier(CFXJSE_Value* pValue, bool bSetting, XFA_Attribute eAttribute); void NewContentType(CFXJSE_Value* pValue, bool bSetting, - XFA_ATTRIBUTE eAttribute); - void NewText(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); + XFA_Attribute eAttribute); + void NewText(CFXJSE_Value* pValue, bool bSetting, XFA_Attribute eAttribute); void PrevContentType(CFXJSE_Value* pValue, bool bSetting, - XFA_ATTRIBUTE eAttribute); - void PrevText(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void Reenter(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void SelEnd(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void SelStart(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); - void Shift(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); + XFA_Attribute eAttribute); + void PrevText(CFXJSE_Value* pValue, bool bSetting, XFA_Attribute eAttribute); + void Reenter(CFXJSE_Value* pValue, bool bSetting, XFA_Attribute eAttribute); + void SelEnd(CFXJSE_Value* pValue, bool bSetting, XFA_Attribute eAttribute); + void SelStart(CFXJSE_Value* pValue, bool bSetting, XFA_Attribute eAttribute); + void Shift(CFXJSE_Value* pValue, bool bSetting, XFA_Attribute eAttribute); void SoapFaultCode(CFXJSE_Value* pValue, bool bSetting, - XFA_ATTRIBUTE eAttribute); + XFA_Attribute eAttribute); void SoapFaultString(CFXJSE_Value* pValue, bool bSetting, - XFA_ATTRIBUTE eAttribute); - void Target(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute); + XFA_Attribute eAttribute); + void Target(CFXJSE_Value* pValue, bool bSetting, XFA_Attribute eAttribute); void Emit(CFXJSE_Arguments* pArguments); void Reset(CFXJSE_Arguments* pArguments); |