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

Side by Side Diff: xfa/fde/ifde_txtedtengine.h

Issue 2432423002: Merge the CFWL_*Imp classes into the IFWL_* classes. (Closed)
Patch Set: Review feedback Created 4 years, 2 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/fde/cfde_txtedtengine.cpp ('k') | xfa/fwl/basewidget/cfx_barcode.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_FDE_IFDE_TXTEDTENGINE_H_ 7 #ifndef XFA_FDE_IFDE_TXTEDTENGINE_H_
8 #define XFA_FDE_IFDE_TXTEDTENGINE_H_ 8 #define XFA_FDE_IFDE_TXTEDTENGINE_H_
9 9
10 #include "core/fxge/fx_dib.h" 10 #include "core/fxge/fx_dib.h"
11 #include "xfa/fgas/font/fgas_font.h" 11 #include "xfa/fgas/font/fgas_font.h"
12 12
13 class CFDE_TxtEdtEngine; 13 class CFDE_TxtEdtEngine;
14 class CFWL_EditImp;
15 class IFDE_TxtEdtPage; 14 class IFDE_TxtEdtPage;
15 class IFWL_Edit;
16 16
17 #define FDE_TEXTEDITMODE_MultiLines (1L << 0) 17 #define FDE_TEXTEDITMODE_MultiLines (1L << 0)
18 #define FDE_TEXTEDITMODE_AutoLineWrap (1L << 1) 18 #define FDE_TEXTEDITMODE_AutoLineWrap (1L << 1)
19 #define FDE_TEXTEDITMODE_ReadOnly (1L << 2) 19 #define FDE_TEXTEDITMODE_ReadOnly (1L << 2)
20 #define FDE_TEXTEDITMODE_LimitArea_Vert (1L << 3) 20 #define FDE_TEXTEDITMODE_LimitArea_Vert (1L << 3)
21 #define FDE_TEXTEDITMODE_LimitArea_Horz (1L << 4) 21 #define FDE_TEXTEDITMODE_LimitArea_Horz (1L << 4)
22 #define FDE_TEXTEDITMODE_NoRedoUndo (1L << 5) 22 #define FDE_TEXTEDITMODE_NoRedoUndo (1L << 5)
23 #define FDE_TEXTEDITMODE_FIELD_TAB (1L << 6) 23 #define FDE_TEXTEDITMODE_FIELD_TAB (1L << 6)
24 #define FDE_TEXTEDITMODE_FIELD_AUTO (1L << 7) 24 #define FDE_TEXTEDITMODE_FIELD_AUTO (1L << 7)
25 #define FDE_TEXTEDITMODE_Validate (1L << 8) 25 #define FDE_TEXTEDITMODE_Validate (1L << 8)
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 FX_ARGB dwFontColor; 95 FX_ARGB dwFontColor;
96 FX_FLOAT fLineSpace; 96 FX_FLOAT fLineSpace;
97 FX_FLOAT fTabWidth; 97 FX_FLOAT fTabWidth;
98 FX_BOOL bTabEquidistant; 98 FX_BOOL bTabEquidistant;
99 FX_WCHAR wDefChar; 99 FX_WCHAR wDefChar;
100 FX_WCHAR wLineBreakChar; 100 FX_WCHAR wLineBreakChar;
101 int32_t nCharRotation; 101 int32_t nCharRotation;
102 int32_t nLineEnd; 102 int32_t nLineEnd;
103 int32_t nHorzScale; 103 int32_t nHorzScale;
104 FX_FLOAT fCharSpace; 104 FX_FLOAT fCharSpace;
105 CFWL_EditImp* pEventSink; 105 IFWL_Edit* pEventSink;
106 }; 106 };
107 107
108 enum FDE_TXTEDT_TEXTCHANGE_TYPE { 108 enum FDE_TXTEDT_TEXTCHANGE_TYPE {
109 FDE_TXTEDT_TEXTCHANGE_TYPE_Insert = 0, 109 FDE_TXTEDT_TEXTCHANGE_TYPE_Insert = 0,
110 FDE_TXTEDT_TEXTCHANGE_TYPE_Delete, 110 FDE_TXTEDT_TEXTCHANGE_TYPE_Delete,
111 FDE_TXTEDT_TEXTCHANGE_TYPE_Replace, 111 FDE_TXTEDT_TEXTCHANGE_TYPE_Replace,
112 }; 112 };
113 113
114 struct FDE_TXTEDT_TEXTCHANGE_INFO { 114 struct FDE_TXTEDT_TEXTCHANGE_INFO {
115 FDE_TXTEDT_TEXTCHANGE_INFO(); 115 FDE_TXTEDT_TEXTCHANGE_INFO();
116 ~FDE_TXTEDT_TEXTCHANGE_INFO(); 116 ~FDE_TXTEDT_TEXTCHANGE_INFO();
117 117
118 int32_t nChangeType; 118 int32_t nChangeType;
119 CFX_WideString wsInsert; 119 CFX_WideString wsInsert;
120 CFX_WideString wsDelete; 120 CFX_WideString wsDelete;
121 CFX_WideString wsPrevText; 121 CFX_WideString wsPrevText;
122 }; 122 };
123 123
124 #endif // XFA_FDE_IFDE_TXTEDTENGINE_H_ 124 #endif // XFA_FDE_IFDE_TXTEDTENGINE_H_
OLDNEW
« no previous file with comments | « xfa/fde/cfde_txtedtengine.cpp ('k') | xfa/fwl/basewidget/cfx_barcode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698