| 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_IJAVASCRIPT_H_ | 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_IJAVASCRIPT_H_ |
| 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_IJAVASCRIPT_H_ | 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_IJAVASCRIPT_H_ |
| 9 | 9 |
| 10 #include "../../../core/include/fxcrt/fx_string.h" | |
| 11 #include "../../../core/include/fxcrt/fx_system.h" | |
| 12 #include "../../../xfa/include/fxjse/fxjse.h" | 10 #include "../../../xfa/include/fxjse/fxjse.h" |
| 11 #include "core/include/fxcrt/fx_string.h" |
| 12 #include "core/include/fxcrt/fx_system.h" |
| 13 | 13 |
| 14 class CPDFDoc_Environment; | 14 class CPDFDoc_Environment; |
| 15 class CPDFSDK_Annot; | 15 class CPDFSDK_Annot; |
| 16 class CPDFSDK_Document; | 16 class CPDFSDK_Document; |
| 17 class CPDF_Bookmark; | 17 class CPDF_Bookmark; |
| 18 class CPDF_FormField; | 18 class CPDF_FormField; |
| 19 | 19 |
| 20 // Records the details of an event and triggers JS execution for it. | 20 // Records the details of an event and triggers JS execution for it. |
| 21 class IJS_Context { | 21 class IJS_Context { |
| 22 public: | 22 public: |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 virtual FX_BOOL GetHValueByName(const CFX_ByteStringC& utf8Name, | 152 virtual FX_BOOL GetHValueByName(const CFX_ByteStringC& utf8Name, |
| 153 FXJSE_HVALUE hValue) = 0; | 153 FXJSE_HVALUE hValue) = 0; |
| 154 virtual FX_BOOL SetHValueByName(const CFX_ByteStringC& utf8Name, | 154 virtual FX_BOOL SetHValueByName(const CFX_ByteStringC& utf8Name, |
| 155 FXJSE_HVALUE hValue) = 0; | 155 FXJSE_HVALUE hValue) = 0; |
| 156 | 156 |
| 157 protected: | 157 protected: |
| 158 IJS_Runtime() {} | 158 IJS_Runtime() {} |
| 159 }; | 159 }; |
| 160 | 160 |
| 161 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_IJAVASCRIPT_H_ | 161 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_IJAVASCRIPT_H_ |
| OLD | NEW |