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 FPDFSDK_INCLUDE_JAVASCRIPT_EVENT_H_ | 7 #ifndef FPDFSDK_SRC_JAVASCRIPT_EVENT_H_ |
8 #define FPDFSDK_INCLUDE_JAVASCRIPT_EVENT_H_ | 8 #define FPDFSDK_SRC_JAVASCRIPT_EVENT_H_ |
9 | 9 |
10 #include "JS_Define.h" | 10 #include "JS_Define.h" |
11 | 11 |
12 class event : public CJS_EmbedObj { | 12 class event : public CJS_EmbedObj { |
13 public: | 13 public: |
14 event(CJS_Object* pJSObject); | 14 event(CJS_Object* pJSObject); |
15 ~event() override; | 15 ~event() override; |
16 | 16 |
17 public: | 17 public: |
18 FX_BOOL change(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); | 18 FX_BOOL change(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 JS_STATIC_PROP(selStart, event); | 79 JS_STATIC_PROP(selStart, event); |
80 JS_STATIC_PROP(shift, event); | 80 JS_STATIC_PROP(shift, event); |
81 JS_STATIC_PROP(source, event); | 81 JS_STATIC_PROP(source, event); |
82 JS_STATIC_PROP(target, event); | 82 JS_STATIC_PROP(target, event); |
83 JS_STATIC_PROP(targetName, event); | 83 JS_STATIC_PROP(targetName, event); |
84 JS_STATIC_PROP(type, event); | 84 JS_STATIC_PROP(type, event); |
85 JS_STATIC_PROP(value, event); | 85 JS_STATIC_PROP(value, event); |
86 JS_STATIC_PROP(willCommit, event); | 86 JS_STATIC_PROP(willCommit, event); |
87 }; | 87 }; |
88 | 88 |
89 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_EVENT_H_ | 89 #endif // FPDFSDK_SRC_JAVASCRIPT_EVENT_H_ |
OLD | NEW |