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/app.h" | 7 #include "fpdfsdk/javascript/app.h" |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "fpdfsdk/include/cpdfsdk_document.h" | 12 #include "fpdfsdk/cpdfsdk_document.h" |
13 #include "fpdfsdk/include/cpdfsdk_environment.h" | 13 #include "fpdfsdk/cpdfsdk_environment.h" |
14 #include "fpdfsdk/include/cpdfsdk_interform.h" | 14 #include "fpdfsdk/cpdfsdk_interform.h" |
15 #include "fpdfsdk/javascript/Document.h" | 15 #include "fpdfsdk/javascript/Document.h" |
16 #include "fpdfsdk/javascript/JS_Define.h" | 16 #include "fpdfsdk/javascript/JS_Define.h" |
17 #include "fpdfsdk/javascript/JS_EventHandler.h" | 17 #include "fpdfsdk/javascript/JS_EventHandler.h" |
18 #include "fpdfsdk/javascript/JS_Object.h" | 18 #include "fpdfsdk/javascript/JS_Object.h" |
19 #include "fpdfsdk/javascript/JS_Value.h" | 19 #include "fpdfsdk/javascript/JS_Value.h" |
20 #include "fpdfsdk/javascript/cjs_context.h" | 20 #include "fpdfsdk/javascript/cjs_context.h" |
21 #include "fpdfsdk/javascript/cjs_runtime.h" | 21 #include "fpdfsdk/javascript/cjs_runtime.h" |
22 #include "fpdfsdk/javascript/resource.h" | 22 #include "fpdfsdk/javascript/resource.h" |
23 #include "third_party/base/stl_util.h" | 23 #include "third_party/base/stl_util.h" |
24 | 24 |
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
812 FX_BOOL app::media(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) { | 812 FX_BOOL app::media(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) { |
813 return FALSE; | 813 return FALSE; |
814 } | 814 } |
815 | 815 |
816 FX_BOOL app::execDialog(IJS_Context* cc, | 816 FX_BOOL app::execDialog(IJS_Context* cc, |
817 const std::vector<CJS_Value>& params, | 817 const std::vector<CJS_Value>& params, |
818 CJS_Value& vRet, | 818 CJS_Value& vRet, |
819 CFX_WideString& sError) { | 819 CFX_WideString& sError) { |
820 return TRUE; | 820 return TRUE; |
821 } | 821 } |
OLD | NEW |