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/console.h" | 7 #include "fpdfsdk/src/javascript/console.h" |
8 | 8 |
| 9 #include <vector> |
| 10 |
9 #include "fpdfsdk/include/javascript/IJavaScript.h" | 11 #include "fpdfsdk/include/javascript/IJavaScript.h" |
10 #include "fpdfsdk/src/javascript/JS_Context.h" | 12 #include "fpdfsdk/src/javascript/JS_Context.h" |
11 #include "fpdfsdk/src/javascript/JS_Define.h" | 13 #include "fpdfsdk/src/javascript/JS_Define.h" |
12 #include "fpdfsdk/src/javascript/JS_EventHandler.h" | 14 #include "fpdfsdk/src/javascript/JS_EventHandler.h" |
13 #include "fpdfsdk/src/javascript/JS_Object.h" | 15 #include "fpdfsdk/src/javascript/JS_Object.h" |
14 #include "fpdfsdk/src/javascript/JS_Value.h" | 16 #include "fpdfsdk/src/javascript/JS_Value.h" |
15 | 17 |
16 /* ------------------------ console ------------------------ */ | 18 /* ------------------------ console ------------------------ */ |
17 | 19 |
18 BEGIN_JS_STATIC_CONST(CJS_Console) | 20 BEGIN_JS_STATIC_CONST(CJS_Console) |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 } | 59 } |
58 return TRUE; | 60 return TRUE; |
59 } | 61 } |
60 | 62 |
61 FX_BOOL console::show(IJS_Context* cc, | 63 FX_BOOL console::show(IJS_Context* cc, |
62 const std::vector<CJS_Value>& params, | 64 const std::vector<CJS_Value>& params, |
63 CJS_Value& vRet, | 65 CJS_Value& vRet, |
64 CFX_WideString& sError) { | 66 CFX_WideString& sError) { |
65 return TRUE; | 67 return TRUE; |
66 } | 68 } |
OLD | NEW |