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_SRC_JAVASCRIPT_JS_VALUE_H_ | 7 #ifndef FPDFSDK_SRC_JAVASCRIPT_JS_VALUE_H_ |
8 #define FPDFSDK_SRC_JAVASCRIPT_JS_VALUE_H_ | 8 #define FPDFSDK_SRC_JAVASCRIPT_JS_VALUE_H_ |
9 | 9 |
| 10 #include <string> |
| 11 #include <vector> |
| 12 |
10 #include "core/include/fxcrt/fx_basic.h" | 13 #include "core/include/fxcrt/fx_basic.h" |
11 #include "fpdfsdk/include/jsapi/fxjs_v8.h" | 14 #include "fpdfsdk/include/jsapi/fxjs_v8.h" |
12 | 15 |
13 class CJS_Array; | 16 class CJS_Array; |
14 class CJS_Date; | 17 class CJS_Date; |
15 class CJS_Document; | 18 class CJS_Document; |
16 class CJS_Object; | 19 class CJS_Object; |
17 class CJS_Runtime; | 20 class CJS_Runtime; |
18 | 21 |
19 class CJS_Value { | 22 class CJS_Value { |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 // names as wchar_t string literals corresponding to each positional argument. | 222 // names as wchar_t string literals corresponding to each positional argument. |
220 // The result will always contain |nKeywords| value, with unspecified ones | 223 // The result will always contain |nKeywords| value, with unspecified ones |
221 // being set to type VT_unknown. | 224 // being set to type VT_unknown. |
222 std::vector<CJS_Value> JS_ExpandKeywordParams( | 225 std::vector<CJS_Value> JS_ExpandKeywordParams( |
223 CJS_Runtime* pRuntime, | 226 CJS_Runtime* pRuntime, |
224 const std::vector<CJS_Value>& originals, | 227 const std::vector<CJS_Value>& originals, |
225 size_t nKeywords, | 228 size_t nKeywords, |
226 ...); | 229 ...); |
227 | 230 |
228 #endif // FPDFSDK_SRC_JAVASCRIPT_JS_VALUE_H_ | 231 #endif // FPDFSDK_SRC_JAVASCRIPT_JS_VALUE_H_ |
OLD | NEW |