| 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_comboedit.h" | 7 #include "xfa/fwl/core/ifwl_comboedit.h" |
| 8 | 8 |
| 9 #include "xfa/fde/cfde_txtedtengine.h" | 9 #include "xfa/fde/cfde_txtedtengine.h" |
| 10 #include "xfa/fwl/core/cfwl_msgmouse.h" |
| 10 #include "xfa/fwl/core/ifwl_combobox.h" | 11 #include "xfa/fwl/core/ifwl_combobox.h" |
| 11 | 12 |
| 12 IFWL_ComboEdit::IFWL_ComboEdit( | 13 IFWL_ComboEdit::IFWL_ComboEdit( |
| 13 const IFWL_App* app, | 14 const IFWL_App* app, |
| 14 std::unique_ptr<CFWL_WidgetProperties> properties, | 15 std::unique_ptr<CFWL_WidgetProperties> properties, |
| 15 IFWL_Widget* pOuter) | 16 IFWL_Widget* pOuter) |
| 16 : IFWL_Edit(app, std::move(properties), pOuter) { | 17 : IFWL_Edit(app, std::move(properties), pOuter) { |
| 17 m_pOuter = static_cast<IFWL_ComboBox*>(pOuter); | 18 m_pOuter = static_cast<IFWL_ComboBox*>(pOuter); |
| 18 } | 19 } |
| 19 | 20 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 m_pOuter->SetFocus(true); | 63 m_pOuter->SetFocus(true); |
| 63 } | 64 } |
| 64 break; | 65 break; |
| 65 } | 66 } |
| 66 default: | 67 default: |
| 67 break; | 68 break; |
| 68 } | 69 } |
| 69 if (backDefault) | 70 if (backDefault) |
| 70 IFWL_Edit::OnProcessMessage(pMessage); | 71 IFWL_Edit::OnProcessMessage(pMessage); |
| 71 } | 72 } |
| OLD | NEW |