| 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_SRC_JAVASCRIPT_EVENT_H_ | 7 #ifndef FPDFSDK_JAVASCRIPT_EVENT_H_ |
| 8 #define FPDFSDK_SRC_JAVASCRIPT_EVENT_H_ | 8 #define FPDFSDK_JAVASCRIPT_EVENT_H_ |
| 9 | 9 |
| 10 #include "fpdfsdk/src/javascript/JS_Define.h" | 10 #include "fpdfsdk/javascript/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(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); | 18 FX_BOOL change(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); |
| 19 FX_BOOL changeEx(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); | 19 FX_BOOL changeEx(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); |
| 20 FX_BOOL commitKey(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); | 20 FX_BOOL commitKey(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 JS_STATIC_PROP(selStart, event); | 66 JS_STATIC_PROP(selStart, event); |
| 67 JS_STATIC_PROP(shift, event); | 67 JS_STATIC_PROP(shift, event); |
| 68 JS_STATIC_PROP(source, event); | 68 JS_STATIC_PROP(source, event); |
| 69 JS_STATIC_PROP(target, event); | 69 JS_STATIC_PROP(target, event); |
| 70 JS_STATIC_PROP(targetName, event); | 70 JS_STATIC_PROP(targetName, event); |
| 71 JS_STATIC_PROP(type, event); | 71 JS_STATIC_PROP(type, event); |
| 72 JS_STATIC_PROP(value, event); | 72 JS_STATIC_PROP(value, event); |
| 73 JS_STATIC_PROP(willCommit, event); | 73 JS_STATIC_PROP(willCommit, event); |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 #endif // FPDFSDK_SRC_JAVASCRIPT_EVENT_H_ | 76 #endif // FPDFSDK_JAVASCRIPT_EVENT_H_ |
| OLD | NEW |