| 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/fx_basic.h" | 12 #include "core/fxcrt/fx_basic.h" |
| 13 #include "fxjs/include/fxjs_v8.h" | 13 #include "fxjs/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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 // names as wchar_t string literals corresponding to each positional argument. | 203 // names as wchar_t string literals corresponding to each positional argument. |
| 204 // The result will always contain |nKeywords| value, with unspecified ones | 204 // The result will always contain |nKeywords| value, with unspecified ones |
| 205 // being set to type VT_unknown. | 205 // being set to type VT_unknown. |
| 206 std::vector<CJS_Value> JS_ExpandKeywordParams( | 206 std::vector<CJS_Value> JS_ExpandKeywordParams( |
| 207 CJS_Runtime* pRuntime, | 207 CJS_Runtime* pRuntime, |
| 208 const std::vector<CJS_Value>& originals, | 208 const std::vector<CJS_Value>& originals, |
| 209 size_t nKeywords, | 209 size_t nKeywords, |
| 210 ...); | 210 ...); |
| 211 | 211 |
| 212 #endif // FPDFSDK_JAVASCRIPT_JS_VALUE_H_ | 212 #endif // FPDFSDK_JAVASCRIPT_JS_VALUE_H_ |
| OLD | NEW |