From 8308b8c3dfad425942d4aba19a6b85049beff6f4 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 29 Jan 2018 21:34:56 +0000 Subject: Add common base class between CXFA_FFComboBox and CXFA_FFListBox This CL adds a CXFA_FFDropDown to serve as a base class for the CXFA_FFComboBox and CXFA_FFListBox and adds a virtual InsertItem and DeleteItem methods. Change-Id: I325ffc579ed42a4755bae0c4d18667f8a9458950 Reviewed-on: https://pdfium-review.googlesource.com/24550 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- xfa/fxfa/cxfa_ffdropdown.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 xfa/fxfa/cxfa_ffdropdown.cpp (limited to 'xfa/fxfa/cxfa_ffdropdown.cpp') diff --git a/xfa/fxfa/cxfa_ffdropdown.cpp b/xfa/fxfa/cxfa_ffdropdown.cpp new file mode 100644 index 0000000000..5175929e12 --- /dev/null +++ b/xfa/fxfa/cxfa_ffdropdown.cpp @@ -0,0 +1,11 @@ +// Copyright 2018 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + +#include "xfa/fxfa/cxfa_ffdropdown.h" + +CXFA_FFDropDown::CXFA_FFDropDown(CXFA_Node* node) : CXFA_FFField(node) {} + +CXFA_FFDropDown::~CXFA_FFDropDown() = default; -- cgit v1.2.3