summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_evttextchanged.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-17 09:25:05 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-17 09:25:05 -0800
commit098f454bddc57c9af00d725132a6d9ad8bdb171f (patch)
treedf08147b985014b2dbbef0bdf70c49d9f50fa4a5 /xfa/fwl/core/cfwl_evttextchanged.h
parentd5670482c19cff27997c3c94aa2efa142ae36259 (diff)
downloadpdfium-098f454bddc57c9af00d725132a6d9ad8bdb171f.tar.xz
Move the IFWL_Edit Events out of ifwl_edit.h
This Cl moves the edit events to actual class files and renames to drop the Edt from the names. Review-Url: https://codereview.chromium.org/2515463002
Diffstat (limited to 'xfa/fwl/core/cfwl_evttextchanged.h')
-rw-r--r--xfa/fwl/core/cfwl_evttextchanged.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/xfa/fwl/core/cfwl_evttextchanged.h b/xfa/fwl/core/cfwl_evttextchanged.h
new file mode 100644
index 0000000000..69d28bb4a6
--- /dev/null
+++ b/xfa/fwl/core/cfwl_evttextchanged.h
@@ -0,0 +1,25 @@
+// 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_EVTTEXTCHANGED_H_
+#define XFA_FWL_CORE_CFWL_EVTTEXTCHANGED_H_
+
+#include "xfa/fwl/core/cfwl_event.h"
+
+class CFWL_EvtTextChanged : public CFWL_Event {
+ public:
+ CFWL_EvtTextChanged();
+ ~CFWL_EvtTextChanged() override;
+
+ CFWL_EventType GetClassID() const override;
+
+ int32_t nChangeType;
+ CFX_WideString wsInsert;
+ CFX_WideString wsDelete;
+ CFX_WideString wsPrevText;
+};
+
+#endif // XFA_FWL_CORE_CFWL_EVTTEXTCHANGED_H_