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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 FX_DWORD m_dwStar
tTime; | 284 FX_DWORD m_dwStar
tTime; |
284 FX_DWORD m_dwTime
Out; | 285 FX_DWORD m_dwTime
Out; |
285 FX_DWORD m_dwElapse; | 286 FX_DWORD m_dwElapse; |
286 CJS_Runtime* m_pRuntime; | 287 CJS_Runtime* m_pRuntime; |
287 CFX_WideString m_swJScript; | 288 CFX_WideString m_swJScript; |
288 int m_nType;
//0:Interval; 1:TimeOut | 289 int m_nType;
//0:Interval; 1:TimeOut |
289 | 290 |
290 CPDFDoc_Environment* m_pApp; | 291 CPDFDoc_Environment* m_pApp; |
291 }; | 292 }; |
292 #endif //_JS_OBJECT_H_ | 293 #endif //_JS_OBJECT_H_ |
OLD | NEW |