diff options
author | dsinclair <dsinclair@chromium.org> | 2016-06-21 14:15:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-21 14:15:26 -0700 |
commit | 56a8b1944d555ed65dda97164b702a9a657485ca (patch) | |
tree | 0bfead2fa031b2c162a5992d29a11f872cf77135 /xfa/fxfa/parser/cxfa_widgetdata.h | |
parent | bb8b63d6b762393e6e7460351375d596bdabef0c (diff) | |
download | pdfium-56a8b1944d555ed65dda97164b702a9a657485ca.tar.xz |
Convert XFA_ELEMENT to an enum class
This CL changes XFA_ELEMENT From an enum to an enum class. The type name was
updated to XFA_Element.
Review-Url: https://codereview.chromium.org/2089443002
Diffstat (limited to 'xfa/fxfa/parser/cxfa_widgetdata.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_widgetdata.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_widgetdata.h b/xfa/fxfa/parser/cxfa_widgetdata.h index 26f397cb64..222b5bed4a 100644 --- a/xfa/fxfa/parser/cxfa_widgetdata.h +++ b/xfa/fxfa/parser/cxfa_widgetdata.h @@ -42,7 +42,7 @@ class CXFA_WidgetData : public CXFA_Data { explicit CXFA_WidgetData(CXFA_Node* pNode); CXFA_Node* GetUIChild(); - XFA_ELEMENT GetUIType(); + XFA_Element GetUIType(); CFX_WideString GetRawValue(); int32_t GetAccess(FX_BOOL bTemplate = FALSE); int32_t GetRotate(); @@ -152,7 +152,7 @@ class CXFA_WidgetData : public CXFA_Data { void GetPasswordChar(CFX_WideString& wsPassWord); FX_BOOL IsMultiLine(); int32_t GetVerticalScrollPolicy(); - int32_t GetMaxChars(XFA_ELEMENT& eType); + int32_t GetMaxChars(XFA_Element& eType); FX_BOOL GetFracDigits(int32_t& iFracDigits); FX_BOOL GetLeadDigits(int32_t& iLeadDigits); @@ -173,7 +173,7 @@ class CXFA_WidgetData : public CXFA_Data { CFX_WideString& wsOutput); CXFA_Node* m_pUiChildNode; - XFA_ELEMENT m_eUIType; + XFA_Element m_eUIType; }; #endif // XFA_FXFA_PARSER_CXFA_WIDGETDATA_H_ |