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