Chromium Code Reviews| 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_INCLUDE_JAVASCRIPT_JS_OBJECT_H_ | 7 #ifndef FPDFSDK_SRC_JAVASCRIPT_JS_OBJECT_H_ |
| 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_JS_OBJECT_H_ | 8 #define FPDFSDK_SRC_JAVASCRIPT_JS_OBJECT_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 | 11 |
| 12 #include "../../../third_party/base/nonstd_unique_ptr.h" | 12 #include "../../../third_party/base/nonstd_unique_ptr.h" |
| 13 | 13 #include "../../include/fsdk_define.h" // For FX_UINT |
| 14 #include "../fsdk_define.h" // For FX_UINT | 14 #include "../../include/fsdk_mgr.h" // For CPDFDoc_Environment |
|
Lei Zhang
2015/10/05 23:39:25
Just forward declare here.
Tom Sepez
2015/10/06 00:10:55
Right, will need to move actual include to various
| |
| 15 #include "../fsdk_mgr.h" // For CPDFDoc_Environment | 15 #include "../../include/fx_systemhandler.h" // For IFX_SystemHandler |
|
Lei Zhang
2015/10/05 23:39:25
No more IFX_SystemHandler here.
Tom Sepez
2015/10/06 00:10:55
Done.
| |
| 16 #include "../fx_systemhandler.h" // For IFX_SystemHandler | 16 #include "../../include/jsapi/fxjs_v8.h" |
| 17 #include "../jsapi/fxjs_v8.h" | |
| 18 #include "JS_Runtime.h" | 17 #include "JS_Runtime.h" |
| 19 | 18 |
| 20 class CJS_Context; | 19 class CJS_Context; |
| 21 class CJS_Object; | 20 class CJS_Object; |
| 22 class CJS_Timer; | 21 class CJS_Timer; |
| 23 | 22 |
| 24 class CJS_EmbedObj { | 23 class CJS_EmbedObj { |
| 25 public: | 24 public: |
| 26 explicit CJS_EmbedObj(CJS_Object* pJSObject); | 25 explicit CJS_EmbedObj(CJS_Object* pJSObject); |
| 27 virtual ~CJS_EmbedObj(); | 26 virtual ~CJS_EmbedObj(); |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 109 bool m_bValid; | 108 bool m_bValid; |
| 110 | 109 |
| 111 // data | 110 // data |
| 112 const int m_nType; // 0:Interval; 1:TimeOut | 111 const int m_nType; // 0:Interval; 1:TimeOut |
| 113 const FX_DWORD m_dwTimeOut; | 112 const FX_DWORD m_dwTimeOut; |
| 114 const CFX_WideString m_swJScript; | 113 const CFX_WideString m_swJScript; |
| 115 CJS_Runtime* const m_pRuntime; | 114 CJS_Runtime* const m_pRuntime; |
| 116 CPDFDoc_Environment* const m_pApp; | 115 CPDFDoc_Environment* const m_pApp; |
| 117 }; | 116 }; |
| 118 | 117 |
| 119 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_JS_OBJECT_H_ | 118 #endif // FPDFSDK_SRC_JAVASCRIPT_JS_OBJECT_H_ |
| OLD | NEW |