| 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 #ifndef FWL_LIGHTWIDGET_EDIT_H_ | 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_EDIT_H_ |
| 8 #define FWL_LIGHTWIDGET_EDIT_H_ | 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_EDIT_H_ |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "xfa/include/fwl/lightwidget/widget.h" | 12 #include "xfa/include/fwl/lightwidget/widget.h" |
| 13 | 13 |
| 14 class CFWL_WidgetProperties; | 14 class CFWL_WidgetProperties; |
| 15 | 15 |
| 16 class CFWL_Edit : public CFWL_Widget { | 16 class CFWL_Edit : public CFWL_Widget { |
| 17 public: | 17 public: |
| 18 static CFWL_Edit* Create(); | 18 static CFWL_Edit* Create(); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 FX_BOOL Delete(); | 57 FX_BOOL Delete(); |
| 58 void SetScrollOffset(FX_FLOAT fScrollOffset); | 58 void SetScrollOffset(FX_FLOAT fScrollOffset); |
| 59 FX_BOOL GetSuggestWords(CFX_PointF pointf, | 59 FX_BOOL GetSuggestWords(CFX_PointF pointf, |
| 60 std::vector<CFX_ByteString>& sSuggest); | 60 std::vector<CFX_ByteString>& sSuggest); |
| 61 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf, | 61 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf, |
| 62 const CFX_ByteStringC& bsReplace); | 62 const CFX_ByteStringC& bsReplace); |
| 63 CFWL_Edit(); | 63 CFWL_Edit(); |
| 64 virtual ~CFWL_Edit(); | 64 virtual ~CFWL_Edit(); |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 #endif // FWL_LIGHTWIDGET_EDIT_H_ | 67 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_EDIT_H_ |
| OLD | NEW |