summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_evteditchanged.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-17 10:32:52 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-17 10:32:52 -0800
commitb977720aa7f159ae2c1e9d9b3af1adecff730545 (patch)
treea16a1ece85b3d5276a7257016302ad27564143da /xfa/fwl/core/cfwl_evteditchanged.h
parent28f9b62c397c4f3f8dc0cba69ce1cb8c02f81e76 (diff)
downloadpdfium-b977720aa7f159ae2c1e9d9b3af1adecff730545.tar.xz
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
Diffstat (limited to 'xfa/fwl/core/cfwl_evteditchanged.h')
-rw-r--r--xfa/fwl/core/cfwl_evteditchanged.h20
1 files changed, 20 insertions, 0 deletions
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_