Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(592)

Unified Diff: xfa/fwl/core/ifwl_datetimepicker.h

Issue 2506253004: Split fwl/core class pt I. (Closed)
Patch Set: Rebase to master Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fwl/core/ifwl_dataprovider.h ('k') | xfa/fwl/core/ifwl_edit.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/ifwl_datetimepicker.h
diff --git a/xfa/fwl/core/ifwl_datetimepicker.h b/xfa/fwl/core/ifwl_datetimepicker.h
index e9aeb08be218ce86f8ff647767730c9cdad27c91..c8d70f55750307d291444666a6cfb80d87e893a9 100644
--- a/xfa/fwl/core/ifwl_datetimepicker.h
+++ b/xfa/fwl/core/ifwl_datetimepicker.h
@@ -9,7 +9,6 @@
#include "xfa/fwl/core/cfwl_event.h"
#include "xfa/fwl/core/cfwl_widgetproperties.h"
-#include "xfa/fwl/core/ifwl_dataprovider.h"
#include "xfa/fwl/core/ifwl_datetimeedit.h"
#include "xfa/fwl/core/ifwl_monthcalendar.h"
#include "xfa/fwl/core/ifwl_widget.h"
@@ -34,7 +33,7 @@
class IFWL_DateTimeEdit;
class IFWL_FormProxy;
-class IFWL_DateTimePickerDP : public IFWL_DataProvider {
+class IFWL_DateTimePickerDP : public IFWL_Widget::DataProvider {
public:
virtual void GetToday(IFWL_Widget* pWidget,
int32_t& iYear,
@@ -42,7 +41,8 @@ class IFWL_DateTimePickerDP : public IFWL_DataProvider {
int32_t& iDay) = 0;
};
-class IFWL_DateTimePicker : public IFWL_Widget, public IFWL_MonthCalendarDP {
+class IFWL_DateTimePicker : public IFWL_Widget,
+ public IFWL_MonthCalendar::DataProvider {
public:
explicit IFWL_DateTimePicker(
const IFWL_App* app,
@@ -61,10 +61,10 @@ class IFWL_DateTimePicker : public IFWL_Widget, public IFWL_MonthCalendarDP {
void OnDrawWidget(CFX_Graphics* pGraphics,
const CFX_Matrix* pMatrix) override;
- // IFWL_DataProvider
+ // IFWL_Widget::DataProvider
void GetCaption(IFWL_Widget* pWidget, CFX_WideString& wsCaption) override;
- // IFWL_MonthCalendarDP
+ // IFWL_MonthCalendar::DataProvider
int32_t GetCurDay(IFWL_Widget* pWidget) override;
int32_t GetCurMonth(IFWL_Widget* pWidget) override;
int32_t GetCurYear(IFWL_Widget* pWidget) override;
« no previous file with comments | « xfa/fwl/core/ifwl_dataprovider.h ('k') | xfa/fwl/core/ifwl_edit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698