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

Side by Side Diff: xfa/fwl/cfwl_edit.h

Issue 2570033003: Remove unused CFWL_Edit flags. (Closed)
Patch Set: Rebase to master Created 4 years 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/fde/ifde_txtedtengine.h ('k') | xfa/fwl/cfwl_edit.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_FWL_CFWL_EDIT_H_ 7 #ifndef XFA_FWL_CFWL_EDIT_H_
8 #define XFA_FWL_CFWL_EDIT_H_ 8 #define XFA_FWL_CFWL_EDIT_H_
9 9
10 #include <deque> 10 #include <deque>
11 #include <memory> 11 #include <memory>
12 #include <vector> 12 #include <vector>
13 13
14 #include "xfa/fde/cfde_txtedtengine.h" 14 #include "xfa/fde/cfde_txtedtengine.h"
15 #include "xfa/fde/ifde_txtedtdorecord.h" 15 #include "xfa/fde/ifde_txtedtdorecord.h"
16 #include "xfa/fwl/cfwl_event.h" 16 #include "xfa/fwl/cfwl_event.h"
17 #include "xfa/fwl/cfwl_scrollbar.h" 17 #include "xfa/fwl/cfwl_scrollbar.h"
18 #include "xfa/fwl/cfwl_widget.h" 18 #include "xfa/fwl/cfwl_widget.h"
19 #include "xfa/fxgraphics/cfx_path.h" 19 #include "xfa/fxgraphics/cfx_path.h"
20 20
21 #define FWL_STYLEEXT_EDT_ReadOnly (1L << 0) 21 #define FWL_STYLEEXT_EDT_ReadOnly (1L << 0)
22 #define FWL_STYLEEXT_EDT_MultiLine (1L << 1) 22 #define FWL_STYLEEXT_EDT_MultiLine (1L << 1)
23 #define FWL_STYLEEXT_EDT_WantReturn (1L << 2) 23 #define FWL_STYLEEXT_EDT_WantReturn (1L << 2)
24 #define FWL_STYLEEXT_EDT_NoHideSel (1L << 3)
25 #define FWL_STYLEEXT_EDT_AutoHScroll (1L << 4) 24 #define FWL_STYLEEXT_EDT_AutoHScroll (1L << 4)
26 #define FWL_STYLEEXT_EDT_AutoVScroll (1L << 5) 25 #define FWL_STYLEEXT_EDT_AutoVScroll (1L << 5)
27 #define FWL_STYLEEXT_EDT_NoRedoUndo (1L << 6)
28 #define FWL_STYLEEXT_EDT_Validate (1L << 7) 26 #define FWL_STYLEEXT_EDT_Validate (1L << 7)
29 #define FWL_STYLEEXT_EDT_Password (1L << 8) 27 #define FWL_STYLEEXT_EDT_Password (1L << 8)
30 #define FWL_STYLEEXT_EDT_Number (1L << 9) 28 #define FWL_STYLEEXT_EDT_Number (1L << 9)
31 #define FWL_STYLEEXT_EDT_VerticalLayout (1L << 12)
32 #define FWL_STYLEEXT_EDT_VerticalChars (1L << 13)
33 #define FWL_STYLEEXT_EDT_ReverseLine (1L << 14)
34 #define FWL_STYLEEXT_EDT_ArabicShapes (1L << 15)
35 #define FWL_STYLEEXT_EDT_ExpandTab (1L << 16)
36 #define FWL_STYLEEXT_EDT_CombText (1L << 17) 29 #define FWL_STYLEEXT_EDT_CombText (1L << 17)
37 #define FWL_STYLEEXT_EDT_HNear (0L << 18) 30 #define FWL_STYLEEXT_EDT_HNear 0
38 #define FWL_STYLEEXT_EDT_HCenter (1L << 18) 31 #define FWL_STYLEEXT_EDT_HCenter (1L << 18)
39 #define FWL_STYLEEXT_EDT_HFar (2L << 18) 32 #define FWL_STYLEEXT_EDT_HFar (2L << 18)
40 #define FWL_STYLEEXT_EDT_VNear (0L << 20) 33 #define FWL_STYLEEXT_EDT_VNear 0
41 #define FWL_STYLEEXT_EDT_VCenter (1L << 20) 34 #define FWL_STYLEEXT_EDT_VCenter (1L << 20)
42 #define FWL_STYLEEXT_EDT_VFar (2L << 20) 35 #define FWL_STYLEEXT_EDT_VFar (2L << 20)
43 #define FWL_STYLEEXT_EDT_Justified (1L << 22) 36 #define FWL_STYLEEXT_EDT_Justified (1L << 22)
44 #define FWL_STYLEEXT_EDT_Distributed (2L << 22)
45 #define FWL_STYLEEXT_EDT_HAlignMask (3L << 18) 37 #define FWL_STYLEEXT_EDT_HAlignMask (3L << 18)
46 #define FWL_STYLEEXT_EDT_VAlignMask (3L << 20) 38 #define FWL_STYLEEXT_EDT_VAlignMask (3L << 20)
47 #define FWL_STYLEEXT_EDT_HAlignModeMask (3L << 22) 39 #define FWL_STYLEEXT_EDT_HAlignModeMask (3L << 22)
48 #define FWL_STYLEEXT_EDT_InnerCaret (1L << 24)
49 #define FWL_STYLEEXT_EDT_ShowScrollbarFocus (1L << 25) 40 #define FWL_STYLEEXT_EDT_ShowScrollbarFocus (1L << 25)
50 #define FWL_STYLEEXT_EDT_OuterScrollbar (1L << 26) 41 #define FWL_STYLEEXT_EDT_OuterScrollbar (1L << 26)
51 #define FWL_STYLEEXT_EDT_LastLineHeight (1L << 27) 42 #define FWL_STYLEEXT_EDT_LastLineHeight (1L << 27)
52 43
53 class IFDE_TxtEdtDoRecord; 44 class IFDE_TxtEdtDoRecord;
54 class CFWL_Edit; 45 class CFWL_Edit;
55 class CFWL_MessageMouse; 46 class CFWL_MessageMouse;
56 class CFWL_WidgetProperties; 47 class CFWL_WidgetProperties;
57 class CFWL_Caret; 48 class CFWL_Caret;
58 49
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 std::unique_ptr<CFWL_ScrollBar> m_pHorzScrollBar; 173 std::unique_ptr<CFWL_ScrollBar> m_pHorzScrollBar;
183 std::unique_ptr<CFWL_Caret> m_pCaret; 174 std::unique_ptr<CFWL_Caret> m_pCaret;
184 CFX_WideString m_wsCache; 175 CFX_WideString m_wsCache;
185 CFX_WideString m_wsFont; 176 CFX_WideString m_wsFont;
186 std::deque<std::unique_ptr<IFDE_TxtEdtDoRecord>> m_DoRecords; 177 std::deque<std::unique_ptr<IFDE_TxtEdtDoRecord>> m_DoRecords;
187 int32_t m_iCurRecord; 178 int32_t m_iCurRecord;
188 int32_t m_iMaxRecord; 179 int32_t m_iMaxRecord;
189 }; 180 };
190 181
191 #endif // XFA_FWL_CFWL_EDIT_H_ 182 #endif // XFA_FWL_CFWL_EDIT_H_
OLDNEW
« no previous file with comments | « xfa/fde/ifde_txtedtengine.h ('k') | xfa/fwl/cfwl_edit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698