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_RESOURCE_H_ | 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_RESOURCE_H_ |
8 #define FPDFSDK_INCLUDE_JAVASCRIPT_RESOURCE_H_ | 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_RESOURCE_H_ |
9 | 9 |
10 #include "../../../core/include/fxcrt/fx_basic.h" // For CFX_WideString. | 10 #include "../../../core/include/fxcrt/fx_basic.h" // For CFX_WideString. |
(...skipping 10 matching lines...) Expand all Loading... |
21 #define IDS_STRING_JSRANGE2 25620 | 21 #define IDS_STRING_JSRANGE2 25620 |
22 #define IDS_STRING_JSRANGE3 25621 | 22 #define IDS_STRING_JSRANGE3 25621 |
23 #define IDS_STRING_NOTSUPPORT 25627 | 23 #define IDS_STRING_NOTSUPPORT 25627 |
24 #define IDS_STRING_JSBUSY 25628 | 24 #define IDS_STRING_JSBUSY 25628 |
25 #define IDS_STRING_JSEVENT 25629 | 25 #define IDS_STRING_JSEVENT 25629 |
26 #define IDS_STRING_RUN 25630 | 26 #define IDS_STRING_RUN 25630 |
27 #define IDS_STRING_JSPRINT1 25632 | 27 #define IDS_STRING_JSPRINT1 25632 |
28 #define IDS_STRING_JSPRINT2 25633 | 28 #define IDS_STRING_JSPRINT2 25633 |
29 #define IDS_STRING_JSNOGLOBAL 25635 | 29 #define IDS_STRING_JSNOGLOBAL 25635 |
30 #define IDS_STRING_JSREADONLY 25636 | 30 #define IDS_STRING_JSREADONLY 25636 |
| 31 #define IDS_STRING_JSTYPEERROR 25637 |
| 32 #define IDS_STRING_JSVALUEERROR 25638 |
31 | 33 |
32 CFX_WideString JSGetStringFromID(CJS_Context* pContext, FX_UINT id); | 34 CFX_WideString JSGetStringFromID(CJS_Context* pContext, FX_UINT id); |
33 CFX_WideString JSFormatErrorString(const char* class_name, | 35 CFX_WideString JSFormatErrorString(const char* class_name, |
34 const char* property_name, | 36 const char* property_name, |
35 const CFX_WideString& details); | 37 const CFX_WideString& details); |
36 | 38 |
37 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_RESOURCE_H_ | 39 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_RESOURCE_H_ |
OLD | NEW |