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

Side by Side Diff: xfa/fxfa/app/xfa_fftextedit.h

Issue 2323523002: Remove unused code in CPDFXFA_Document (Closed)
Patch Set: Review feedback Created 4 years, 3 months 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/fxfa/app/xfa_ffsignature.cpp ('k') | xfa/fxfa/app/xfa_fftextedit.cpp » ('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 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 XFA_FXFA_APP_XFA_FFTEXTEDIT_H_ 7 #ifndef XFA_FXFA_APP_XFA_FFTEXTEDIT_H_
8 #define XFA_FXFA_APP_XFA_FFTEXTEDIT_H_ 8 #define XFA_FXFA_APP_XFA_FFTEXTEDIT_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void OnProcessMessage(CFWL_Message* pMessage) override; 45 void OnProcessMessage(CFWL_Message* pMessage) override;
46 void OnProcessEvent(CFWL_Event* pEvent) override; 46 void OnProcessEvent(CFWL_Event* pEvent) override;
47 void OnDrawWidget(CFX_Graphics* pGraphics, 47 void OnDrawWidget(CFX_Graphics* pGraphics,
48 const CFX_Matrix* pMatrix = nullptr) override; 48 const CFX_Matrix* pMatrix = nullptr) override;
49 49
50 void OnTextChanged(IFWL_Widget* pWidget, 50 void OnTextChanged(IFWL_Widget* pWidget,
51 const CFX_WideString& wsChanged, 51 const CFX_WideString& wsChanged,
52 const CFX_WideString& wsPrevText); 52 const CFX_WideString& wsPrevText);
53 void OnTextFull(IFWL_Widget* pWidget); 53 void OnTextFull(IFWL_Widget* pWidget);
54 FX_BOOL CheckWord(const CFX_ByteStringC& sWord); 54 FX_BOOL CheckWord(const CFX_ByteStringC& sWord);
55 FX_BOOL GetSuggestWords(const CFX_ByteStringC& sWord,
56 std::vector<CFX_ByteString>& sSuggest);
57 55
58 protected: 56 protected:
59 FX_BOOL CommitData() override; 57 FX_BOOL CommitData() override;
60 FX_BOOL UpdateFWLData() override; 58 FX_BOOL UpdateFWLData() override;
61 FX_BOOL IsDataChanged() override; 59 FX_BOOL IsDataChanged() override;
62 60
63 uint32_t GetAlignment(); 61 uint32_t GetAlignment();
64 void ValidateNumberField(const CFX_WideString& wsText); 62 void ValidateNumberField(const CFX_WideString& wsText);
65 63
66 IFWL_WidgetDelegate* m_pOldDelegate; 64 IFWL_WidgetDelegate* m_pOldDelegate;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 protected: 132 protected:
135 FX_BOOL PtInActiveRect(FX_FLOAT fx, FX_FLOAT fy) override; 133 FX_BOOL PtInActiveRect(FX_FLOAT fx, FX_FLOAT fy) override;
136 FX_BOOL CommitData() override; 134 FX_BOOL CommitData() override;
137 FX_BOOL UpdateFWLData() override; 135 FX_BOOL UpdateFWLData() override;
138 FX_BOOL IsDataChanged() override; 136 FX_BOOL IsDataChanged() override;
139 137
140 uint32_t GetAlignment(); 138 uint32_t GetAlignment();
141 }; 139 };
142 140
143 #endif // XFA_FXFA_APP_XFA_FFTEXTEDIT_H_ 141 #endif // XFA_FXFA_APP_XFA_FFTEXTEDIT_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffsignature.cpp ('k') | xfa/fxfa/app/xfa_fftextedit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698