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

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

Issue 2521303002: Rename IFWL_App to CFWL_App (Closed)
Patch Set: Rebase to master Created 4 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/fwl/core/ifwl_combolist.h ('k') | xfa/fwl/core/ifwl_datetimeedit.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_combolist.h" 7 #include "xfa/fwl/core/ifwl_combolist.h"
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
11 11
12 #include "third_party/base/ptr_util.h" 12 #include "third_party/base/ptr_util.h"
13 #include "xfa/fwl/core/cfwl_msgkey.h" 13 #include "xfa/fwl/core/cfwl_msgkey.h"
14 #include "xfa/fwl/core/cfwl_msgkillfocus.h" 14 #include "xfa/fwl/core/cfwl_msgkillfocus.h"
15 #include "xfa/fwl/core/cfwl_msgmouse.h" 15 #include "xfa/fwl/core/cfwl_msgmouse.h"
16 #include "xfa/fwl/core/ifwl_combobox.h" 16 #include "xfa/fwl/core/ifwl_combobox.h"
17 #include "xfa/fwl/core/ifwl_comboedit.h" 17 #include "xfa/fwl/core/ifwl_comboedit.h"
18 #include "xfa/fwl/core/ifwl_listbox.h" 18 #include "xfa/fwl/core/ifwl_listbox.h"
19 19
20 IFWL_ComboList::IFWL_ComboList( 20 IFWL_ComboList::IFWL_ComboList(
21 const IFWL_App* app, 21 const CFWL_App* app,
22 std::unique_ptr<CFWL_WidgetProperties> properties, 22 std::unique_ptr<CFWL_WidgetProperties> properties,
23 IFWL_Widget* pOuter) 23 IFWL_Widget* pOuter)
24 : IFWL_ListBox(app, std::move(properties), pOuter), m_bNotifyOwner(true) { 24 : IFWL_ListBox(app, std::move(properties), pOuter), m_bNotifyOwner(true) {
25 ASSERT(pOuter); 25 ASSERT(pOuter);
26 } 26 }
27 27
28 int32_t IFWL_ComboList::MatchItem(const CFX_WideString& wsMatch) { 28 int32_t IFWL_ComboList::MatchItem(const CFX_WideString& wsMatch) {
29 if (wsMatch.IsEmpty()) 29 if (wsMatch.IsEmpty())
30 return -1; 30 return -1;
31 if (!m_pProperties->m_pDataProvider) 31 if (!m_pProperties->m_pDataProvider)
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 CFX_RectF rtInvalidate; 269 CFX_RectF rtInvalidate;
270 rtInvalidate.Set(0, 0, m_pProperties->m_rtWidget.width, 270 rtInvalidate.Set(0, 0, m_pProperties->m_rtWidget.width,
271 m_pProperties->m_rtWidget.height); 271 m_pProperties->m_rtWidget.height);
272 Repaint(&rtInvalidate); 272 Repaint(&rtInvalidate);
273 break; 273 break;
274 } 274 }
275 default: 275 default:
276 break; 276 break;
277 } 277 }
278 } 278 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_combolist.h ('k') | xfa/fwl/core/ifwl_datetimeedit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698