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