OLD | NEW |
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_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ |
8 #define XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ | 8 #define XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ |
9 | 9 |
| 10 #include "fxjse/include/cfxjse_arguments.h" |
10 #include "xfa/fxfa/parser/xfa_object.h" | 11 #include "xfa/fxfa/parser/xfa_object.h" |
11 #include "xfa/fxjse/cfxjse_arguments.h" | |
12 | 12 |
13 enum class XFA_Event { | 13 enum class XFA_Event { |
14 Change = 0, | 14 Change = 0, |
15 CommitKey, | 15 CommitKey, |
16 FullText, | 16 FullText, |
17 Keydown, | 17 Keydown, |
18 Modifier, | 18 Modifier, |
19 NewContentType, | 19 NewContentType, |
20 NewText, | 20 NewText, |
21 PreviousContentType, | 21 PreviousContentType, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 void Script_EventPseudoModel_Emit(CFXJSE_Arguments* pArguments); | 87 void Script_EventPseudoModel_Emit(CFXJSE_Arguments* pArguments); |
88 void Script_EventPseudoModel_Reset(CFXJSE_Arguments* pArguments); | 88 void Script_EventPseudoModel_Reset(CFXJSE_Arguments* pArguments); |
89 | 89 |
90 protected: | 90 protected: |
91 void Script_EventPseudoModel_Property(CFXJSE_Value* pValue, | 91 void Script_EventPseudoModel_Property(CFXJSE_Value* pValue, |
92 XFA_Event dwFlag, | 92 XFA_Event dwFlag, |
93 FX_BOOL bSetting); | 93 FX_BOOL bSetting); |
94 }; | 94 }; |
95 | 95 |
96 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ | 96 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ |
OLD | NEW |