1 // Copyright 2016 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef XFA_FWL_CFWL_COMBOEDIT_H_ 8 #define XFA_FWL_CFWL_COMBOEDIT_H_ 9 10 #include <memory> 11 12 #include "xfa/fwl/cfwl_edit.h" 13 #include "xfa/fwl/cfwl_widget.h" 14 #include "xfa/fwl/cfwl_widgetproperties.h" 15 16 class CFWL_ComboBox; 17 18 class CFWL_ComboEdit final : public CFWL_Edit { 19 public: 20 CFWL_ComboEdit(const CFWL_App* app, 21 std::unique_ptr<CFWL_WidgetProperties> properties, 22 CFWL_Widget* pOuter); 23 ~CFWL_ComboEdit() override; 24 25 // CFWL_Edit. 26 void OnProcessMessage(CFWL_Message* pMessage) override; 27 28 void ClearSelected(); 29 void SetSelected(); 30 void FlagFocus(bool bSet); 31 }; 32 33 #endif // XFA_FWL_CFWL_COMBOEDIT_H_ 34