| 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 _SCRIPT_EVENTPSEUDOMODEL_H_ | 7 #ifndef XFA_SRC_FXFA_SRC_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ |
| 8 #define _SCRIPT_EVENTPSEUDOMODEL_H_ | 8 #define XFA_SRC_FXFA_SRC_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ |
| 9 |
| 9 #define XFA_EVENT_CHANGE 0 | 10 #define XFA_EVENT_CHANGE 0 |
| 10 #define XFA_EVENT_COMMITKEY 1 | 11 #define XFA_EVENT_COMMITKEY 1 |
| 11 #define XFA_EVENT_FULLTEXT 2 | 12 #define XFA_EVENT_FULLTEXT 2 |
| 12 #define XFA_EVENT_KEYDOWN 3 | 13 #define XFA_EVENT_KEYDOWN 3 |
| 13 #define XFA_EVENT_MODIFIER 4 | 14 #define XFA_EVENT_MODIFIER 4 |
| 14 #define XFA_EVENT_NEWCONTENTTYPE 5 | 15 #define XFA_EVENT_NEWCONTENTTYPE 5 |
| 15 #define XFA_EVENT_NEWTEXT 6 | 16 #define XFA_EVENT_NEWTEXT 6 |
| 16 #define XFA_EVENT_PREVCONTENTTYPE 7 | 17 #define XFA_EVENT_PREVCONTENTTYPE 7 |
| 17 #define XFA_EVENT_PREVTEXT 8 | 18 #define XFA_EVENT_PREVTEXT 8 |
| 18 #define XFA_EVENT_REENTER 9 | 19 #define XFA_EVENT_REENTER 9 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 XFA_ATTRIBUTE eAttribute); | 82 XFA_ATTRIBUTE eAttribute); |
| 82 | 83 |
| 83 void Script_EventPseudoModel_Emit(CFXJSE_Arguments* pArguments); | 84 void Script_EventPseudoModel_Emit(CFXJSE_Arguments* pArguments); |
| 84 void Script_EventPseudoModel_Reset(CFXJSE_Arguments* pArguments); | 85 void Script_EventPseudoModel_Reset(CFXJSE_Arguments* pArguments); |
| 85 | 86 |
| 86 protected: | 87 protected: |
| 87 void Script_EventPseudoModel_Property(FXJSE_HVALUE hValue, | 88 void Script_EventPseudoModel_Property(FXJSE_HVALUE hValue, |
| 88 FX_DWORD dwFlag, | 89 FX_DWORD dwFlag, |
| 89 FX_BOOL bSetting); | 90 FX_BOOL bSetting); |
| 90 }; | 91 }; |
| 91 #endif | 92 |
| 93 #endif // XFA_SRC_FXFA_SRC_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ |
| OLD | NEW |