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 _EVENT_H_ | 7 #ifndef _EVENT_H_ |
8 #define _EVENT_H_ | 8 #define _EVENT_H_ |
9 | 9 |
| 10 #include "JS_Define.h" |
| 11 |
10 class event : public CJS_EmbedObj | 12 class event : public CJS_EmbedObj |
11 { | 13 { |
12 public: | 14 public: |
13 event(CJS_Object * pJSObject); | 15 event(CJS_Object * pJSObject); |
14 virtual ~event(void); | 16 virtual ~event(void); |
15 | 17 |
16 public: | 18 public: |
17 FX_BOOL change(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sEr
ror); | 19 FX_BOOL change(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sEr
ror); |
18 FX_BOOL changeEx(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& s
Error); | 20 FX_BOOL changeEx(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& s
Error); |
19 FX_BOOL commitKey(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString&
sError); | 21 FX_BOOL commitKey(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString&
sError); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 JS_STATIC_PROP(shift, event); | 63 JS_STATIC_PROP(shift, event); |
62 JS_STATIC_PROP(source, event); | 64 JS_STATIC_PROP(source, event); |
63 JS_STATIC_PROP(target, event); | 65 JS_STATIC_PROP(target, event); |
64 JS_STATIC_PROP(targetName, event); | 66 JS_STATIC_PROP(targetName, event); |
65 JS_STATIC_PROP(type, event); | 67 JS_STATIC_PROP(type, event); |
66 JS_STATIC_PROP(value, event); | 68 JS_STATIC_PROP(value, event); |
67 JS_STATIC_PROP(willCommit, event); | 69 JS_STATIC_PROP(willCommit, event); |
68 }; | 70 }; |
69 | 71 |
70 #endif //_EVENT_H_ | 72 #endif //_EVENT_H_ |
OLD | NEW |