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 _JS_OBJECT_H_ | 7 #ifndef _JS_OBJECT_H_ |
8 #define _JS_OBJECT_H_ | 8 #define _JS_OBJECT_H_ |
9 | 9 |
10 #include "../fsdk_define.h" // For FX_UINT | 10 #include "../fsdk_define.h" // For FX_UINT |
11 #include "../fsdk_mgr.h" // For CPDFDoc_Environment | 11 #include "../fsdk_mgr.h" // For CPDFDoc_Environment |
12 #include "../fx_systemhandler.h" // For IFX_SystemHandler | 12 #include "../fx_systemhandler.h" // For IFX_SystemHandler |
| 13 #include "../jsapi/fxjs_v8.h" |
13 | 14 |
14 class CPDFSDK_PageView; | 15 class CPDFSDK_PageView; |
15 class CJS_Object; | 16 class CJS_Object; |
16 class CJS_Timer; | 17 class CJS_Timer; |
17 class CJS_Context; | 18 class CJS_Context; |
18 | 19 |
19 class CJS_EmbedObj : public CFX_Object | 20 class CJS_EmbedObj : public CFX_Object |
20 { | 21 { |
21 public: | 22 public: |
22 CJS_EmbedObj(CJS_Object* pJSObject); | 23 CJS_EmbedObj(CJS_Object* pJSObject); |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 FX_DWORD m_dwStartTime; | 289 FX_DWORD m_dwStartTime; |
289 FX_DWORD m_dwTimeOut; | 290 FX_DWORD m_dwTimeOut; |
290 FX_DWORD m_dwElapse; | 291 FX_DWORD m_dwElapse; |
291 CJS_Runtime* m_pRuntime; | 292 CJS_Runtime* m_pRuntime; |
292 CFX_WideString m_swJScript; | 293 CFX_WideString m_swJScript; |
293 int m_nType;
//0:Interval; 1:TimeOut | 294 int m_nType;
//0:Interval; 1:TimeOut |
294 | 295 |
295 CPDFDoc_Environment* m_pApp; | 296 CPDFDoc_Environment* m_pApp; |
296 }; | 297 }; |
297 #endif //_JS_OBJECT_H_ | 298 #endif //_JS_OBJECT_H_ |
OLD | NEW |