aboutsummaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_comboedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/cfwl_comboedit.h')
-rw-r--r--xfa/fwl/cfwl_comboedit.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/xfa/fwl/cfwl_comboedit.h b/xfa/fwl/cfwl_comboedit.h
index 68e6caa87..91e7f35b8 100644
--- a/xfa/fwl/cfwl_comboedit.h
+++ b/xfa/fwl/cfwl_comboedit.h
@@ -1,4 +1,4 @@
-// Copyright 2016 PDFium Authors. All rights reserved.
+// Copyright 2016 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -7,27 +7,24 @@
#ifndef XFA_FWL_CFWL_COMBOEDIT_H_
#define XFA_FWL_CFWL_COMBOEDIT_H_
-#include <memory>
-
#include "xfa/fwl/cfwl_edit.h"
#include "xfa/fwl/cfwl_widget.h"
-#include "xfa/fwl/cfwl_widgetproperties.h"
-
-class CFWL_ComboBox;
class CFWL_ComboEdit final : public CFWL_Edit {
public:
- CFWL_ComboEdit(const CFWL_App* app,
- std::unique_ptr<CFWL_WidgetProperties> properties,
- CFWL_Widget* pOuter);
+ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED;
~CFWL_ComboEdit() override;
- // CFWL_Edit.
+ // CFWL_Edit:
void OnProcessMessage(CFWL_Message* pMessage) override;
void ClearSelected();
void SetSelected();
- void FlagFocus(bool bSet);
+
+ private:
+ CFWL_ComboEdit(CFWL_App* app,
+ const Properties& properties,
+ CFWL_Widget* pOuter);
};
#endif // XFA_FWL_CFWL_COMBOEDIT_H_