| 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 class CJS_Object; | 10 class CJS_Object; |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 CTimerMapArray m_Array; | 157 CTimerMapArray m_Array; |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 static JS_TIMER_MAPARRAY m_sTimeMap; | 160 static JS_TIMER_MAPARRAY m_sTimeMap; |
| 161 | 161 |
| 162 class CJS_Runtime; | 162 class CJS_Runtime; |
| 163 | 163 |
| 164 class CJS_Timer | 164 class CJS_Timer |
| 165 { | 165 { |
| 166 public: | 166 public: |
| 167 » CJS_Timer(CJS_EmbedObj * pObj,CPDFDoc_Environment* pApp): m_pEmbedObj(pO
bj), | 167 » CJS_Timer(CJS_EmbedObj * pObj,CPDFDoc_Environment* pApp): |
| 168 m_nTimerID(0), | 168 m_nTimerID(0), |
| 169 m_pEmbedObj(pObj), |
| 169 m_bProcessing(FALSE), | 170 m_bProcessing(FALSE), |
| 170 m_dwStartTime(0), | 171 m_dwStartTime(0), |
| 171 m_dwTimeOut(0), | 172 m_dwTimeOut(0), |
| 172 m_dwElapse(0), | 173 m_dwElapse(0), |
| 173 m_pRuntime(NULL), | 174 m_pRuntime(NULL), |
| 174 m_nType(0), | 175 m_nType(0), |
| 175 m_pApp(pApp) | 176 m_pApp(pApp) |
| 176 { | 177 { |
| 177 } | 178 } |
| 178 | 179 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 FX_DWORD m_dwStar
tTime; | 280 FX_DWORD m_dwStar
tTime; |
| 280 FX_DWORD m_dwTime
Out; | 281 FX_DWORD m_dwTime
Out; |
| 281 FX_DWORD m_dwElapse; | 282 FX_DWORD m_dwElapse; |
| 282 CJS_Runtime* m_pRuntime; | 283 CJS_Runtime* m_pRuntime; |
| 283 CFX_WideString m_swJScript; | 284 CFX_WideString m_swJScript; |
| 284 int m_nType;
//0:Interval; 1:TimeOut | 285 int m_nType;
//0:Interval; 1:TimeOut |
| 285 | 286 |
| 286 CPDFDoc_Environment* m_pApp; | 287 CPDFDoc_Environment* m_pApp; |
| 287 }; | 288 }; |
| 288 #endif //_JS_OBJECT_H_ | 289 #endif //_JS_OBJECT_H_ |
| OLD | NEW |