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

Side by Side Diff: xfa/fxfa/app/cxfa_eventparam.cpp

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/fxbarcode/utils.h ('k') | xfa/fxfa/app/xfa_checksum.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 #include "xfa/fxfa/cxfa_eventparam.h" 7 #include "xfa/fxfa/cxfa_eventparam.h"
8 8
9 #include "xfa/fxfa/fxfa.h" 9 #include "xfa/fxfa/fxfa.h"
10 10
11 CXFA_EventParam::CXFA_EventParam() 11 CXFA_EventParam::CXFA_EventParam()
12 : m_pTarget(nullptr), 12 : m_pTarget(nullptr),
13 m_eType(XFA_EVENT_Unknown), 13 m_eType(XFA_EVENT_Unknown),
14 m_bCancelAction(FALSE), 14 m_bCancelAction(false),
15 m_iCommitKey(0), 15 m_iCommitKey(0),
16 m_bKeyDown(FALSE), 16 m_bKeyDown(false),
17 m_bModifier(FALSE), 17 m_bModifier(false),
18 m_bReenter(FALSE), 18 m_bReenter(false),
19 m_iSelEnd(0), 19 m_iSelEnd(0),
20 m_iSelStart(0), 20 m_iSelStart(0),
21 m_bShift(FALSE), 21 m_bShift(false),
22 m_bIsFormReady(FALSE), 22 m_bIsFormReady(false),
23 m_iValidateActivities(XFA_VALIDATE_preSubmit) {} 23 m_iValidateActivities(XFA_VALIDATE_preSubmit) {}
24 24
25 CXFA_EventParam::~CXFA_EventParam() {} 25 CXFA_EventParam::~CXFA_EventParam() {}
26 26
27 CXFA_EventParam::CXFA_EventParam(const CXFA_EventParam& other) = default; 27 CXFA_EventParam::CXFA_EventParam(const CXFA_EventParam& other) = default;
28 28
29 void CXFA_EventParam::Reset() { 29 void CXFA_EventParam::Reset() {
30 m_wsChange.clear(); 30 m_wsChange.clear();
31 m_bCancelAction = FALSE; 31 m_bCancelAction = false;
32 m_iCommitKey = 0; 32 m_iCommitKey = 0;
33 m_wsFullText.clear(); 33 m_wsFullText.clear();
34 m_bKeyDown = FALSE; 34 m_bKeyDown = false;
35 m_bModifier = FALSE; 35 m_bModifier = false;
36 m_wsNewContentType.clear(); 36 m_wsNewContentType.clear();
37 m_wsNewText.clear(); 37 m_wsNewText.clear();
38 m_wsPrevContentType.clear(); 38 m_wsPrevContentType.clear();
39 m_wsPrevText.clear(); 39 m_wsPrevText.clear();
40 m_bReenter = FALSE; 40 m_bReenter = false;
41 m_iSelEnd = 0; 41 m_iSelEnd = 0;
42 m_iSelStart = 0; 42 m_iSelStart = 0;
43 m_bShift = FALSE; 43 m_bShift = false;
44 m_wsSoapFaultCode.clear(); 44 m_wsSoapFaultCode.clear();
45 m_wsSoapFaultString.clear(); 45 m_wsSoapFaultString.clear();
46 m_bIsFormReady = FALSE; 46 m_bIsFormReady = false;
47 m_iValidateActivities = XFA_VALIDATE_preSubmit; 47 m_iValidateActivities = XFA_VALIDATE_preSubmit;
48 } 48 }
OLDNEW
« no previous file with comments | « xfa/fxbarcode/utils.h ('k') | xfa/fxfa/app/xfa_checksum.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698