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

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

Issue 2522663002: Remove the GetCaption dataprovider method (Closed)
Patch Set: Remove tooltip Created 4 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/fwl/core/ifwl_datetimepicker.h ('k') | xfa/fwl/core/ifwl_pushbutton.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/ifwl_datetimepicker.h" 7 #include "xfa/fwl/core/ifwl_datetimepicker.h"
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 ShowMonthCalendar(false); 668 ShowMonthCalendar(false);
669 if (m_pEdit->GetStates() & FWL_WGTSTATE_Focused) { 669 if (m_pEdit->GetStates() & FWL_WGTSTATE_Focused) {
670 pMsg->m_pSrcTarget = m_pEdit.get(); 670 pMsg->m_pSrcTarget = m_pEdit.get();
671 m_pEdit->GetDelegate()->OnProcessMessage(pMsg); 671 m_pEdit->GetDelegate()->OnProcessMessage(pMsg);
672 } 672 }
673 } 673 }
674 rtInvalidate.Inflate(2, 2); 674 rtInvalidate.Inflate(2, 2);
675 Repaint(&rtInvalidate); 675 Repaint(&rtInvalidate);
676 } 676 }
677 677
678 void IFWL_DateTimePicker::GetCaption(IFWL_Widget* pWidget,
679 CFX_WideString& wsCaption) {}
680
681 int32_t IFWL_DateTimePicker::GetCurDay(IFWL_Widget* pWidget) { 678 int32_t IFWL_DateTimePicker::GetCurDay(IFWL_Widget* pWidget) {
682 return m_iCurDay; 679 return m_iCurDay;
683 } 680 }
684 681
685 int32_t IFWL_DateTimePicker::GetCurMonth(IFWL_Widget* pWidget) { 682 int32_t IFWL_DateTimePicker::GetCurMonth(IFWL_Widget* pWidget) {
686 return m_iCurMonth; 683 return m_iCurMonth;
687 } 684 }
688 685
689 int32_t IFWL_DateTimePicker::GetCurYear(IFWL_Widget* pWidget) { 686 int32_t IFWL_DateTimePicker::GetCurYear(IFWL_Widget* pWidget) {
690 return m_iCurYear; 687 return m_iCurYear;
691 } 688 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_datetimepicker.h ('k') | xfa/fwl/core/ifwl_pushbutton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698