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

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

Issue 1453373006: Kill dead IFWL_*::Initialize() variants dead. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Rebased Created 5 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/include/fwl/basewidget/fwl_combobox.h ('k') | xfa/include/fwl/basewidget/fwl_edit.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_DATETIMEPICKER_H 7 #ifndef _FWL_DATETIMEPICKER_H
8 #define _FWL_DATETIMEPICKER_H 8 #define _FWL_DATETIMEPICKER_H
9 class CFWL_WidgetImpProperties; 9 class CFWL_WidgetImpProperties;
10 class IFWL_Widget; 10 class IFWL_Widget;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 class IFWL_DateTimePickerDP : public IFWL_DataProvider { 64 class IFWL_DateTimePickerDP : public IFWL_DataProvider {
65 public: 65 public:
66 virtual FWL_ERR GetToday(IFWL_Widget* pWidget, 66 virtual FWL_ERR GetToday(IFWL_Widget* pWidget,
67 int32_t& iYear, 67 int32_t& iYear,
68 int32_t& iMonth, 68 int32_t& iMonth,
69 int32_t& iDay) = 0; 69 int32_t& iDay) = 0;
70 }; 70 };
71 class IFWL_DateTimePicker : public IFWL_Widget { 71 class IFWL_DateTimePicker : public IFWL_Widget {
72 public: 72 public:
73 static IFWL_DateTimePicker* Create(); 73 static IFWL_DateTimePicker* Create();
74 FWL_ERR Initialize(IFWL_Widget* pOuter = NULL);
75 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, 74 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties,
76 IFWL_Widget* pOuter = NULL); 75 IFWL_Widget* pOuter);
77 FWL_ERR GetCurSel(int32_t& iYear, int32_t& iMonth, int32_t& iDay); 76 FWL_ERR GetCurSel(int32_t& iYear, int32_t& iMonth, int32_t& iDay);
78 FWL_ERR SetCurSel(int32_t iYear, int32_t iMonth, int32_t iDay); 77 FWL_ERR SetCurSel(int32_t iYear, int32_t iMonth, int32_t iDay);
79 FWL_ERR SetEditText(const CFX_WideString& wsText); 78 FWL_ERR SetEditText(const CFX_WideString& wsText);
80 FWL_ERR GetEditText(CFX_WideString& wsText, 79 FWL_ERR GetEditText(CFX_WideString& wsText,
81 int32_t nStart = 0, 80 int32_t nStart = 0,
82 int32_t nCount = -1) const; 81 int32_t nCount = -1) const;
83 int32_t CountSelRanges(); 82 int32_t CountSelRanges();
84 int32_t GetSelRange(int32_t nIndex, int32_t& nStart); 83 int32_t GetSelRange(int32_t nIndex, int32_t& nStart);
85 FX_BOOL CanUndo(); 84 FX_BOOL CanUndo();
86 FX_BOOL CanRedo(); 85 FX_BOOL CanRedo();
(...skipping 10 matching lines...) Expand all
97 FX_BOOL DeSelect(); 96 FX_BOOL DeSelect();
98 FWL_ERR GetBBox(CFX_RectF& rect); 97 FWL_ERR GetBBox(CFX_RectF& rect);
99 FWL_ERR SetEditLimit(int32_t nLimit); 98 FWL_ERR SetEditLimit(int32_t nLimit);
100 FWL_ERR ModifyEditStylesEx(FX_DWORD dwStylesExAdded, 99 FWL_ERR ModifyEditStylesEx(FX_DWORD dwStylesExAdded,
101 FX_DWORD dwStylesExRemoved); 100 FX_DWORD dwStylesExRemoved);
102 101
103 protected: 102 protected:
104 IFWL_DateTimePicker(); 103 IFWL_DateTimePicker();
105 }; 104 };
106 #endif 105 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/basewidget/fwl_combobox.h ('k') | xfa/include/fwl/basewidget/fwl_edit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698