| 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_APP_H_ | 7 #ifndef FPDFSDK_SRC_JAVASCRIPT_APP_H_ |
| 8 #define FPDFSDK_SRC_JAVASCRIPT_APP_H_ | 8 #define FPDFSDK_SRC_JAVASCRIPT_APP_H_ |
| 9 | 9 |
| 10 #include <vector> |
| 11 |
| 10 #include "fpdfsdk/src/javascript/JS_Define.h" | 12 #include "fpdfsdk/src/javascript/JS_Define.h" |
| 11 | 13 |
| 12 class CJS_Runtime; | 14 class CJS_Runtime; |
| 13 | |
| 14 /* ---------------------------- TimerObj ---------------------------- */ | |
| 15 | |
| 16 class CJS_Timer; | 15 class CJS_Timer; |
| 17 | 16 |
| 18 class TimerObj : public CJS_EmbedObj { | 17 class TimerObj : public CJS_EmbedObj { |
| 19 public: | 18 public: |
| 20 TimerObj(CJS_Object* pJSObject); | 19 TimerObj(CJS_Object* pJSObject); |
| 21 ~TimerObj() override; | 20 ~TimerObj() override; |
| 22 | 21 |
| 23 public: | 22 public: |
| 24 void SetTimer(CJS_Timer* pTimer); | 23 void SetTimer(CJS_Timer* pTimer); |
| 25 CJS_Timer* GetTimer() const; | 24 CJS_Timer* GetTimer() const; |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 JS_STATIC_METHOD(openDoc, app); | 202 JS_STATIC_METHOD(openDoc, app); |
| 204 JS_STATIC_METHOD(openFDF, app); | 203 JS_STATIC_METHOD(openFDF, app); |
| 205 JS_STATIC_METHOD(popUpMenuEx, app); | 204 JS_STATIC_METHOD(popUpMenuEx, app); |
| 206 JS_STATIC_METHOD(popUpMenu, app); | 205 JS_STATIC_METHOD(popUpMenu, app); |
| 207 JS_STATIC_METHOD(response, app); | 206 JS_STATIC_METHOD(response, app); |
| 208 JS_STATIC_METHOD(setInterval, app); | 207 JS_STATIC_METHOD(setInterval, app); |
| 209 JS_STATIC_METHOD(setTimeOut, app); | 208 JS_STATIC_METHOD(setTimeOut, app); |
| 210 }; | 209 }; |
| 211 | 210 |
| 212 #endif // FPDFSDK_SRC_JAVASCRIPT_APP_H_ | 211 #endif // FPDFSDK_SRC_JAVASCRIPT_APP_H_ |
| OLD | NEW |