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

Side by Side Diff: xfa/fwl/basewidget/ifwl_edit.h

Issue 1950973003: Cleanup CFWL_ThemePart data. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 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/fwl/basewidget/fwl_listboximp.cpp ('k') | xfa/fwl/basewidget/ifwl_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_FWL_BASEWIDGET_IFWL_EDIT_H_ 7 #ifndef XFA_FWL_BASEWIDGET_IFWL_EDIT_H_
8 #define XFA_FWL_BASEWIDGET_IFWL_EDIT_H_ 8 #define XFA_FWL_BASEWIDGET_IFWL_EDIT_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 30 matching lines...) Expand all
41 #define FWL_STYLEEXT_EDT_VFar (2L << 20) 41 #define FWL_STYLEEXT_EDT_VFar (2L << 20)
42 #define FWL_STYLEEXT_EDT_Justified (1L << 22) 42 #define FWL_STYLEEXT_EDT_Justified (1L << 22)
43 #define FWL_STYLEEXT_EDT_Distributed (2L << 22) 43 #define FWL_STYLEEXT_EDT_Distributed (2L << 22)
44 #define FWL_STYLEEXT_EDT_HAlignMask (3L << 18) 44 #define FWL_STYLEEXT_EDT_HAlignMask (3L << 18)
45 #define FWL_STYLEEXT_EDT_VAlignMask (3L << 20) 45 #define FWL_STYLEEXT_EDT_VAlignMask (3L << 20)
46 #define FWL_STYLEEXT_EDT_HAlignModeMask (3L << 22) 46 #define FWL_STYLEEXT_EDT_HAlignModeMask (3L << 22)
47 #define FWL_STYLEEXT_EDT_InnerCaret (1L << 24) 47 #define FWL_STYLEEXT_EDT_InnerCaret (1L << 24)
48 #define FWL_STYLEEXT_EDT_ShowScrollbarFocus (1L << 25) 48 #define FWL_STYLEEXT_EDT_ShowScrollbarFocus (1L << 25)
49 #define FWL_STYLEEXT_EDT_OuterScrollbar (1L << 26) 49 #define FWL_STYLEEXT_EDT_OuterScrollbar (1L << 26)
50 #define FWL_STYLEEXT_EDT_LastLineHeight (1L << 27) 50 #define FWL_STYLEEXT_EDT_LastLineHeight (1L << 27)
51 #define FWL_PARTDATA_EDT_Background 0
52 #define FWL_PARTDATA_EDT_StaticBackground 1
53 51
54 typedef struct FWL_HEDTFIND_ { void* pData; } * FWL_HEDTFIND; 52 typedef struct FWL_HEDTFIND_ { void* pData; } * FWL_HEDTFIND;
55 53
56 enum FWL_EDT_TEXTCHANGED { 54 enum FWL_EDT_TEXTCHANGED {
57 FWL_EDT_TEXTCHANGED_Insert = 0, 55 FWL_EDT_TEXTCHANGED_Insert = 0,
58 FWL_EDT_TEXTCHANGED_Delete, 56 FWL_EDT_TEXTCHANGED_Delete,
59 FWL_EDT_TEXTCHANGED_Replace, 57 FWL_EDT_TEXTCHANGED_Replace,
60 }; 58 };
61 59
62 BEGIN_FWL_EVENT_DEF(CFWL_EvtEdtTextChanged, CFWL_EventType::TextChanged) 60 BEGIN_FWL_EVENT_DEF(CFWL_EvtEdtTextChanged, CFWL_EventType::TextChanged)
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 FX_BOOL GetSuggestWords(CFX_PointF pointf, 145 FX_BOOL GetSuggestWords(CFX_PointF pointf,
148 std::vector<CFX_ByteString>& sSuggest); 146 std::vector<CFX_ByteString>& sSuggest);
149 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf, 147 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf,
150 const CFX_ByteStringC& bsReplace); 148 const CFX_ByteStringC& bsReplace);
151 149
152 protected: 150 protected:
153 IFWL_Edit(); 151 IFWL_Edit();
154 }; 152 };
155 153
156 #endif // XFA_FWL_BASEWIDGET_IFWL_EDIT_H_ 154 #endif // XFA_FWL_BASEWIDGET_IFWL_EDIT_H_
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fwl_listboximp.cpp ('k') | xfa/fwl/basewidget/ifwl_listbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698