diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-17 13:15:16 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-17 13:15:16 -0800 |
commit | 3855f7ff0d4c5c8653fc17219bf65c4a0a95e8bb (patch) | |
tree | 17cd22db0b4cd1ea3c337d99ee760b3a86181eaf /xfa/fwl/core/cfwl_evtselectchanged.h | |
parent | 935c6310adacf2f4a4265e831e6cb60dc7a35803 (diff) | |
download | pdfium-3855f7ff0d4c5c8653fc17219bf65c4a0a95e8bb.tar.xz |
Unify the three CFWL_EventType::SelectChange classes.
This CL removes the ListBox SelectChange class as it is never processed. The
other two have been unified into a single classs.
Review-Url: https://codereview.chromium.org/2509283003
Diffstat (limited to 'xfa/fwl/core/cfwl_evtselectchanged.h')
-rw-r--r-- | xfa/fwl/core/cfwl_evtselectchanged.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/xfa/fwl/core/cfwl_evtselectchanged.h b/xfa/fwl/core/cfwl_evtselectchanged.h new file mode 100644 index 0000000000..f01b2aac6a --- /dev/null +++ b/xfa/fwl/core/cfwl_evtselectchanged.h @@ -0,0 +1,28 @@ +// 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_EVTSELECTCHANGED_H_ +#define XFA_FWL_CORE_CFWL_EVTSELECTCHANGED_H_ + +#include "xfa/fwl/core/cfwl_event.h" + +class CFWL_EvtSelectChanged : public CFWL_Event { + public: + CFWL_EvtSelectChanged(); + ~CFWL_EvtSelectChanged() override; + + CFWL_EventType GetClassID() const override; + + // Used by ComboBox. + bool bLButtonUp; + + // Used by DateTimePIcker + int32_t iYear; + int32_t iMonth; + int32_t iDay; +}; + +#endif // XFA_FWL_CORE_CFWL_EVTSELECTCHANGED_H_ |