• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2016 The PDFium Authors
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 "xfa/fwl/cfwl_edit.h"
11 #include "xfa/fwl/cfwl_widget.h"
12 
13 namespace pdfium {
14 
15 class CFWL_ComboEdit final : public CFWL_Edit {
16  public:
17   CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED;
18   ~CFWL_ComboEdit() override;
19 
20   // CFWL_Edit:
21   void OnProcessMessage(CFWL_Message* pMessage) override;
22 
23   void ClearSelected();
24   void SetSelected();
25 
26  private:
27   CFWL_ComboEdit(CFWL_App* app,
28                  const Properties& properties,
29                  CFWL_Widget* pOuter);
30 };
31 
32 }  // namespace pdfium
33 
34 // TODO(crbug.com/42271761): Remove.
35 using pdfium::CFWL_ComboEdit;
36 
37 #endif  // XFA_FWL_CFWL_COMBOEDIT_H_
38