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

Side by Side Diff: xfa/include/fwl/basewidget/fwl_edit.h

Issue 1726803002: Remove more _CAPS names (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 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 | « core/src/fxge/apple/apple_int.h ('k') | xfa/include/fwl/basewidget/fwl_listbox.h » ('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_INCLUDE_FWL_BASEWIDGET_FWL_EDIT_H_ 7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_EDIT_H_
8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_EDIT_H_ 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_EDIT_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 BEGIN_FWL_EVENT_DEF(CFWL_EvtEdtGetSuggestWords, FWL_EVTHASH_EDT_GetSuggestWords) 103 BEGIN_FWL_EVENT_DEF(CFWL_EvtEdtGetSuggestWords, FWL_EVTHASH_EDT_GetSuggestWords)
104 FX_BOOL bSuggestWords; 104 FX_BOOL bSuggestWords;
105 CFX_ByteString bsWord; 105 CFX_ByteString bsWord;
106 std::vector<CFX_ByteString> bsArraySuggestWords; 106 std::vector<CFX_ByteString> bsArraySuggestWords;
107 END_FWL_EVENT_DEF 107 END_FWL_EVENT_DEF
108 class IFWL_EditDP : public IFWL_DataProvider {}; 108 class IFWL_EditDP : public IFWL_DataProvider {};
109 #define FWL_EDT_FIND_FLAGS_Prev (0L << 0) 109 #define FWL_EDT_FIND_FLAGS_Prev (0L << 0)
110 #define FWL_EDT_FIND_FLAGS_Next (1L << 0) 110 #define FWL_EDT_FIND_FLAGS_Next (1L << 0)
111 #define FWL_EDT_FIND_FLAGS_WholeWord (1L << 1) 111 #define FWL_EDT_FIND_FLAGS_WholeWord (1L << 1)
112 #define FWL_EDT_FIND_FLAGS_NoCase (1L << 2) 112 #define FWL_EDT_FIND_FLAGS_NoCase (1L << 2)
113 typedef struct _FWL_HEDTFIND { void* pData; } * FWL_HEDTFIND; 113 typedef struct FWL_HEDTFIND_ { void* pData; } * FWL_HEDTFIND;
114 114
115 class IFWL_Edit : public IFWL_Widget { 115 class IFWL_Edit : public IFWL_Widget {
116 public: 116 public:
117 static IFWL_Edit* Create(const CFWL_WidgetImpProperties& properties, 117 static IFWL_Edit* Create(const CFWL_WidgetImpProperties& properties,
118 IFWL_Widget* pOuter); 118 IFWL_Widget* pOuter);
119 static IFWL_Edit* CreateComboEdit(const CFWL_WidgetImpProperties& properties, 119 static IFWL_Edit* CreateComboEdit(const CFWL_WidgetImpProperties& properties,
120 IFWL_Widget* pOuter); 120 IFWL_Widget* pOuter);
121 121
122 FWL_ERR SetText(const CFX_WideString& wsText); 122 FWL_ERR SetText(const CFX_WideString& wsText);
123 int32_t GetTextLength() const; 123 int32_t GetTextLength() const;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 FX_BOOL GetSuggestWords(CFX_PointF pointf, 162 FX_BOOL GetSuggestWords(CFX_PointF pointf,
163 std::vector<CFX_ByteString>& sSuggest); 163 std::vector<CFX_ByteString>& sSuggest);
164 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf, 164 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf,
165 const CFX_ByteStringC& bsReplace); 165 const CFX_ByteStringC& bsReplace);
166 166
167 protected: 167 protected:
168 IFWL_Edit(); 168 IFWL_Edit();
169 }; 169 };
170 170
171 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_EDIT_H_ 171 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_EDIT_H_
OLDNEW
« no previous file with comments | « core/src/fxge/apple/apple_int.h ('k') | xfa/include/fwl/basewidget/fwl_listbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698