| OLD | NEW | 
|    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/edit.h" |    7 #include "xfa/include/fwl/lightwidget/edit.h" | 
|    8  |    8  | 
|    9 #include <memory> |    9 #include <memory> | 
 |   10 #include <vector> | 
|   10  |   11  | 
|   11 #include "xfa/include/fwl/basewidget/fwl_edit.h" |   12 #include "xfa/include/fwl/basewidget/fwl_edit.h" | 
|   12  |   13  | 
|   13 CFWL_Edit* CFWL_Edit::Create() { |   14 CFWL_Edit* CFWL_Edit::Create() { | 
|   14   return new CFWL_Edit; |   15   return new CFWL_Edit; | 
|   15 } |   16 } | 
|   16 FWL_ERR CFWL_Edit::Initialize(const CFWL_WidgetProperties* pProperties) { |   17 FWL_ERR CFWL_Edit::Initialize(const CFWL_WidgetProperties* pProperties) { | 
|   17   if (m_pIface) |   18   if (m_pIface) | 
|   18     return FWL_ERR_Indefinite; |   19     return FWL_ERR_Indefinite; | 
|   19   if (pProperties) { |   20   if (pProperties) { | 
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  201                                    std::vector<CFX_ByteString>& sSuggest) { |  202                                    std::vector<CFX_ByteString>& sSuggest) { | 
|  202   return static_cast<IFWL_Edit*>(m_pIface)->GetSuggestWords(pointf, sSuggest); |  203   return static_cast<IFWL_Edit*>(m_pIface)->GetSuggestWords(pointf, sSuggest); | 
|  203 } |  204 } | 
|  204 FX_BOOL CFWL_Edit::ReplaceSpellCheckWord(CFX_PointF pointf, |  205 FX_BOOL CFWL_Edit::ReplaceSpellCheckWord(CFX_PointF pointf, | 
|  205                                          const CFX_ByteStringC& bsReplace) { |  206                                          const CFX_ByteStringC& bsReplace) { | 
|  206   return static_cast<IFWL_Edit*>(m_pIface) |  207   return static_cast<IFWL_Edit*>(m_pIface) | 
|  207       ->ReplaceSpellCheckWord(pointf, bsReplace); |  208       ->ReplaceSpellCheckWord(pointf, bsReplace); | 
|  208 } |  209 } | 
|  209 CFWL_Edit::CFWL_Edit() {} |  210 CFWL_Edit::CFWL_Edit() {} | 
|  210 CFWL_Edit::~CFWL_Edit() {} |  211 CFWL_Edit::~CFWL_Edit() {} | 
| OLD | NEW |