| OLD | NEW |
| 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 "third_party/base/ptr_util.h" | 9 #include "third_party/base/ptr_util.h" |
| 10 #include "xfa/fwl/core/cfwl_msgkey.h" |
| 11 #include "xfa/fwl/core/cfwl_msgkillfocus.h" |
| 12 #include "xfa/fwl/core/cfwl_msgmouse.h" |
| 10 #include "xfa/fwl/core/ifwl_combobox.h" | 13 #include "xfa/fwl/core/ifwl_combobox.h" |
| 11 #include "xfa/fwl/core/ifwl_comboedit.h" | 14 #include "xfa/fwl/core/ifwl_comboedit.h" |
| 12 | 15 |
| 13 IFWL_ComboList::IFWL_ComboList( | 16 IFWL_ComboList::IFWL_ComboList( |
| 14 const IFWL_App* app, | 17 const IFWL_App* app, |
| 15 std::unique_ptr<CFWL_WidgetProperties> properties, | 18 std::unique_ptr<CFWL_WidgetProperties> properties, |
| 16 IFWL_Widget* pOuter) | 19 IFWL_Widget* pOuter) |
| 17 : IFWL_ListBox(app, std::move(properties), pOuter), m_bNotifyOwner(true) { | 20 : IFWL_ListBox(app, std::move(properties), pOuter), m_bNotifyOwner(true) { |
| 18 ASSERT(pOuter); | 21 ASSERT(pOuter); |
| 19 } | 22 } |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 CFX_RectF rtInvalidate; | 268 CFX_RectF rtInvalidate; |
| 266 rtInvalidate.Set(0, 0, m_pProperties->m_rtWidget.width, | 269 rtInvalidate.Set(0, 0, m_pProperties->m_rtWidget.width, |
| 267 m_pProperties->m_rtWidget.height); | 270 m_pProperties->m_rtWidget.height); |
| 268 Repaint(&rtInvalidate); | 271 Repaint(&rtInvalidate); |
| 269 break; | 272 break; |
| 270 } | 273 } |
| 271 default: | 274 default: |
| 272 break; | 275 break; |
| 273 } | 276 } |
| 274 } | 277 } |
| OLD | NEW |