diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-29 22:21:36 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-29 22:21:36 +0000 |
commit | 95b232f791231a0db0de780b568a0825a2e6e989 (patch) | |
tree | 951a11b9c846f4108c28ed8361a35f59f2b1829f /xfa | |
parent | 8308b8c3dfad425942d4aba19a6b85049beff6f4 (diff) | |
download | pdfium-95b232f791231a0db0de780b568a0825a2e6e989.tar.xz |
Cleanup some ChoiceList code
This CL combines some ComboBox with ListBox code to remove duplication
when dealing with choice lists.
Change-Id: I735b6596c67aaf80ab96573af5c8d81e7875c27c
Reviewed-on: https://pdfium-review.googlesource.com/24551
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa')
-rw-r--r-- | xfa/fxfa/parser/cxfa_node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.h b/xfa/fxfa/parser/cxfa_node.h index 130422e59c..87f5a475bd 100644 --- a/xfa/fxfa/parser/cxfa_node.h +++ b/xfa/fxfa/parser/cxfa_node.h @@ -312,7 +312,6 @@ class CXFA_Node : public CXFA_Object { bool IsListBox(); bool IsAllowNeutral(); bool IsRadioButton(); - bool IsChoiceListAllowTextEntry(); bool IsMultiLine(); XFA_AttributeEnum GetButtonHighlight(); @@ -336,6 +335,7 @@ class CXFA_Node : public CXFA_Object { CXFA_Node* GetExclGroupFirstMember(); CXFA_Node* GetExclGroupNextMember(CXFA_Node* pNode); + bool IsChoiceListAllowTextEntry(); int32_t CountChoiceListItems(bool bSaveValue); Optional<WideString> GetChoiceListItem(int32_t nIndex, bool bSaveValue); bool IsChoiceListMultiSelect(); |