Chromium Code Reviews| 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 "../../include/javascript/JavaScript.h" | |
| 8 #include "../../include/javascript/IJavaScript.h" | 7 #include "../../include/javascript/IJavaScript.h" |
| 9 #include "../../include/javascript/JS_Define.h" | 8 #include "JS_Define.h" |
| 10 #include "../../include/javascript/JS_Object.h" | 9 #include "JS_Object.h" |
| 11 #include "../../include/javascript/JS_Value.h" | 10 #include "JS_Value.h" |
| 12 #include "../../include/javascript/report.h" | 11 #include "report.h" |
|
Lei Zhang
2015/10/05 23:39:25
Put this first.
Tom Sepez
2015/10/06 00:10:55
Done.
| |
| 13 | 12 |
| 14 /* ---------------------- report ---------------------- */ | 13 /* ---------------------- report ---------------------- */ |
| 15 | 14 |
| 16 BEGIN_JS_STATIC_CONST(CJS_Report) | 15 BEGIN_JS_STATIC_CONST(CJS_Report) |
| 17 END_JS_STATIC_CONST() | 16 END_JS_STATIC_CONST() |
| 18 | 17 |
| 19 BEGIN_JS_STATIC_PROP(CJS_Report) | 18 BEGIN_JS_STATIC_PROP(CJS_Report) |
| 20 END_JS_STATIC_PROP() | 19 END_JS_STATIC_PROP() |
| 21 | 20 |
| 22 BEGIN_JS_STATIC_METHOD(CJS_Report) | 21 BEGIN_JS_STATIC_METHOD(CJS_Report) |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 38 return TRUE; | 37 return TRUE; |
| 39 } | 38 } |
| 40 | 39 |
| 41 FX_BOOL Report::save(IFXJS_Context* cc, | 40 FX_BOOL Report::save(IFXJS_Context* cc, |
| 42 const CJS_Parameters& params, | 41 const CJS_Parameters& params, |
| 43 CJS_Value& vRet, | 42 CJS_Value& vRet, |
| 44 CFX_WideString& sError) { | 43 CFX_WideString& sError) { |
| 45 // Unsafe, not supported. | 44 // Unsafe, not supported. |
| 46 return TRUE; | 45 return TRUE; |
| 47 } | 46 } |
| OLD | NEW |