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

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

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: Created 4 years, 1 month 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_txtedtbufiter.cpp ('k') | xfa/fde/cfde_txtedtdorecord_deleterange.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_CFDE_TXTEDTDORECORD_DELETERANGE_H_ 7 #ifndef XFA_FDE_CFDE_TXTEDTDORECORD_DELETERANGE_H_
8 #define XFA_FDE_CFDE_TXTEDTDORECORD_DELETERANGE_H_ 8 #define XFA_FDE_CFDE_TXTEDTDORECORD_DELETERANGE_H_
9 9
10 #include "core/fxcrt/fx_string.h" 10 #include "core/fxcrt/fx_string.h"
11 #include "core/fxcrt/fx_system.h" 11 #include "core/fxcrt/fx_system.h"
12 #include "xfa/fde/ifde_txtedtdorecord.h" 12 #include "xfa/fde/ifde_txtedtdorecord.h"
13 13
14 class CFDE_TxtEdtEngine; 14 class CFDE_TxtEdtEngine;
15 15
16 class CFDE_TxtEdtDoRecord_DeleteRange : public IFDE_TxtEdtDoRecord { 16 class CFDE_TxtEdtDoRecord_DeleteRange : public IFDE_TxtEdtDoRecord {
17 public: 17 public:
18 CFDE_TxtEdtDoRecord_DeleteRange(CFDE_TxtEdtEngine* pEngine, 18 CFDE_TxtEdtDoRecord_DeleteRange(CFDE_TxtEdtEngine* pEngine,
19 int32_t nIndex, 19 int32_t nIndex,
20 int32_t nCaret, 20 int32_t nCaret,
21 const CFX_WideString& wsRange, 21 const CFX_WideString& wsRange,
22 FX_BOOL bSel = FALSE); 22 bool bSel = false);
23 ~CFDE_TxtEdtDoRecord_DeleteRange() override; 23 ~CFDE_TxtEdtDoRecord_DeleteRange() override;
24 24
25 FX_BOOL Undo() const override; 25 bool Undo() const override;
26 FX_BOOL Redo() const override; 26 bool Redo() const override;
27 27
28 private: 28 private:
29 CFDE_TxtEdtEngine* m_pEngine; 29 CFDE_TxtEdtEngine* m_pEngine;
30 FX_BOOL m_bSel; 30 bool m_bSel;
31 int32_t m_nIndex; 31 int32_t m_nIndex;
32 int32_t m_nCaret; 32 int32_t m_nCaret;
33 CFX_WideString m_wsRange; 33 CFX_WideString m_wsRange;
34 }; 34 };
35 35
36 #endif // XFA_FDE_CFDE_TXTEDTDORECORD_DELETERANGE_H_ 36 #endif // XFA_FDE_CFDE_TXTEDTDORECORD_DELETERANGE_H_
OLDNEW
« no previous file with comments | « xfa/fde/cfde_txtedtbufiter.cpp ('k') | xfa/fde/cfde_txtedtdorecord_deleterange.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698