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

Side by Side Diff: xfa/src/fwl/src/basewidget/fwl_comboboximp.cpp

Issue 1570743002: XFA: Remove many relative includes in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 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
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 "../../../foxitlib.h" 7 #include "xfa/src/foxitlib.h"
8 #include "../../src/core/include/fwl_threadimp.h" 8 #include "xfa/src/fwl/src/core/include/fwl_threadimp.h"
9 #include "../../src/core/include/fwl_appimp.h" 9 #include "xfa/src/fwl/src/core/include/fwl_appimp.h"
10 #include "../core/include/fwl_targetimp.h" 10 #include "xfa/src/fwl/src/core/include/fwl_targetimp.h"
11 #include "../core/include/fwl_noteimp.h" 11 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h"
12 #include "../core/include/fwl_widgetimp.h" 12 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h"
13 #include "../core/include/fwl_panelimp.h" 13 #include "xfa/src/fwl/src/core/include/fwl_panelimp.h"
14 #include "../core/include/fwl_formimp.h" 14 #include "xfa/src/fwl/src/core/include/fwl_formimp.h"
15 #include "../core/include/fwl_widgetmgrimp.h" 15 #include "xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h"
16 #include "include/fwl_scrollbarimp.h" 16 #include "xfa/src/fwl/src/basewidget/include/fwl_scrollbarimp.h"
17 #include "include/fwl_editimp.h" 17 #include "xfa/src/fwl/src/basewidget/include/fwl_editimp.h"
18 #include "include/fwl_listboximp.h" 18 #include "xfa/src/fwl/src/basewidget/include/fwl_listboximp.h"
19 #include "include/fwl_formproxyimp.h" 19 #include "xfa/src/fwl/src/basewidget/include/fwl_formproxyimp.h"
20 #include "include/fwl_comboboximp.h" 20 #include "xfa/src/fwl/src/basewidget/include/fwl_comboboximp.h"
21 21
22 // static 22 // static
23 IFWL_ComboBox* IFWL_ComboBox::Create( 23 IFWL_ComboBox* IFWL_ComboBox::Create(
24 const CFWL_WidgetImpProperties& properties) { 24 const CFWL_WidgetImpProperties& properties) {
25 IFWL_ComboBox* pComboBox = new IFWL_ComboBox; 25 IFWL_ComboBox* pComboBox = new IFWL_ComboBox;
26 CFWL_ComboBoxImp* pComboBoxImpl = new CFWL_ComboBoxImp(properties, nullptr); 26 CFWL_ComboBoxImp* pComboBoxImpl = new CFWL_ComboBoxImp(properties, nullptr);
27 pComboBox->SetImpl(pComboBoxImpl); 27 pComboBox->SetImpl(pComboBoxImpl);
28 pComboBoxImpl->SetInterface(pComboBox); 28 pComboBoxImpl->SetInterface(pComboBox);
29 return pComboBox; 29 return pComboBox;
30 } 30 }
(...skipping 1826 matching lines...) Expand 10 before | Expand all | Expand 10 after
1857 m_pComboBox->ShowDropList(FALSE); 1857 m_pComboBox->ShowDropList(FALSE);
1858 } 1858 }
1859 void CFWL_ComboProxyImpDelegate::OnFocusChanged(CFWL_MsgKillFocus* pMsg, 1859 void CFWL_ComboProxyImpDelegate::OnFocusChanged(CFWL_MsgKillFocus* pMsg,
1860 FX_BOOL bSet) { 1860 FX_BOOL bSet) {
1861 if (!bSet) { 1861 if (!bSet) {
1862 if (pMsg->m_pSetFocus == NULL) { 1862 if (pMsg->m_pSetFocus == NULL) {
1863 m_pComboBox->ShowDropList(FALSE); 1863 m_pComboBox->ShowDropList(FALSE);
1864 } 1864 }
1865 } 1865 }
1866 } 1866 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698