summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/basewidget/fwl_datetimepicker.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-02-25 13:38:37 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-02-25 13:38:37 -0500
commite73c5ceb8176dfd92138780f640ac193f1c0ea30 (patch)
treed7e68f16a64807c322e6f9045e2920adf564800f /xfa/include/fwl/basewidget/fwl_datetimepicker.h
parent2e6864282e65c55ff6809f5aaae011b31c3a361a (diff)
downloadpdfium-e73c5ceb8176dfd92138780f640ac193f1c0ea30.tar.xz
Remove include only fwl.h and IWYU.
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1735833003 .
Diffstat (limited to 'xfa/include/fwl/basewidget/fwl_datetimepicker.h')
-rw-r--r--xfa/include/fwl/basewidget/fwl_datetimepicker.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/xfa/include/fwl/basewidget/fwl_datetimepicker.h b/xfa/include/fwl/basewidget/fwl_datetimepicker.h
index 5932991f6f..7cce00eadd 100644
--- a/xfa/include/fwl/basewidget/fwl_datetimepicker.h
+++ b/xfa/include/fwl/basewidget/fwl_datetimepicker.h
@@ -7,10 +7,9 @@
#ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_DATETIMEPICKER_H_
#define XFA_INCLUDE_FWL_BASEWIDGET_FWL_DATETIMEPICKER_H_
-class CFWL_WidgetImpProperties;
-class IFWL_Widget;
-class IFWL_DateTimePickerDP;
-class IFWL_DateTimePicker;
+#include "xfa/include/fwl/core/fwl_note.h"
+#include "xfa/include/fwl/core/fwl_widget.h"
+
#define FWL_CLASS_DateTimePicker L"FWL_DATETIMEPICKER"
#define FWL_CLASSHASH_DateTimePicker 3851176257
#define FWL_STYLEEXT_DTP_AllowEdit (1L << 0)
@@ -47,21 +46,27 @@ class IFWL_DateTimePicker;
#define FWL_EVTHASH_DTP_HoverChanged 686674750
#define FWL_EVT_DTP_SelectChanged L"FWL_EVENT_DTP_SelectChanged"
#define FWL_EVTHASH_DTP_SelectChanged 1589616858
+
BEGIN_FWL_EVENT_DEF(CFWL_Event_DtpDropDown, FWL_EVTHASH_DTP_DropDown)
END_FWL_EVENT_DEF
+
BEGIN_FWL_EVENT_DEF(CFWL_Event_DtpCloseUp, FWL_EVTHASH_DTP_CloseUp)
END_FWL_EVENT_DEF
+
BEGIN_FWL_EVENT_DEF(CFWL_Event_DtpEditChanged, FWL_EVTHASH_DTP_EditChanged)
CFX_WideString m_wsText;
END_FWL_EVENT_DEF
+
BEGIN_FWL_EVENT_DEF(CFWL_Event_DtpHoverChanged, FWL_EVTHASH_DTP_HoverChanged)
int32_t hoverday;
END_FWL_EVENT_DEF
+
BEGIN_FWL_EVENT_DEF(CFWL_Event_DtpSelectChanged, FWL_EVTHASH_DTP_SelectChanged)
int32_t iYear;
int32_t iMonth;
int32_t iDay;
END_FWL_EVENT_DEF
+
class IFWL_DateTimePickerDP : public IFWL_DataProvider {
public:
virtual FWL_ERR GetToday(IFWL_Widget* pWidget,