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

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

Issue 2031873003: Get rid of NULLs in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@nullptr_fpdfsdk
Patch Set: Created 4 years, 6 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_fftext.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 29 matching lines...) Expand all
40 FX_BOOL DeSelect() override; 40 FX_BOOL DeSelect() override;
41 FX_BOOL GetSuggestWords(CFX_PointF pointf, 41 FX_BOOL GetSuggestWords(CFX_PointF pointf,
42 std::vector<CFX_ByteString>& sSuggest) override; 42 std::vector<CFX_ByteString>& sSuggest) override;
43 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf, 43 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf,
44 const CFX_ByteStringC& bsReplace) override; 44 const CFX_ByteStringC& bsReplace) override;
45 45
46 // IFWL_WidgetDelegate: 46 // IFWL_WidgetDelegate:
47 void OnProcessMessage(CFWL_Message* pMessage) override; 47 void OnProcessMessage(CFWL_Message* pMessage) override;
48 void OnProcessEvent(CFWL_Event* pEvent) override; 48 void OnProcessEvent(CFWL_Event* pEvent) override;
49 void OnDrawWidget(CFX_Graphics* pGraphics, 49 void OnDrawWidget(CFX_Graphics* pGraphics,
50 const CFX_Matrix* pMatrix = NULL) override; 50 const CFX_Matrix* pMatrix = nullptr) override;
51 51
52 void OnTextChanged(IFWL_Widget* pWidget, 52 void OnTextChanged(IFWL_Widget* pWidget,
53 const CFX_WideString& wsChanged, 53 const CFX_WideString& wsChanged,
54 const CFX_WideString& wsPrevText); 54 const CFX_WideString& wsPrevText);
55 void OnTextFull(IFWL_Widget* pWidget); 55 void OnTextFull(IFWL_Widget* pWidget);
56 FX_BOOL CheckWord(const CFX_ByteStringC& sWord); 56 FX_BOOL CheckWord(const CFX_ByteStringC& sWord);
57 FX_BOOL GetSuggestWords(const CFX_ByteStringC& sWord, 57 FX_BOOL GetSuggestWords(const CFX_ByteStringC& sWord,
58 std::vector<CFX_ByteString>& sSuggest); 58 std::vector<CFX_ByteString>& sSuggest);
59 59
60 protected: 60 protected:
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 public: 130 public:
131 void OnSelectChanged(IFWL_Widget* pWidget, 131 void OnSelectChanged(IFWL_Widget* pWidget,
132 int32_t iYear, 132 int32_t iYear,
133 int32_t iMonth, 133 int32_t iMonth,
134 int32_t iDay); 134 int32_t iDay);
135 virtual void OnProcessEvent(CFWL_Event* pEvent); 135 virtual void OnProcessEvent(CFWL_Event* pEvent);
136 }; 136 };
137 137
138 #endif // XFA_FXFA_APP_XFA_FFTEXTEDIT_H_ 138 #endif // XFA_FXFA_APP_XFA_FFTEXTEDIT_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_fftext.cpp ('k') | xfa/fxfa/app/xfa_fftextedit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698