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

Side by Side Diff: xfa/fwl/lightwidget/datetimepicker.cpp

Issue 1827923002: Move xfa/include/fwl/{core,basewidget} to xfa/fwl/{core,basewidget}. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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/lightwidget/combobox.cpp ('k') | xfa/fwl/lightwidget/edit.cpp » ('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/include/fwl/lightwidget/datetimepicker.h" 7 #include "xfa/include/fwl/lightwidget/datetimepicker.h"
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "xfa/include/fwl/basewidget/fwl_datetimepicker.h" 11 #include "xfa/fwl/basewidget/ifwl_datetimepicker.h"
12 #include "xfa/include/fwl/core/fwl_error.h" 12 #include "xfa/fwl/core/fwl_error.h"
13 #include "xfa/include/fwl/core/fwl_note.h" 13 #include "xfa/fwl/core/ifwl_widget.h"
14 #include "xfa/include/fwl/core/fwl_widget.h"
15 14
16 CFWL_DateTimePicker* CFWL_DateTimePicker::Create() { 15 CFWL_DateTimePicker* CFWL_DateTimePicker::Create() {
17 return new CFWL_DateTimePicker; 16 return new CFWL_DateTimePicker;
18 } 17 }
19 FWL_ERR CFWL_DateTimePicker::Initialize( 18 FWL_ERR CFWL_DateTimePicker::Initialize(
20 const CFWL_WidgetProperties* pProperties) { 19 const CFWL_WidgetProperties* pProperties) {
21 if (m_pIface) 20 if (m_pIface)
22 return FWL_ERR_Indefinite; 21 return FWL_ERR_Indefinite;
23 if (pProperties) { 22 if (pProperties) {
24 *m_pProperties = *pProperties; 23 *m_pProperties = *pProperties;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 return static_cast<IFWL_DateTimePicker*>(m_pIface)->GetBBox(rect); 134 return static_cast<IFWL_DateTimePicker*>(m_pIface)->GetBBox(rect);
136 } 135 }
137 FWL_ERR CFWL_DateTimePicker::SetEditLimit(int32_t nLimit) { 136 FWL_ERR CFWL_DateTimePicker::SetEditLimit(int32_t nLimit) {
138 return static_cast<IFWL_DateTimePicker*>(m_pIface)->SetEditLimit(nLimit); 137 return static_cast<IFWL_DateTimePicker*>(m_pIface)->SetEditLimit(nLimit);
139 } 138 }
140 FWL_ERR CFWL_DateTimePicker::ModifyEditStylesEx(FX_DWORD dwStylesExAdded, 139 FWL_ERR CFWL_DateTimePicker::ModifyEditStylesEx(FX_DWORD dwStylesExAdded,
141 FX_DWORD dwStylesExRemoved) { 140 FX_DWORD dwStylesExRemoved) {
142 return static_cast<IFWL_DateTimePicker*>(m_pIface) 141 return static_cast<IFWL_DateTimePicker*>(m_pIface)
143 ->ModifyEditStylesEx(dwStylesExAdded, dwStylesExRemoved); 142 ->ModifyEditStylesEx(dwStylesExAdded, dwStylesExRemoved);
144 } 143 }
OLDNEW
« no previous file with comments | « xfa/fwl/lightwidget/combobox.cpp ('k') | xfa/fwl/lightwidget/edit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698