summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_datetimepicker.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-23 09:02:34 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-23 09:02:34 -0800
commit209821f79d0bbeeaeadf4e82ff643ee20d676222 (patch)
tree8384d4422830f598fbe727448e1f39bdd73a895d /xfa/fwl/core/cfwl_datetimepicker.h
parent1e32d811c1c9f0a729e8072cf3530208cf52e763 (diff)
downloadpdfium-209821f79d0bbeeaeadf4e82ff643ee20d676222.tar.xz
Remove plumbing for today value
The calendar always sets today to 2011/01/01. This Cl removes the various DataProviders needed to plumb this value and just sets it where needed. Review-Url: https://codereview.chromium.org/2524993002
Diffstat (limited to 'xfa/fwl/core/cfwl_datetimepicker.h')
-rw-r--r--xfa/fwl/core/cfwl_datetimepicker.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/xfa/fwl/core/cfwl_datetimepicker.h b/xfa/fwl/core/cfwl_datetimepicker.h
index 25fb6f8678..67d0ff1163 100644
--- a/xfa/fwl/core/cfwl_datetimepicker.h
+++ b/xfa/fwl/core/cfwl_datetimepicker.h
@@ -11,19 +11,13 @@
#include "xfa/fwl/core/ifwl_datetimepicker.h"
class CFWL_DateTimePicker : public CFWL_Widget,
- public IFWL_DateTimePicker::DataProvider {
+ public IFWL_Widget::DataProvider {
public:
explicit CFWL_DateTimePicker(const CFWL_App* pApp);
~CFWL_DateTimePicker() override;
void Initialize();
- // IFWL_DateTimePicker::DataProvider
- void GetToday(IFWL_Widget* pWidget,
- int32_t& iYear,
- int32_t& iMonth,
- int32_t& iDay) override;
-
void GetEditText(CFX_WideString& wsText);
void SetEditText(const CFX_WideString& wsText);