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

Side by Side Diff: xfa/fwl/core/ifwl_datetimecalendar.h

Issue 2433133002: Remove IFWL_*::Create methods, use new (Closed)
Patch Set: Rebase to master Created 4 years, 2 months 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 unified diff | Download patch
« no previous file with comments | « xfa/fwl/core/ifwl_combolist.cpp ('k') | xfa/fwl/core/ifwl_datetimecalendar.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FWL_CORE_IFWL_DATETIMECALENDAR_H_ 7 #ifndef XFA_FWL_CORE_IFWL_DATETIMECALENDAR_H_
8 #define XFA_FWL_CORE_IFWL_DATETIMECALENDAR_H_ 8 #define XFA_FWL_CORE_IFWL_DATETIMECALENDAR_H_
9 9
10 #include "xfa/fwl/core/ifwl_monthcalendar.h" 10 #include "xfa/fwl/core/ifwl_monthcalendar.h"
11 11
12 class IFWL_DateTimeCalendar : public IFWL_MonthCalendar { 12 class IFWL_DateTimeCalendar : public IFWL_MonthCalendar {
13 public: 13 public:
14 static IFWL_DateTimeCalendar* Create(
15 const CFWL_WidgetImpProperties& properties,
16 IFWL_Widget* pOuter);
17
18 IFWL_DateTimeCalendar(const CFWL_WidgetImpProperties& properties, 14 IFWL_DateTimeCalendar(const CFWL_WidgetImpProperties& properties,
19 IFWL_Widget* pOuter); 15 IFWL_Widget* pOuter);
20 16
21 // IFWL_MonthCalendar 17 // IFWL_MonthCalendar
22 FWL_Error Initialize() override; 18 FWL_Error Initialize() override;
23 FWL_Error Finalize() override; 19 FWL_Error Finalize() override;
24 20
25 protected: 21 protected:
26 friend class CFWL_DateTimeCalendarImpDelegate; 22 friend class CFWL_DateTimeCalendarImpDelegate;
27 }; 23 };
(...skipping 10 matching lines...) Expand all
38 protected: 34 protected:
39 IFWL_DateTimeCalendar* m_pOwner; 35 IFWL_DateTimeCalendar* m_pOwner;
40 FX_BOOL m_bFlag; 36 FX_BOOL m_bFlag;
41 37
42 private: 38 private:
43 void DisForm_OnProcessMessage(CFWL_Message* pMessage); 39 void DisForm_OnProcessMessage(CFWL_Message* pMessage);
44 void DisForm_OnLButtonUpEx(CFWL_MsgMouse* pMsg); 40 void DisForm_OnLButtonUpEx(CFWL_MsgMouse* pMsg);
45 }; 41 };
46 42
47 #endif // XFA_FWL_CORE_IFWL_DATETIMECALENDAR_H_ 43 #endif // XFA_FWL_CORE_IFWL_DATETIMECALENDAR_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_combolist.cpp ('k') | xfa/fwl/core/ifwl_datetimecalendar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698