| 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 "fxjs/include/cfxjse_arguments.h" |
| 11 #include "xfa/fxfa/parser/xfa_object.h" | 11 #include "xfa/fxfa/parser/xfa_object.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, |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 void Target(CFXJSE_Value* pValue, FX_BOOL bSetting, XFA_ATTRIBUTE eAttribute); | 77 void Target(CFXJSE_Value* pValue, FX_BOOL bSetting, XFA_ATTRIBUTE eAttribute); |
| 78 | 78 |
| 79 void Emit(CFXJSE_Arguments* pArguments); | 79 void Emit(CFXJSE_Arguments* pArguments); |
| 80 void Reset(CFXJSE_Arguments* pArguments); | 80 void Reset(CFXJSE_Arguments* pArguments); |
| 81 | 81 |
| 82 protected: | 82 protected: |
| 83 void Property(CFXJSE_Value* pValue, XFA_Event dwFlag, FX_BOOL bSetting); | 83 void Property(CFXJSE_Value* pValue, XFA_Event dwFlag, FX_BOOL bSetting); |
| 84 }; | 84 }; |
| 85 | 85 |
| 86 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ | 86 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ |
| OLD | NEW |