summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/cjs_event_context_stub.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/cjs_event_context_stub.cpp')
-rw-r--r--fpdfsdk/javascript/cjs_event_context_stub.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/fpdfsdk/javascript/cjs_event_context_stub.cpp b/fpdfsdk/javascript/cjs_event_context_stub.cpp
new file mode 100644
index 0000000000..ac8022b8ed
--- /dev/null
+++ b/fpdfsdk/javascript/cjs_event_context_stub.cpp
@@ -0,0 +1,12 @@
+// Copyright 2017 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "fpdfsdk/javascript/cjs_event_context_stub.h"
+
+bool CJS_EventContextStub::RunScript(const WideString& script,
+ WideString* info) {
+ return false;
+}