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

Side by Side Diff: xfa/fwl/lightwidget/combobox.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/checkbox.cpp ('k') | xfa/fwl/lightwidget/datetimepicker.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/combobox.h" 7 #include "xfa/include/fwl/lightwidget/combobox.h"
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "xfa/include/fwl/core/fwl_error.h" 11 #include "xfa/fwl/core/fwl_error.h"
12 #include "xfa/include/fwl/core/fwl_widget.h" 12 #include "xfa/fwl/core/ifwl_widget.h"
13 13
14 CFWL_ComboBox* CFWL_ComboBox::Create() { 14 CFWL_ComboBox* CFWL_ComboBox::Create() {
15 return new CFWL_ComboBox; 15 return new CFWL_ComboBox;
16 } 16 }
17 FWL_ERR CFWL_ComboBox::Initialize(const CFWL_WidgetProperties* pProperties) { 17 FWL_ERR CFWL_ComboBox::Initialize(const CFWL_WidgetProperties* pProperties) {
18 if (m_pIface) 18 if (m_pIface)
19 return FWL_ERR_Indefinite; 19 return FWL_ERR_Indefinite;
20 if (pProperties) { 20 if (pProperties) {
21 *m_pProperties = *pProperties; 21 *m_pProperties = *pProperties;
22 } 22 }
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 IFWL_Widget* pWidget, 361 IFWL_Widget* pWidget,
362 FWL_HLISTITEM hItem, 362 FWL_HLISTITEM hItem,
363 FX_DWORD dwCheckState) { 363 FX_DWORD dwCheckState) {
364 CFWL_ComboBoxItem* pItem = reinterpret_cast<CFWL_ComboBoxItem*>(hItem); 364 CFWL_ComboBoxItem* pItem = reinterpret_cast<CFWL_ComboBoxItem*>(hItem);
365 pItem->m_dwCheckState = dwCheckState; 365 pItem->m_dwCheckState = dwCheckState;
366 return FWL_ERR_Succeeded; 366 return FWL_ERR_Succeeded;
367 } 367 }
368 FX_FLOAT CFWL_ComboBox::CFWL_ComboBoxDP::GetListHeight(IFWL_Widget* pWidget) { 368 FX_FLOAT CFWL_ComboBox::CFWL_ComboBoxDP::GetListHeight(IFWL_Widget* pWidget) {
369 return m_fMaxListHeight; 369 return m_fMaxListHeight;
370 } 370 }
OLDNEW
« no previous file with comments | « xfa/fwl/lightwidget/checkbox.cpp ('k') | xfa/fwl/lightwidget/datetimepicker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698