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

Side by Side Diff: xfa/include/fwl/basewidget/fwl_monthcalendar.h

Issue 1453473002: FWL refcounts never incremented (part 2). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Rebased Created 5 years 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/include/fwl/basewidget/fwl_listbox.h ('k') | xfa/include/fwl/basewidget/fwl_picturebox.h » ('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 _FWL_MONTHCALENDAR_H 7 #ifndef _FWL_MONTHCALENDAR_H
8 #define _FWL_MONTHCALENDAR_H 8 #define _FWL_MONTHCALENDAR_H
9 class IFWL_MonthCalendarDP; 9 class IFWL_MonthCalendarDP;
10 class IFWL_MonthCalendar; 10 class IFWL_MonthCalendar;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 int32_t m_iEndDay; 107 int32_t m_iEndDay;
108 END_FWL_EVENT_DEF 108 END_FWL_EVENT_DEF
109 class IFWL_MonthCalendarDP : public IFWL_DataProvider { 109 class IFWL_MonthCalendarDP : public IFWL_DataProvider {
110 public: 110 public:
111 virtual int32_t GetCurDay(IFWL_Widget* pWidget) = 0; 111 virtual int32_t GetCurDay(IFWL_Widget* pWidget) = 0;
112 virtual int32_t GetCurMonth(IFWL_Widget* pWidget) = 0; 112 virtual int32_t GetCurMonth(IFWL_Widget* pWidget) = 0;
113 virtual int32_t GetCurYear(IFWL_Widget* pWidget) = 0; 113 virtual int32_t GetCurYear(IFWL_Widget* pWidget) = 0;
114 }; 114 };
115 class IFWL_MonthCalendar : public IFWL_Widget { 115 class IFWL_MonthCalendar : public IFWL_Widget {
116 public: 116 public:
117 static IFWL_MonthCalendar* Create(); 117 static IFWL_MonthCalendar* Create(const CFWL_WidgetImpProperties& properties,
118 IFWL_Widget* pOuter);
118 119
119 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties,
120 IFWL_Widget* pOuter);
121 int32_t CountSelect(); 120 int32_t CountSelect();
122 FX_BOOL GetSelect(int32_t& iYear, 121 FX_BOOL GetSelect(int32_t& iYear,
123 int32_t& iMonth, 122 int32_t& iMonth,
124 int32_t& iDay, 123 int32_t& iDay,
125 int32_t nIndex = 0); 124 int32_t nIndex = 0);
126 FX_BOOL SetSelect(int32_t iYear, int32_t iMonth, int32_t iDay); 125 FX_BOOL SetSelect(int32_t iYear, int32_t iMonth, int32_t iDay);
127 126
128 protected: 127 protected:
129 IFWL_MonthCalendar(); 128 IFWL_MonthCalendar();
130 }; 129 };
131 #endif 130 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/basewidget/fwl_listbox.h ('k') | xfa/include/fwl/basewidget/fwl_picturebox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698