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

Side by Side Diff: xfa/fwl/basewidget/ifwl_monthcalendar.h

Issue 1874963002: Remove some FWL code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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/basewidget/ifwl_listbox.h ('k') | xfa/fwl/basewidget/ifwl_spinbutton.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 XFA_FWL_BASEWIDGET_IFWL_MONTHCALENDAR_H_ 7 #ifndef XFA_FWL_BASEWIDGET_IFWL_MONTHCALENDAR_H_
8 #define XFA_FWL_BASEWIDGET_IFWL_MONTHCALENDAR_H_ 8 #define XFA_FWL_BASEWIDGET_IFWL_MONTHCALENDAR_H_
9 9
10 #include "xfa/fwl/core/ifwl_widget.h" 10 #include "xfa/fwl/core/ifwl_widget.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 #define FWL_MCCAPACITY_May FWL_WGTCAPACITY_MAX + 16 90 #define FWL_MCCAPACITY_May FWL_WGTCAPACITY_MAX + 16
91 #define FWL_MCCAPACITY_June FWL_WGTCAPACITY_MAX + 17 91 #define FWL_MCCAPACITY_June FWL_WGTCAPACITY_MAX + 17
92 #define FWL_MCCAPACITY_July FWL_WGTCAPACITY_MAX + 18 92 #define FWL_MCCAPACITY_July FWL_WGTCAPACITY_MAX + 18
93 #define FWL_MCCAPACITY_August FWL_WGTCAPACITY_MAX + 19 93 #define FWL_MCCAPACITY_August FWL_WGTCAPACITY_MAX + 19
94 #define FWL_MCCAPACITY_September FWL_WGTCAPACITY_MAX + 20 94 #define FWL_MCCAPACITY_September FWL_WGTCAPACITY_MAX + 20
95 #define FWL_MCCAPACITY_October FWL_WGTCAPACITY_MAX + 21 95 #define FWL_MCCAPACITY_October FWL_WGTCAPACITY_MAX + 21
96 #define FWL_MCCAPACITY_November FWL_WGTCAPACITY_MAX + 22 96 #define FWL_MCCAPACITY_November FWL_WGTCAPACITY_MAX + 22
97 #define FWL_MCCAPACITY_December FWL_WGTCAPACITY_MAX + 23 97 #define FWL_MCCAPACITY_December FWL_WGTCAPACITY_MAX + 23
98 #define FWL_MCCAPACITY_Today FWL_WGTCAPACITY_MAX + 24 98 #define FWL_MCCAPACITY_Today FWL_WGTCAPACITY_MAX + 24
99 #define FWL_EVENT_MCD_DATESELECTED L"FWL_EVENT_MCD_DateSelected" 99 #define FWL_EVENT_MCD_DATESELECTED L"FWL_EVENT_MCD_DateSelected"
100 #define FWL_EVT_MCD_DateChanged L"FWL_EVENT_MCD_DateChanged"
101 #define FWL_NOTEHASH_MCD_DATASELECTED 1085596932 100 #define FWL_NOTEHASH_MCD_DATASELECTED 1085596932
101 // TODO(dsinclair): Event hash is hash of string, cleanup. pdfium:474
102 #define FWL_EVTHASH_MCD_DateChanged 54212227 102 #define FWL_EVTHASH_MCD_DateChanged 54212227
103 103
104 BEGIN_FWL_EVENT_DEF(CFWL_Event_McdDateSelected, FWL_NOTEHASH_MCD_DATASELECTED) 104 BEGIN_FWL_EVENT_DEF(CFWL_Event_McdDateSelected, FWL_NOTEHASH_MCD_DATASELECTED)
105 int32_t m_iStartDay; 105 int32_t m_iStartDay;
106 int32_t m_iEndDay; 106 int32_t m_iEndDay;
107 END_FWL_EVENT_DEF 107 END_FWL_EVENT_DEF
108 108
109 BEGIN_FWL_EVENT_DEF(CFWL_EventMcdDateChanged, FWL_EVTHASH_MCD_DateChanged) 109 BEGIN_FWL_EVENT_DEF(CFWL_EventMcdDateChanged, FWL_EVTHASH_MCD_DateChanged)
110 int32_t m_iOldYear; 110 int32_t m_iOldYear;
111 int32_t m_iOldMonth; 111 int32_t m_iOldMonth;
(...skipping 18 matching lines...) Expand all
130 int32_t& iMonth, 130 int32_t& iMonth,
131 int32_t& iDay, 131 int32_t& iDay,
132 int32_t nIndex = 0); 132 int32_t nIndex = 0);
133 FX_BOOL SetSelect(int32_t iYear, int32_t iMonth, int32_t iDay); 133 FX_BOOL SetSelect(int32_t iYear, int32_t iMonth, int32_t iDay);
134 134
135 protected: 135 protected:
136 IFWL_MonthCalendar(); 136 IFWL_MonthCalendar();
137 }; 137 };
138 138
139 #endif // XFA_FWL_BASEWIDGET_IFWL_MONTHCALENDAR_H_ 139 #endif // XFA_FWL_BASEWIDGET_IFWL_MONTHCALENDAR_H_
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/ifwl_listbox.h ('k') | xfa/fwl/basewidget/ifwl_spinbutton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698