diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-21 17:05:58 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-21 17:05:59 -0800 |
commit | 37b6d1479b1674eb239cea8893eea31274d22ecd (patch) | |
tree | 07b5a2842c29c2b3324c6c60d369e9aea000e1b0 /xfa/fwl/core/ifwl_datetimepicker.h | |
parent | 6a1c9bd09ef8fdd2fe2f9e39b9a05f6581be9d87 (diff) | |
download | pdfium-37b6d1479b1674eb239cea8893eea31274d22ecd.tar.xz |
Split fwl/core class pt II.
Split classes in FWL to be single class per file. In the case of data providers
which added no new methods, removed and used the IFWL_Widget::DataProvider
directly.
Review-Url: https://codereview.chromium.org/2520063002
Diffstat (limited to 'xfa/fwl/core/ifwl_datetimepicker.h')
-rw-r--r-- | xfa/fwl/core/ifwl_datetimepicker.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xfa/fwl/core/ifwl_datetimepicker.h b/xfa/fwl/core/ifwl_datetimepicker.h index 9d7b83a6c8..21f5f4a28e 100644 --- a/xfa/fwl/core/ifwl_datetimepicker.h +++ b/xfa/fwl/core/ifwl_datetimepicker.h @@ -35,17 +35,17 @@ class IFWL_DateTimeEdit; class IFWL_FormProxy; -class IFWL_DateTimePickerDP : public IFWL_Widget::DataProvider { - public: - virtual void GetToday(IFWL_Widget* pWidget, - int32_t& iYear, - int32_t& iMonth, - int32_t& iDay) = 0; -}; - class IFWL_DateTimePicker : public IFWL_Widget, public IFWL_MonthCalendar::DataProvider { public: + class DataProvider : public IFWL_Widget::DataProvider { + public: + virtual void GetToday(IFWL_Widget* pWidget, + int32_t& iYear, + int32_t& iMonth, + int32_t& iDay) = 0; + }; + explicit IFWL_DateTimePicker( const IFWL_App* app, std::unique_ptr<CFWL_WidgetProperties> properties); |