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/jsapi/include/fxjs_v8.h" | 13 #include "fxjs/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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 // names as wchar_t string literals corresponding to each positional argument. | 223 // names as wchar_t string literals corresponding to each positional argument. |
224 // The result will always contain |nKeywords| value, with unspecified ones | 224 // The result will always contain |nKeywords| value, with unspecified ones |
225 // being set to type VT_unknown. | 225 // being set to type VT_unknown. |
226 std::vector<CJS_Value> JS_ExpandKeywordParams( | 226 std::vector<CJS_Value> JS_ExpandKeywordParams( |
227 CJS_Runtime* pRuntime, | 227 CJS_Runtime* pRuntime, |
228 const std::vector<CJS_Value>& originals, | 228 const std::vector<CJS_Value>& originals, |
229 size_t nKeywords, | 229 size_t nKeywords, |
230 ...); | 230 ...); |
231 | 231 |
232 #endif // FPDFSDK_JAVASCRIPT_JS_VALUE_H_ | 232 #endif // FPDFSDK_JAVASCRIPT_JS_VALUE_H_ |
OLD | NEW |