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