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

Side by Side Diff: xfa/fwl/core/cfwl_datetimepicker.cpp

Issue 2522663002: Remove the GetCaption dataprovider method (Closed)
Patch Set: Remove tooltip 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 unified diff | Download patch
« no previous file with comments | « xfa/fwl/core/cfwl_datetimepicker.h ('k') | xfa/fwl/core/cfwl_listbox.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 #include "xfa/fwl/core/cfwl_datetimepicker.h" 7 #include "xfa/fwl/core/cfwl_datetimepicker.h"
8 8
9 #include <memory> 9 #include <memory>
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 void CFWL_DateTimePicker::SetEditText(const CFX_WideString& wsText) { 50 void CFWL_DateTimePicker::SetEditText(const CFX_WideString& wsText) {
51 ToDateTimePicker(GetWidget())->SetEditText(wsText); 51 ToDateTimePicker(GetWidget())->SetEditText(wsText);
52 } 52 }
53 53
54 void CFWL_DateTimePicker::SetCurSel(int32_t iYear, 54 void CFWL_DateTimePicker::SetCurSel(int32_t iYear,
55 int32_t iMonth, 55 int32_t iMonth,
56 int32_t iDay) { 56 int32_t iDay) {
57 ToDateTimePicker(GetWidget())->SetCurSel(iYear, iMonth, iDay); 57 ToDateTimePicker(GetWidget())->SetCurSel(iYear, iMonth, iDay);
58 } 58 }
59 59
60 void CFWL_DateTimePicker::GetCaption(IFWL_Widget* pWidget,
61 CFX_WideString& wsCaption) {
62 wsCaption = L"";
63 }
64
65 void CFWL_DateTimePicker::GetToday(IFWL_Widget* pWidget, 60 void CFWL_DateTimePicker::GetToday(IFWL_Widget* pWidget,
66 int32_t& iYear, 61 int32_t& iYear,
67 int32_t& iMonth, 62 int32_t& iMonth,
68 int32_t& iDay) { 63 int32_t& iDay) {
69 iYear = 2011; 64 iYear = 2011;
70 iMonth = 1; 65 iMonth = 1;
71 iDay = 1; 66 iDay = 1;
72 } 67 }
73 68
74 void CFWL_DateTimePicker::GetBBox(CFX_RectF& rect) { 69 void CFWL_DateTimePicker::GetBBox(CFX_RectF& rect) {
75 ToDateTimePicker(GetWidget())->GetBBox(rect); 70 ToDateTimePicker(GetWidget())->GetBBox(rect);
76 } 71 }
77 72
78 void CFWL_DateTimePicker::SetEditLimit(int32_t nLimit) { 73 void CFWL_DateTimePicker::SetEditLimit(int32_t nLimit) {
79 ToDateTimePicker(GetWidget())->SetEditLimit(nLimit); 74 ToDateTimePicker(GetWidget())->SetEditLimit(nLimit);
80 } 75 }
81 76
82 void CFWL_DateTimePicker::ModifyEditStylesEx(uint32_t dwStylesExAdded, 77 void CFWL_DateTimePicker::ModifyEditStylesEx(uint32_t dwStylesExAdded,
83 uint32_t dwStylesExRemoved) { 78 uint32_t dwStylesExRemoved) {
84 ToDateTimePicker(GetWidget()) 79 ToDateTimePicker(GetWidget())
85 ->ModifyEditStylesEx(dwStylesExAdded, dwStylesExRemoved); 80 ->ModifyEditStylesEx(dwStylesExAdded, dwStylesExRemoved);
86 } 81 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/cfwl_datetimepicker.h ('k') | xfa/fwl/core/cfwl_listbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698