| 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 #include "fpdfsdk/src/javascript/report.h" | 7 #include "fpdfsdk/javascript/report.h" |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "fpdfsdk/include/javascript/IJavaScript.h" | 11 #include "fpdfsdk/include/javascript/IJavaScript.h" |
| 12 #include "fpdfsdk/src/javascript/JS_Define.h" | 12 #include "fpdfsdk/javascript/JS_Define.h" |
| 13 #include "fpdfsdk/src/javascript/JS_Object.h" | 13 #include "fpdfsdk/javascript/JS_Object.h" |
| 14 #include "fpdfsdk/src/javascript/JS_Value.h" | 14 #include "fpdfsdk/javascript/JS_Value.h" |
| 15 | 15 |
| 16 /* ---------------------- report ---------------------- */ | 16 /* ---------------------- report ---------------------- */ |
| 17 | 17 |
| 18 BEGIN_JS_STATIC_CONST(CJS_Report) | 18 BEGIN_JS_STATIC_CONST(CJS_Report) |
| 19 END_JS_STATIC_CONST() | 19 END_JS_STATIC_CONST() |
| 20 | 20 |
| 21 BEGIN_JS_STATIC_PROP(CJS_Report) | 21 BEGIN_JS_STATIC_PROP(CJS_Report) |
| 22 END_JS_STATIC_PROP() | 22 END_JS_STATIC_PROP() |
| 23 | 23 |
| 24 BEGIN_JS_STATIC_METHOD(CJS_Report) | 24 BEGIN_JS_STATIC_METHOD(CJS_Report) |
| (...skipping 15 matching lines...) Expand all Loading... |
| 40 return TRUE; | 40 return TRUE; |
| 41 } | 41 } |
| 42 | 42 |
| 43 FX_BOOL Report::save(IJS_Context* cc, | 43 FX_BOOL Report::save(IJS_Context* cc, |
| 44 const std::vector<CJS_Value>& params, | 44 const std::vector<CJS_Value>& params, |
| 45 CJS_Value& vRet, | 45 CJS_Value& vRet, |
| 46 CFX_WideString& sError) { | 46 CFX_WideString& sError) { |
| 47 // Unsafe, not supported. | 47 // Unsafe, not supported. |
| 48 return TRUE; | 48 return TRUE; |
| 49 } | 49 } |
| OLD | NEW |