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/include/xfa_ffwidgethandler.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/include/xfa_ffwidgethandler.h')
-rw-r--r-- | xfa/fxfa/include/xfa_ffwidgethandler.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xfa/fxfa/include/xfa_ffwidgethandler.h b/xfa/fxfa/include/xfa_ffwidgethandler.h index cc6d048619..4aa86d21f0 100644 --- a/xfa/fxfa/include/xfa_ffwidgethandler.h +++ b/xfa/fxfa/include/xfa_ffwidgethandler.h @@ -93,7 +93,7 @@ class CXFA_FFWidgetHandler { CXFA_Node* CreateListBox(CXFA_Node* pParent, CXFA_Node* pBefore) const; CXFA_Node* CreateImageField(CXFA_Node* pParent, CXFA_Node* pBefore) const; CXFA_Node* CreatePasswordEdit(CXFA_Node* pParent, CXFA_Node* pBefore) const; - CXFA_Node* CreateField(XFA_ELEMENT eElement, + CXFA_Node* CreateField(XFA_Element eElement, CXFA_Node* pParent, CXFA_Node* pBefore) const; CXFA_Node* CreateArc(CXFA_Node* pParent, CXFA_Node* pBefore) const; @@ -101,25 +101,25 @@ class CXFA_FFWidgetHandler { CXFA_Node* CreateImage(CXFA_Node* pParent, CXFA_Node* pBefore) const; CXFA_Node* CreateLine(CXFA_Node* pParent, CXFA_Node* pBefore) const; CXFA_Node* CreateText(CXFA_Node* pParent, CXFA_Node* pBefore) const; - CXFA_Node* CreateDraw(XFA_ELEMENT eElement, + CXFA_Node* CreateDraw(XFA_Element eElement, CXFA_Node* pParent, CXFA_Node* pBefore) const; CXFA_Node* CreateSubform(CXFA_Node* pParent, CXFA_Node* pBefore) const; - CXFA_Node* CreateFormItem(XFA_ELEMENT eElement, + CXFA_Node* CreateFormItem(XFA_Element eElement, CXFA_Node* pParent, CXFA_Node* pBefore) const; - CXFA_Node* CreateCopyNode(XFA_ELEMENT eElement, + CXFA_Node* CreateCopyNode(XFA_Element eElement, CXFA_Node* pParent, CXFA_Node* pBefore = NULL) const; - CXFA_Node* CreateTemplateNode(XFA_ELEMENT eElement, + CXFA_Node* CreateTemplateNode(XFA_Element eElement, CXFA_Node* pParent, CXFA_Node* pBefore) const; CXFA_Node* CreateFontNode(CXFA_Node* pParent) const; CXFA_Node* CreateMarginNode(CXFA_Node* pParent, uint32_t dwFlags, FX_FLOAT fInsets[4]) const; - CXFA_Node* CreateValueNode(XFA_ELEMENT eValue, CXFA_Node* pParent) const; + CXFA_Node* CreateValueNode(XFA_Element eValue, CXFA_Node* pParent) const; CXFA_Document* GetObjFactory() const; CXFA_Document* GetXFADoc() const; |