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

Side by Side Diff: xfa/fxfa/parser/cscript_eventpseudomodel.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/fxfa/parser/cscript_datawindow.cpp ('k') | xfa/fxfa/parser/cscript_eventpseudomodel.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_FXFA_PARSER_CSCRIPT_EVENTPSEUDOMODEL_H_ 7 #ifndef XFA_FXFA_PARSER_CSCRIPT_EVENTPSEUDOMODEL_H_
8 #define XFA_FXFA_PARSER_CSCRIPT_EVENTPSEUDOMODEL_H_ 8 #define XFA_FXFA_PARSER_CSCRIPT_EVENTPSEUDOMODEL_H_
9 9
10 #include "fxjs/cfxjse_arguments.h" 10 #include "fxjs/cfxjse_arguments.h"
(...skipping 17 matching lines...) Expand all
28 SoapFaultString, 28 SoapFaultString,
29 Target, 29 Target,
30 CancelAction 30 CancelAction
31 }; 31 };
32 32
33 class CScript_EventPseudoModel : public CXFA_Object { 33 class CScript_EventPseudoModel : public CXFA_Object {
34 public: 34 public:
35 explicit CScript_EventPseudoModel(CXFA_Document* pDocument); 35 explicit CScript_EventPseudoModel(CXFA_Document* pDocument);
36 ~CScript_EventPseudoModel() override; 36 ~CScript_EventPseudoModel() override;
37 37
38 void Change(CFXJSE_Value* pValue, FX_BOOL bSetting, XFA_ATTRIBUTE eAttribute); 38 void Change(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
39 void CommitKey(CFXJSE_Value* pValue, 39 void CommitKey(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
40 FX_BOOL bSetting, 40 void FullText(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
41 XFA_ATTRIBUTE eAttribute); 41 void KeyDown(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
42 void FullText(CFXJSE_Value* pValue, 42 void Modifier(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
43 FX_BOOL bSetting,
44 XFA_ATTRIBUTE eAttribute);
45 void KeyDown(CFXJSE_Value* pValue,
46 FX_BOOL bSetting,
47 XFA_ATTRIBUTE eAttribute);
48 void Modifier(CFXJSE_Value* pValue,
49 FX_BOOL bSetting,
50 XFA_ATTRIBUTE eAttribute);
51 void NewContentType(CFXJSE_Value* pValue, 43 void NewContentType(CFXJSE_Value* pValue,
52 FX_BOOL bSetting, 44 bool bSetting,
53 XFA_ATTRIBUTE eAttribute); 45 XFA_ATTRIBUTE eAttribute);
54 void NewText(CFXJSE_Value* pValue, 46 void NewText(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
55 FX_BOOL bSetting,
56 XFA_ATTRIBUTE eAttribute);
57 void PrevContentType(CFXJSE_Value* pValue, 47 void PrevContentType(CFXJSE_Value* pValue,
58 FX_BOOL bSetting, 48 bool bSetting,
59 XFA_ATTRIBUTE eAttribute); 49 XFA_ATTRIBUTE eAttribute);
60 void PrevText(CFXJSE_Value* pValue, 50 void PrevText(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
61 FX_BOOL bSetting, 51 void Reenter(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
62 XFA_ATTRIBUTE eAttribute); 52 void SelEnd(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
63 void Reenter(CFXJSE_Value* pValue, 53 void SelStart(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
64 FX_BOOL bSetting, 54 void Shift(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
65 XFA_ATTRIBUTE eAttribute);
66 void SelEnd(CFXJSE_Value* pValue, FX_BOOL bSetting, XFA_ATTRIBUTE eAttribute);
67 void SelStart(CFXJSE_Value* pValue,
68 FX_BOOL bSetting,
69 XFA_ATTRIBUTE eAttribute);
70 void Shift(CFXJSE_Value* pValue, FX_BOOL bSetting, XFA_ATTRIBUTE eAttribute);
71 void SoapFaultCode(CFXJSE_Value* pValue, 55 void SoapFaultCode(CFXJSE_Value* pValue,
72 FX_BOOL bSetting, 56 bool bSetting,
73 XFA_ATTRIBUTE eAttribute); 57 XFA_ATTRIBUTE eAttribute);
74 void SoapFaultString(CFXJSE_Value* pValue, 58 void SoapFaultString(CFXJSE_Value* pValue,
75 FX_BOOL bSetting, 59 bool bSetting,
76 XFA_ATTRIBUTE eAttribute); 60 XFA_ATTRIBUTE eAttribute);
77 void Target(CFXJSE_Value* pValue, FX_BOOL bSetting, XFA_ATTRIBUTE eAttribute); 61 void Target(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
78 62
79 void Emit(CFXJSE_Arguments* pArguments); 63 void Emit(CFXJSE_Arguments* pArguments);
80 void Reset(CFXJSE_Arguments* pArguments); 64 void Reset(CFXJSE_Arguments* pArguments);
81 65
82 protected: 66 protected:
83 void Property(CFXJSE_Value* pValue, XFA_Event dwFlag, FX_BOOL bSetting); 67 void Property(CFXJSE_Value* pValue, XFA_Event dwFlag, bool bSetting);
84 }; 68 };
85 69
86 #endif // XFA_FXFA_PARSER_CSCRIPT_EVENTPSEUDOMODEL_H_ 70 #endif // XFA_FXFA_PARSER_CSCRIPT_EVENTPSEUDOMODEL_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/cscript_datawindow.cpp ('k') | xfa/fxfa/parser/cscript_eventpseudomodel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698