| 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 "xfa/fxfa/parser/xfa_object.h" | 10 #include "xfa/fxfa/parser/xfa_object.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #define XFA_EVENT_SOAPFAULTCODE 13 | 26 #define XFA_EVENT_SOAPFAULTCODE 13 |
| 27 #define XFA_EVENT_SOAPFAULTSTRING 14 | 27 #define XFA_EVENT_SOAPFAULTSTRING 14 |
| 28 #define XFA_EVENT_TARGET 15 | 28 #define XFA_EVENT_TARGET 15 |
| 29 #define XFA_EVENT_CANCELACTION 16 | 29 #define XFA_EVENT_CANCELACTION 16 |
| 30 | 30 |
| 31 class CScript_EventPseudoModel : public CXFA_OrdinaryObject { | 31 class CScript_EventPseudoModel : public CXFA_OrdinaryObject { |
| 32 public: | 32 public: |
| 33 explicit CScript_EventPseudoModel(CXFA_Document* pDocument); | 33 explicit CScript_EventPseudoModel(CXFA_Document* pDocument); |
| 34 virtual ~CScript_EventPseudoModel(); | 34 virtual ~CScript_EventPseudoModel(); |
| 35 | 35 |
| 36 void Script_EventPseudoModel_CancelAction(FXJSE_HVALUE hValue, | |
| 37 FX_BOOL bSetting, | |
| 38 XFA_ATTRIBUTE eAttribute); | |
| 39 void Script_EventPseudoModel_Change(FXJSE_HVALUE hValue, | 36 void Script_EventPseudoModel_Change(FXJSE_HVALUE hValue, |
| 40 FX_BOOL bSetting, | 37 FX_BOOL bSetting, |
| 41 XFA_ATTRIBUTE eAttribute); | 38 XFA_ATTRIBUTE eAttribute); |
| 42 void Script_EventPseudoModel_CommitKey(FXJSE_HVALUE hValue, | 39 void Script_EventPseudoModel_CommitKey(FXJSE_HVALUE hValue, |
| 43 FX_BOOL bSetting, | 40 FX_BOOL bSetting, |
| 44 XFA_ATTRIBUTE eAttribute); | 41 XFA_ATTRIBUTE eAttribute); |
| 45 void Script_EventPseudoModel_FullText(FXJSE_HVALUE hValue, | 42 void Script_EventPseudoModel_FullText(FXJSE_HVALUE hValue, |
| 46 FX_BOOL bSetting, | 43 FX_BOOL bSetting, |
| 47 XFA_ATTRIBUTE eAttribute); | 44 XFA_ATTRIBUTE eAttribute); |
| 48 void Script_EventPseudoModel_KeyDown(FXJSE_HVALUE hValue, | 45 void Script_EventPseudoModel_KeyDown(FXJSE_HVALUE hValue, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 void Script_EventPseudoModel_Emit(CFXJSE_Arguments* pArguments); | 85 void Script_EventPseudoModel_Emit(CFXJSE_Arguments* pArguments); |
| 89 void Script_EventPseudoModel_Reset(CFXJSE_Arguments* pArguments); | 86 void Script_EventPseudoModel_Reset(CFXJSE_Arguments* pArguments); |
| 90 | 87 |
| 91 protected: | 88 protected: |
| 92 void Script_EventPseudoModel_Property(FXJSE_HVALUE hValue, | 89 void Script_EventPseudoModel_Property(FXJSE_HVALUE hValue, |
| 93 uint32_t dwFlag, | 90 uint32_t dwFlag, |
| 94 FX_BOOL bSetting); | 91 FX_BOOL bSetting); |
| 95 }; | 92 }; |
| 96 | 93 |
| 97 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ | 94 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_EVENTPSEUDOMODEL_H_ |
| OLD | NEW |