From b977720aa7f159ae2c1e9d9b3af1adecff730545 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 17 Nov 2016 10:32:52 -0800 Subject: Create CFWL_EvtEditChanged This CL creates a generic event for CFWL_EventType::EditChanged and uses it in the ComboBox and DateTimePicker. None of the params from the custom events were used so they have been removed. Review-Url: https://codereview.chromium.org/2511813002 --- xfa/fwl/core/cfwl_evteditchanged.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 xfa/fwl/core/cfwl_evteditchanged.h (limited to 'xfa/fwl/core/cfwl_evteditchanged.h') diff --git a/xfa/fwl/core/cfwl_evteditchanged.h b/xfa/fwl/core/cfwl_evteditchanged.h new file mode 100644 index 0000000000..d910f7d6a6 --- /dev/null +++ b/xfa/fwl/core/cfwl_evteditchanged.h @@ -0,0 +1,20 @@ +// Copyright 2016 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 + +#ifndef XFA_FWL_CORE_CFWL_EVTEDITCHANGED_H_ +#define XFA_FWL_CORE_CFWL_EVTEDITCHANGED_H_ + +#include "xfa/fwl/core/cfwl_event.h" + +class CFWL_EvtEditChanged : public CFWL_Event { + public: + CFWL_EvtEditChanged(); + ~CFWL_EvtEditChanged() override; + + CFWL_EventType GetClassID() const override; +}; + +#endif // XFA_FWL_CORE_CFWL_EVTEDITCHANGED_H_ -- cgit v1.2.3